{{template "admin_shell_head" .}} {{template "admin_shell_sidebar" .}} {{template "admin_shell_header" .}}
{{T "admin.themes_hint"}}
{{T "admin.themes"}} {{T "admin.frontend_theme_active"}}: {{index .Extra "frontend_theme"}} · {{index .Extra "theme_color"}} · {{index .Extra "cover_style"}}
{{range (index .Extra "themes")}} {{$sel := .SelectedColor}} {{$selCover := .SelectedCoverStyle}} {{$selCustom := isHexColor .SelectedColor}}

{{.Name}}

{{.ID}}{{if .Version}} · v{{.Version}}{{end}}{{if .Author}} · {{.Author}}{{end}}

{{if .Description}}{{.Description}}{{else}}—{{end}}

{{range .Colors}} {{end}}
{{T "admin.theme_color"}}: {{if $selCustom}}{{$sel}}{{else}}{{.SelectedColor}}{{end}}
{{range .CoverStyles}} {{end}}
{{T "admin.cover_style"}}: {{.SelectedCoverStyle}}
{{end}}
{{T "admin.preview_frontend"}} {{T "admin.themes_apply_hint"}}
{{template "admin_shell_footer" .}} {{template "admin_shell_scripts" .}}