99da1fcbaa
Added support for temporary bans. Moved the Gosora specific template logic out of main.go and into template_init.go Added an internal temporary group API. We now use h1s in the theme headers. There may be some issues with the themes other than Shadow which we may need to resolve. Added ARIA attributes in a few places for improved accessibility. Added support for inputs in links for the .edit_field API. Removed a few unneccesary prepared statements.
29 lines
1.0 KiB
HTML
29 lines
1.0 KiB
HTML
{{template "header.html" . }}
|
|
<nav class="colstack_left">
|
|
<div class="colstack_item colstack_head">
|
|
<div class="rowitem"><a href="/panel/logs/mod/">Logs</a></div>
|
|
</div>
|
|
<div class="colstack_item rowmenu">
|
|
<div class="rowitem passive"><a href="/panel/logs/mod/">Moderation Logs</a></div>
|
|
{{if .CurrentUser.Perms.ViewAdminLogs}}<div class="rowitem passive"><a>Administration Logs</a></div>{{end}}
|
|
</div>
|
|
{{template "panel-inner-menu.html" . }}
|
|
</nav>
|
|
<main class="colstack_right">
|
|
<div class="colstack_item colstack_head">
|
|
<div class="rowitem"><h1>Administration Logs</h1></div>
|
|
</div>
|
|
<div id="panel_adminlogs" class="colstack_item rowlist">
|
|
{{range .Logs}}
|
|
<div class="rowitem" style="font-weight: normal;text-transform: none;">
|
|
<a style="font-size: 17px;">{{.Action}}</a><br />
|
|
<small style="margin-left: 2px;">IP: {{.IPAddress}}</small>
|
|
<span style="float: right;">
|
|
<span style="font-size: 16px;position:relative;top: -2px;">{{.DoneAt}}</span>
|
|
</span>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</main>
|
|
{{template "footer.html" . }}
|