78a6eae0e8
Added the account activation system (just manual activations, email ones are coming later o.o). Changed the benchmark test to an interface{} struct versus a typed one. Changed the compiled template holders from a map of functions to handle variables. Added elses for loops in the template compiler. Added the list setting type. Added friendlier values to the setting page :) Added a link to the profile on the User Manager and new mini-tag mark-up to go with it.
25 lines
1.1 KiB
HTML
25 lines
1.1 KiB
HTML
{{template "header.html" . }}
|
|
<div class="colblock_left">
|
|
<div class="rowitem"><a>Control Panel</a></div>
|
|
<div class="rowitem passive"><a href="/panel/forums/">Forums</a></div>
|
|
<div class="rowitem passive"><a href="/panel/settings/">Settings</a></div>
|
|
<div class="rowitem passive"><a href="/panel/plugins/">Plugins</a></div>
|
|
<div class="rowitem passive"><a href="/panel/users/">Users</a></div>
|
|
<div class="rowitem passive"><a href="/panel/groups/">Groups</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>Coming Soon</a></div>
|
|
<div class="rowitem passive"><a href="/forum/-1">Reports</a></div>
|
|
</div>
|
|
<div class="colblock_right">
|
|
<div class="rowitem"><a>Settings</a></div>
|
|
</div>
|
|
<div class="colblock_right">
|
|
{{ range $key, $value := .Something }}
|
|
<div class="rowitem editable_parent" style="font-weight: normal;text-transform: none;">
|
|
<a href="/panel/settings/edit/{{$key}}" class="editable_block" style="font-size: 20px;position:relative;top: -2px;">{{$key}}</a>
|
|
<a style="float: right;">{{$value}}</a>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
{{template "footer.html" . }} |