3e4cfa8888
Added the mini stats for the various parts of the Control Panel in the Control Panel Menu. Fixed a crash bug in the router. The basic arithmetic template functions now work for the interpreted templates. Tweaked the connection pool to hopefully ease the number of goroutines fighting over a database connection. The Group Manager is now paginated. panel.css is now pushed by HTTP/2 Push. Fixed an issue with the padding on /forum/ and /topics/ for Shadow. Fixed a bug in the login system forcefully overriding sessions on login. All admin logins are now logged. Refactored the client-side alert loading logic. Added SimpleCount to the Query Builder.
38 lines
1.5 KiB
HTML
38 lines
1.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>{{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 class="rowitem passive">
|
|
<a href="/forum/1">Reports</a> <a class="menu_stats" href="#">({{.Stats.Reports}})</a>
|
|
</div>
|
|
</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}}
|
|
<div class="rowitem passive">
|
|
<a href="/panel/logs/mod/">Logs</a>
|
|
</div>
|
|
{{if .CurrentUser.Is_Admin}}<div class="rowitem passive">
|
|
<a href="/panel/debug/">Debug</a>
|
|
</div>{{end}}
|
|
</div>
|