02a0cbb6bb
Switched gopsutil with a temporary more stable fork. Ping PostgreSQL upon connecting. We need a global solution for connection drops. A connection timeout, perhaps? Added the rowmenu CSS class for styling sidebar menus. Added the real_first_child CSS class, we might be able to get around using it by redoing the <form> nesting. Added the rowlist CSS class. Added the bgavatars CSS class. Added avatars to the User Manager. Added limited responsivity to the Shadow Theme, I might have broken some things in the other themes, I'll fix that soon! A per-theme post-avatar-bg.jpg file is now used for the first topic layout rather than the global white-dot.jpg file.
60 lines
2.8 KiB
HTML
60 lines
2.8 KiB
HTML
{{template "header.html" . }}
|
|
<div class="colstack_left">
|
|
<div class="colstack_item colstack_head">
|
|
<div class="rowitem"><a href="/panel/themes/">Theme Manager</a></div>
|
|
</div>
|
|
<div class="colstack_item rowmenu">
|
|
<div class="rowitem passive"><a href="#">Widgets</a></div>
|
|
</div>
|
|
{{template "panel-inner-menu.html" . }}
|
|
</div>
|
|
|
|
<!-- Stop inlining this x.x -->
|
|
<style type="text/css">
|
|
.rowitem::after {
|
|
content: "";
|
|
display: block;
|
|
clear: both;
|
|
}
|
|
</style>
|
|
|
|
<div class="colstack_right">
|
|
<div class="colstack_item colstack_head">
|
|
<div class="rowitem"><a>Primary Themes</a></div>
|
|
</div>
|
|
<div id="panel_primary_themes" class="colstack_item panel_themes">
|
|
{{range .PrimaryThemes}}
|
|
<div class="theme_row rowitem editable_parent" style="{{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: 17px;">{{.FriendlyName}}</a><br />
|
|
<small class="panel_theme_author" style="margin-left: 2px;">Author: <a href="//{{.URL}}">{{.Creator}}</a></small>
|
|
</span>
|
|
<span class="panel_floater">
|
|
{{if .MobileFriendly}}<span class="panel_tag panel_theme_mobile" title="Mobile Friendly">📱</span>{{end}}
|
|
{{if .Tag}}<span class="panel_tag panel_theme_tag">{{.Tag}}</span>{{end}}
|
|
{{if .Active}}<span class="panel_tag panel_right_button">Default</span>{{else}}<a href="/panel/themes/default/{{.Name}}?session={{$.CurrentUser.Session}}" class="panel_tag panel_right_button">Make Default</a>{{end}}
|
|
</span>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
<div class="colstack_item colstack_head">
|
|
<div class="rowitem"><a>Variant Themes</a></div>
|
|
</div>
|
|
<div id="panel_variant_themes" class="colstack_item panel_themes">
|
|
{{range .VariantThemes}}
|
|
<div class="theme_row rowitem editable_parent" style="{{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: 17px;">{{.FriendlyName}}</a><br />
|
|
<small class="panel_theme_author" style="margin-left: 2px;">Author: <a href="//{{.URL}}">{{.Creator}}</a></small>
|
|
</span>
|
|
<span class="panel_floater">
|
|
{{if .MobileFriendly}}<span class="panel_tag panel_theme_mobile" title="Mobile Friendly">📱</span>{{end}}
|
|
{{if .Tag}}<span class="panel_tag panel_theme_tag">{{.Tag}}</span>{{end}}
|
|
{{if .Active}}<span class="panel_tag panel_right_button">Default</span>{{else}}<a href="/panel/themes/default/{{.Name}}?session={{$.CurrentUser.Session}}" class="panel_tag panel_right_button">Make Default</a>{{end}}
|
|
</span>
|
|
</div>
|
|
{{end}}
|
|
</div>
|
|
</div>
|
|
{{template "footer.html" . }}
|