2017-04-06 17:37:32 +00:00
|
|
|
{{template "header.html" . }}
|
2017-12-27 23:38:37 +00:00
|
|
|
<div class="colstack panel_stack">
|
|
|
|
<nav class="colstack_left" aria-label="The control panel menu">
|
|
|
|
<div class="colstack_item colstack_head submenu_fallback">
|
2018-03-11 09:33:49 +00:00
|
|
|
<div class="rowitem"><a href="/panel/logs/mod/">{{lang "panel_logs_menu_head"}}</a></div>
|
2017-12-27 23:38:37 +00:00
|
|
|
</div>
|
|
|
|
<div class="colstack_item rowmenu submenu_fallback">
|
2018-03-11 09:33:49 +00:00
|
|
|
<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}}
|
2017-12-27 23:38:37 +00:00
|
|
|
</div>
|
2017-04-12 10:10:36 +00:00
|
|
|
{{template "panel-inner-menu.html" . }}
|
2017-12-27 23:38:37 +00:00
|
|
|
</nav>
|
|
|
|
<main class="colstack_right">
|
|
|
|
<div class="colstack_item colstack_head">
|
2018-03-11 09:33:49 +00:00
|
|
|
<div class="rowitem"><h1>{{lang "panel_logs_moderation_head"}}</h1></div>
|
2017-12-27 23:38:37 +00:00
|
|
|
</div>
|
|
|
|
<div id="panel_modlogs" class="colstack_item rowlist">
|
|
|
|
{{range .Logs}}
|
|
|
|
<div class="rowitem panel_compactrow">
|
|
|
|
<span style="float: left;">
|
|
|
|
<span>{{.Action}}</span><br />
|
|
|
|
<small style="margin-left: 2px;font-size: 12px;">{{.IPAddress}}</small>
|
|
|
|
</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}}
|
2018-03-11 09:33:49 +00:00
|
|
|
{{template "paginator.html" . }}
|
2017-04-06 17:37:32 +00:00
|
|
|
{{end}}
|
2017-12-27 23:38:37 +00:00
|
|
|
</main>
|
2017-11-23 05:37:08 +00:00
|
|
|
</div>
|
2017-05-29 14:52:37 +00:00
|
|
|
{{template "footer.html" . }}
|