2017-01-01 15:45:43 +00:00
|
|
|
{{template "header.html" . }}
|
2017-12-27 23:38:37 +00:00
|
|
|
<div class="colstack panel_stack">
|
2018-05-15 05:59:52 +00:00
|
|
|
{{template "panel-menu.html" . }}
|
2017-12-10 03:43:30 +00:00
|
|
|
{{/** Stop inlining this x.x **/}}
|
2017-05-29 14:52:37 +00:00
|
|
|
<style type="text/css">
|
|
|
|
.rowitem::after {
|
|
|
|
content: "";
|
|
|
|
display: block;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
|
2017-08-20 09:39:02 +00:00
|
|
|
<main class="colstack_right">
|
2017-03-18 07:23:02 +00:00
|
|
|
<div class="colstack_item colstack_head">
|
2018-03-11 09:33:49 +00:00
|
|
|
<div class="rowitem"><h1>{{lang "panel_themes_primary_themes"}}</h1></div>
|
2017-03-07 07:22:29 +00:00
|
|
|
</div>
|
2017-12-10 03:43:30 +00:00
|
|
|
<div id="panel_primary_themes" class="colstack_item panel_themes complex_rowlist">
|
2017-03-18 07:23:02 +00:00
|
|
|
{{range .PrimaryThemes}}
|
2017-12-19 03:53:13 +00:00
|
|
|
<div class="theme_row rowitem editable_parent"{{if .FullImage}} style="background-image: url('/static/{{.FullImage}}');background-position: center;background-size: 50%;background-repeat: no-repeat;"{{end}}>
|
2017-03-18 07:23:02 +00:00
|
|
|
<span style="float: left;">
|
2017-05-29 14:52:37 +00:00
|
|
|
<a href="/panel/themes/{{.Name}}" class="editable_block" style="font-size: 17px;">{{.FriendlyName}}</a><br />
|
2018-03-11 09:33:49 +00:00
|
|
|
<small class="panel_theme_author" style="margin-left: 2px;">{{lang "panel_themes_author_prefix"}}<a href="//{{.URL}}">{{.Creator}}</a></small>
|
2017-03-18 07:23:02 +00:00
|
|
|
</span>
|
2017-05-29 14:52:37 +00:00
|
|
|
<span class="panel_floater">
|
2018-03-11 09:33:49 +00:00
|
|
|
{{if .MobileFriendly}}<span class="panel_tag panel_theme_mobile" title="{{lang "panel_themes_mobile_friendly_tooltip"}}" aria-label="{{lang "panel_themes_mobile_friendly_aria"}}">📱</span>{{end}}
|
2017-05-29 14:52:37 +00:00
|
|
|
{{if .Tag}}<span class="panel_tag panel_theme_tag">{{.Tag}}</span>{{end}}
|
2018-03-11 09:33:49 +00:00
|
|
|
{{if .Active}}<span class="panel_tag panel_right_button">{{lang "panel_themes_default"}}</span>{{else}}<a href="/panel/themes/default/{{.Name}}?session={{$.CurrentUser.Session}}" class="panel_tag panel_right_button">{{lang "panel_themes_make_default"}}</a>{{end}}
|
2017-03-18 07:23:02 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
</div>
|
2017-12-10 03:43:30 +00:00
|
|
|
{{if .VariantThemes}}
|
2017-03-18 07:23:02 +00:00
|
|
|
<div class="colstack_item colstack_head">
|
2018-03-11 09:33:49 +00:00
|
|
|
<div class="rowitem"><h1>{{lang "panel_themes_variant_themes"}}</h1></div>
|
2017-03-18 07:23:02 +00:00
|
|
|
</div>
|
2017-05-29 14:52:37 +00:00
|
|
|
<div id="panel_variant_themes" class="colstack_item panel_themes">
|
2017-03-18 07:23:02 +00:00
|
|
|
{{range .VariantThemes}}
|
2017-12-19 03:53:13 +00:00
|
|
|
<div class="theme_row rowitem editable_parent"{{if .FullImage}} style="background-image: url('/static/{{.FullImage}}');background-position: center;background-size: 50%;background-repeat: no-repeat;"{{end}}>
|
2017-03-18 07:23:02 +00:00
|
|
|
<span style="float: left;">
|
2017-05-29 14:52:37 +00:00
|
|
|
<a href="/panel/themes/{{.Name}}" class="editable_block" style="font-size: 17px;">{{.FriendlyName}}</a><br />
|
2018-03-11 09:33:49 +00:00
|
|
|
<small class="panel_theme_author" style="margin-left: 2px;">{{lang "panel_themes_author_prefix"}}<a href="//{{.URL}}">{{.Creator}}</a></small>
|
2017-03-18 07:23:02 +00:00
|
|
|
</span>
|
2017-05-29 14:52:37 +00:00
|
|
|
<span class="panel_floater">
|
2018-03-11 09:33:49 +00:00
|
|
|
{{if .MobileFriendly}}<span class="panel_tag panel_theme_mobile" title="{{lang "panel_themes_mobile_friendly_tooltip"}}" aria-label="{{lang "panel_themes_mobile_friendly_aria"}}">📱</span>{{end}}
|
2017-05-29 14:52:37 +00:00
|
|
|
{{if .Tag}}<span class="panel_tag panel_theme_tag">{{.Tag}}</span>{{end}}
|
2018-03-11 09:33:49 +00:00
|
|
|
{{if .Active}}<span class="panel_tag panel_right_button">{{lang "panel_themes_default"}}</span>{{else}}<a href="/panel/themes/default/{{.Name}}?session={{$.CurrentUser.Session}}" class="panel_tag panel_right_button">{{lang "panel_themes_make_default"}}</a>{{end}}
|
2017-03-18 07:23:02 +00:00
|
|
|
</span>
|
|
|
|
</div>
|
|
|
|
{{end}}
|
2017-01-01 15:45:43 +00:00
|
|
|
</div>
|
2017-12-10 03:43:30 +00:00
|
|
|
{{end}}
|
2017-08-20 09:39:02 +00:00
|
|
|
</main>
|
2017-11-23 05:37:08 +00:00
|
|
|
|
|
|
|
</div>
|
2017-05-29 14:52:37 +00:00
|
|
|
{{template "footer.html" . }}
|