gosora/templates/panel_dashboard.html

17 lines
841 B
HTML
Raw Permalink Normal View History

<div class="colstack_item colstack_head">
<div class="rowitem"><h1>{{lang "panel_dashboard_head"}}</h1></div>
</div>{{flush}}
<div class="colstack_grid panel_dashboard grid1">
{{range .Grid1}}
2020-06-08 07:04:47 +00:00
<div id="{{.ID}}"class="grid_item {{.Class}}"title="{{.Note}}"style="{{if .TextColour}}color:{{.TextColour}};{{end}}{{if .Background}}background-color:{{.Background}};{{end}}">
{{if .Href}}<a href="{{.Href}}">{{.Body}}</a>{{else}}<span>{{.Body}}</span>{{end}}
</div>
{{end}}
</div>{{flush}}
<div class="colstack_grid panel_dashboard grid2">
{{range .Grid2}}
2020-06-08 07:04:47 +00:00
<div id="{{.ID}}"class="grid_item {{.Class}}"title="{{.Note}}"style="{{if .TextColour}}color:{{.TextColour}};{{end}}{{if .Background}}background-color:{{.Background}};{{end}}">
{{if .Href}}<a href="{{.Href}}">{{.Body}}</a>{{else}}<span>{{.Body}}</span>{{end}}
</div>
{{end}}
</div>