github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/templates/panel_reglogs.html (about) 1 <div class="colstack_item colstack_head"> 2 <div class="rowitem"><h1>{{lang "panel_logs_reg_head"}}</h1></div> 3 </div> 4 <div id="panel_reglogs"class="colstack_item rowlist loglist"> 5 {{range .Logs}} 6 <div class="rowitem panel_compactrow{{if not .Success}} bg_red{{end}}"> 7 <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> 8 <div class="logdetail"> 9 {{if $.CurrentUser.Perms.ViewIPs}}<small class="to_left"title="{{.IP}}">{{.IP}}</small>{{end}} 10 <span class="to_right"><small title="{{.DoneAt}}">{{.DoneAt}}</small></span> 11 <div style="clear:both;"></div> 12 </div> 13 </div> 14 {{else}}<div class="rowitem rowmsg"><a>{{lang "panel_logs_reg_no_logs"}}</a></div>{{end}} 15 </div> 16 {{template "paginator.html" . }}