github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/templates/panel_themes.html (about)

     1  	<div class="colstack_item colstack_head">
     2  		<div class="rowitem"><h1>{{lang "panel_themes_primary_themes"}}</h1></div>
     3  	</div>
     4  	<div id="panel_primary_themes"class="colstack_item panel_themes complex_rowlist">
     5  		{{range .PrimaryThemes}}
     6  		<div class="theme_row rowitem editable_parent"{{if .FullImage}}style="background-image:url('/s/{{.FullImage}}');background-position:center;background-size:50%;background-repeat:no-repeat;"{{end}}>
     7  			<span style="float:left;">
     8  				<a href="/panel/themes/{{.Name}}"class="editable_block"style="font-size:17px;">{{.FriendlyName}}</a><br>
     9  				<small class="panel_theme_author" style="margin-left:2px;">{{lang "panel_themes_author_prefix"}}<a href="//{{.URL}}">{{.Creator}}</a></small>
    10  			</span>
    11  			<span class="panel_floater">
    12  				{{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}}
    13  				{{if .Tag}}<span class="panel_tag panel_theme_tag">{{.Tag}}</span>{{end}}
    14  				{{if .Active}}<span class="panel_tag panel_right_button">{{lang "panel_themes_default"}}</span>{{else}}<a href="/panel/themes/default/{{.Name}}?s={{$.CurrentUser.Session}}"class="panel_tag panel_right_button">{{lang "panel_themes_make_default"}}</a>{{end}}
    15  			</span>
    16  		</div>
    17  		{{end}}
    18  	</div>
    19  	{{if .VariantThemes}}
    20  	<div class="colstack_item colstack_head">
    21  		<div class="rowitem"><h1>{{lang "panel_themes_variant_themes"}}</h1></div>
    22  	</div>
    23  	<div id="panel_variant_themes"class="colstack_item panel_themes">
    24  		{{range .VariantThemes}}
    25  		<div class="theme_row rowitem editable_parent"{{if .FullImage}}style="background-image:url('/s/{{.FullImage}}');background-position:center;background-size:50%;background-repeat:no-repeat;"{{end}}>
    26  			<span style="float:left;">
    27  				<a href="/panel/themes/{{.Name}}"class="editable_block"style="font-size:17px;">{{.FriendlyName}}</a><br>
    28  				<small class="panel_theme_author"style="margin-left:2px;">{{lang "panel_themes_author_prefix"}}<a href="//{{.URL}}">{{.Creator}}</a></small>
    29  			</span>
    30  			<span class="panel_floater">
    31  				{{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}}
    32  				{{if .Tag}}<span class="panel_tag panel_theme_tag">{{.Tag}}</span>{{end}}
    33  				{{if .Active}}<span class="panel_tag panel_right_button">{{lang "panel_themes_default"}}</span>{{else}}<a href="/panel/themes/default/{{.Name}}?s={{$.CurrentUser.Session}}"class="panel_tag panel_right_button">{{lang "panel_themes_make_default"}}</a>{{end}}
    34  			</span>
    35  		</div>
    36  		{{end}}
    37  	</div>
    38  	{{end}}