b20e295375
You need the ViewIPs permission to view IPs on logs now. Added the leftOfNav and rightOfNav docks, more on this soon. Added a max length for topic titles. Added a max length for usernames. Added none as a possible language for the language view counter. We began adding the notice phrases. Fixed a misnamed phrase which was spitting out placeholder text. Localised unknown for the human language phrases. Moved routeForums to routes.ForumList. Moved routeRobotsTxt to routes.RobotsTxt. Started tracking the views for routes.RobotsTxt. Moved routeSitemapXml to routes.SitemapXml. Started tracking the views for routes.SitemapXml. Changed the fallback theme to Cosora. Fixed changing the default theme to Cosora or Tempra Conflux. Removed some redundant type definitions in template init. Return ErrNoTitle instead of ErrNoBody when trying to create a topic with no title. Moved some in-progress routes and helper functions for handling search engine crawlers to routes/api.go
37 lines
1.4 KiB
HTML
37 lines
1.4 KiB
HTML
{{template "header.html" . }}
|
|
<div class="colstack panel_stack">
|
|
<nav class="colstack_left" aria-label="The control panel menu">
|
|
<div class="colstack_item colstack_head submenu_fallback">
|
|
<div class="rowitem"><a href="/panel/logs/mod/">{{lang "panel_logs_menu_head"}}</a></div>
|
|
</div>
|
|
<div class="colstack_item rowmenu submenu_fallback">
|
|
<div class="rowitem passive"><a href="/panel/logs/mod/">{{lang "panel_logs_menu_moderation"}}</a></div>
|
|
{{if .CurrentUser.Perms.ViewAdminLogs}}<div class="rowitem passive"><a>{{lang "panel_logs_menu_administration"}}</a></div>{{end}}
|
|
</div>
|
|
{{template "panel-inner-menu.html" . }}
|
|
</nav>
|
|
<main class="colstack_right">
|
|
<div class="colstack_item colstack_head">
|
|
<div class="rowitem"><h1>{{lang "panel_logs_moderation_head"}}</h1></div>
|
|
</div>
|
|
<div id="panel_modlogs" class="colstack_item rowlist">
|
|
{{range .Logs}}
|
|
<div class="rowitem panel_compactrow">
|
|
<span style="float: left;">
|
|
<span>{{.Action}}</span>
|
|
{{if $.CurrentUser.Perms.ViewIPs}}<br /><small style="margin-left: 2px;font-size: 12px;">{{.IPAddress}}</small>{{end}}
|
|
</span>
|
|
<span class="to_right">
|
|
<span style="font-size: 14px;">{{.DoneAt}}</span>
|
|
</span>
|
|
<div style="clear: both;"></div>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
{{if gt .LastPage 1}}
|
|
{{template "paginator.html" . }}
|
|
{{end}}
|
|
</main>
|
|
</div>
|
|
{{template "footer.html" . }}
|