14a14b7e80
This commit might be a little broken, another is coming to fix things up! The topics list is now paginated. Refactored the error handling system. Added the Trumboyg WYSIWYG editor for Cosora. Moved Delete() out of the TopicStore and into *Topic You can now bulk delete and bulk lock topics on Cosora. h1s are now formatted properly on Firefox. Added more ARIA Labels. SuperModOnly is now a piece of middleware for the Control Panel routes. Refactored and extended the router generator. Improved the SEO for the paginators. Added bits of Microdata to improve SEO further. Wrote benchmarks for users.Get() and users.BypassGet() More errors are caught now. You can now attach pcss files to posts. Improved the error logging for JavaScript. Topic list avatars now link to the associated profiles. Added last poster avatars to the forum list.
41 lines
1.5 KiB
HTML
41 lines
1.5 KiB
HTML
{{template "header.html" . }}
|
|
<nav class="colstack_left" aria-label="The control panel menu">
|
|
<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>Moderation Logs</h1></div>
|
|
</div>
|
|
<div id="panel_modlogs" class="colstack_item rowlist">
|
|
{{range .Logs}}
|
|
<div class="rowitem panel_compactrow" style="font-weight: normal;text-transform: none;">
|
|
<span style="float: left;">
|
|
<span>{{.Action}}</span><br />
|
|
<small style="margin-left: 2px;font-size: 12px;">{{.IPAddress}}</small>
|
|
</span>
|
|
<span style="float: right;">
|
|
<span style="font-size: 14px;">{{.DoneAt}}</span>
|
|
</span>
|
|
<div style="clear: both;"></div>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
{{if gt .LastPage 1}}
|
|
<div class="pageset">
|
|
{{if gt .Page 1}}<div class="pageitem"><a href="?page={{subtract .Page 1}}">Prev</a></div>{{end}}
|
|
{{range .PageList}}
|
|
<div class="pageitem"><a href="?page={{.}}">{{.}}</a></div>
|
|
{{end}}
|
|
{{if ne .LastPage .Page}}<div class="pageitem"><a href="?page={{add .Page 1}}">Next</a></div>{{end}}
|
|
</div>
|
|
{{end}}
|
|
</main>
|
|
{{template "footer.html" . }}
|