2019-05-03 11:07:31 +00:00
|
|
|
<div class="colstack_item colstack_head">
|
2019-12-05 23:57:44 +00:00
|
|
|
<div class="rowitem"><h1>{{lang "panel_logs_reg_head"}}</h1></div>
|
2019-05-03 11:07:31 +00:00
|
|
|
</div>
|
2019-12-05 23:57:44 +00:00
|
|
|
<div id="panel_reglogs" class="colstack_item rowlist loglist">
|
2019-05-03 11:07:31 +00:00
|
|
|
{{range .Logs}}
|
|
|
|
<div class="rowitem panel_compactrow{{if not .Success}} bg_red{{end}}">
|
2019-12-05 23:57:44 +00:00
|
|
|
<span>{{if not .Success}}{{lang "panel_logs_reg_attempt"}}{{end}}{{.Username}}{{if .Email}} ({{lang "panel_logs_reg_email"}}{{.Email}}){{end}}{{if .ParsedReason}} ({{lang "panel_logs_reg_reason"}}{{.ParsedReason}}){{end}}</span>
|
|
|
|
<div class="logdetail">
|
|
|
|
{{if $.CurrentUser.Perms.ViewIPs}}<small class="to_left" title="{{.IP}}">{{.IP}}</small>{{end}}
|
|
|
|
<span class="to_right"><small title="{{.DoneAt}}">{{.DoneAt}}</small></span>
|
|
|
|
<div style="clear:both;"></div>
|
|
|
|
</div>
|
2019-05-03 11:07:31 +00:00
|
|
|
</div>
|
2019-12-05 23:57:44 +00:00
|
|
|
{{else}}<div class="rowitem rowmsg"><a>{{lang "panel_logs_reg_no_logs"}}</a></div>{{end}}
|
2019-05-03 11:07:31 +00:00
|
|
|
</div>
|
|
|
|
{{template "paginator.html" . }}
|