16bc3a82e2
Added template functions for arithmetic. Split the "TO-DO" section of README.md into it's own file. Themes can now mark themselves as permanently disabled. Improved the BBCode Bounds Checking. Fixed a bug with the BBCode parser where part of the content at the end is cut off. is_super_admin is now a hidden flag and isn't taken into account for Staff CSS. Themes can now show a custom tag in the Theme Manager.
22 lines
1.1 KiB
HTML
22 lines
1.1 KiB
HTML
{{template "header.html" . }}
|
|
{{template "panel-menu.html" . }}
|
|
<style type="text/css">.rowitem::after {content:"";display:block;clear:both;}</style>
|
|
<div class="colblock_right">
|
|
<div class="rowitem rowhead"><a>Themes</a></div>
|
|
</div>
|
|
<div class="colblock_right">
|
|
{{range .ItemList}}
|
|
<div class="rowitem editable_parent" style="font-weight: normal;text-transform: none;{{if .FullImage}}background-image: url('/static/{{.FullImage}}');background-position: center;background-size: 50%;background-repeat: no-repeat;{{end}}">
|
|
<span style="float: left;">
|
|
<a href="/panel/themes/{{.Name}}" class="editable_block" style="font-size: 20px;">{{.FriendlyName}}</a><br />
|
|
<small style="margin-left: 2px;">Author: {{.Creator}}</small>
|
|
</span>
|
|
<span style="float: right;">
|
|
{{if .MobileFriendly}}<span class="username" title="Mobile Friendly">📱</span>{{end}}
|
|
{{if .Tag}}<span class="username">{{.Tag}}</span>{{end}}
|
|
{{if .Active}}<span class="username">Default</span>{{else}}<a href="/panel/themes/default/{{.Name}}?session={{$.CurrentUser.Session}}" class="username">Make Default</a>{{end}}
|
|
</span>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
{{template "footer.html" . }} |