64 lines
2.5 KiB
HTML
64 lines
2.5 KiB
HTML
<div class="colstack_item colstack_head">
|
|
<div class="rowitem"><a href="/panel/">Control Panel</a></div>
|
|
</div>
|
|
<div class="colstack_item rowmenu">
|
|
<div class="rowitem passive">
|
|
<a href="/panel/users/">Users</a> <a class="menu_stats" href="#">({{.Stats.Users}})</a>
|
|
</div>
|
|
<div class="rowitem passive">
|
|
<a href="/panel/groups/">Groups</a> <a class="menu_stats" href="#">({{.Stats.Groups}})</a>
|
|
</div>
|
|
{{if .CurrentUser.Perms.ManageForums}}<div class="rowitem passive">
|
|
<a href="/panel/forums/">Forums</a> <a class="menu_stats" href="#">({{.Stats.Forums}})</a>
|
|
</div>{{end}}
|
|
{{if .CurrentUser.Perms.EditSettings}}<div class="rowitem passive">
|
|
<a href="/panel/settings/">Settings</a> <a class="menu_stats" href="#">({{.Stats.Settings}})</a>
|
|
</div>
|
|
<div class="rowitem passive">
|
|
<a href="/panel/settings/word-filters/">Word Filters</a> <a class="menu_stats" href="#">({{.Stats.WordFilters}})</a>
|
|
</div>{{end}}
|
|
{{if .CurrentUser.Perms.ManageThemes}}<div class="rowitem passive">
|
|
<a href="/panel/themes/">Themes</a> <a class="menu_stats" href="#">({{.Stats.Themes}})</a>
|
|
</div>{{end}}
|
|
</div>
|
|
<div class="colstack_item colstack_head">
|
|
<div class="rowitem"><a href="#">Events</a></div>
|
|
</div>
|
|
<div class="colstack_item rowmenu">
|
|
<div class="rowitem passive">
|
|
<a href="/panel/analytics/views/">Statistics</a>
|
|
</div>
|
|
{{if eq .Zone "analytics"}}
|
|
<div class="rowitem passive submenu">
|
|
<a href="/panel/analytics/posts/">Posts</a>
|
|
</div>
|
|
<div class="rowitem passive submenu">
|
|
<a href="/panel/analytics/crawlers/">Crawlers</a>
|
|
</div>
|
|
{{end}}
|
|
<div class="rowitem passive">
|
|
<a href="/forum/1">Reports</a> <a class="menu_stats" href="#">({{.Stats.Reports}})</a>
|
|
</div>
|
|
<div class="rowitem passive">
|
|
<a href="/panel/logs/mod/">Logs</a>
|
|
</div>
|
|
{{if eq .Zone "logs"}}
|
|
<div class="rowitem passive submenu"><a href="/panel/logs/mod/">Moderators</a></div>
|
|
{{if .CurrentUser.Perms.ViewAdminLogs}}<div class="rowitem passive submenu"><a>Administrators</a></div>{{end}}
|
|
{{end}}
|
|
</div>
|
|
<div class="colstack_item colstack_head">
|
|
<div class="rowitem"><a href="#">System</a></div>
|
|
</div>
|
|
<div class="colstack_item rowmenu">
|
|
{{if .CurrentUser.Perms.ManagePlugins}}<div class="rowitem passive">
|
|
<a href="/panel/plugins/">Plugins</a>
|
|
</div>{{end}}
|
|
{{if .CurrentUser.IsSuperAdmin}}<div class="rowitem passive">
|
|
<a href="/panel/backups/">Backups</a>
|
|
</div>{{end}}
|
|
{{if .CurrentUser.IsAdmin}}<div class="rowitem passive">
|
|
<a href="/panel/debug/">Debug</a>
|
|
</div>{{end}}
|
|
</div>
|