9f2efce516
The router is now benchmarked. The custom router we'll use to replace it will also be benchmarked once it's completed. Added a placeholder page for the Control Panel Dashboard. Tightened some of the control panel route permission checks. Moved the Control Panel menu into it's own template. Added permission checks to the links on the Control Panel menu.
12 lines
840 B
HTML
12 lines
840 B
HTML
<div class="colblock_left">
|
|
<div class="rowitem"><a href="/panel/">Control Panel</a></div>
|
|
<div class="rowitem passive"><a href="/panel/users/">Users</a></div>
|
|
<div class="rowitem passive"><a href="/panel/groups/">Groups</a></div>
|
|
{{if .CurrentUser.Perms.ManageForums}}<div class="rowitem passive"><a href="/panel/forums/">Forums</a></div>{{end}}
|
|
{{if .CurrentUser.Perms.EditSettings}}<div class="rowitem passive"><a href="/panel/settings/">Settings</a></div>{{end}}
|
|
{{if .CurrentUser.Perms.ManagePlugins}}<div class="rowitem passive"><a href="/panel/plugins/">Plugins</a></div>{{end}}
|
|
<div class="rowitem passive"><a>Coming Soon</a></div>
|
|
<div class="rowitem passive"><a>Coming Soon</a></div>
|
|
<div class="rowitem passive"><a>Coming Soon</a></div>
|
|
<div class="rowitem passive"><a href="/forum/-1">Reported Content</a></div>
|
|
</div> |