This commit is contained in:
parent
9d2519c085
commit
7d037be106
4 changed files with 58 additions and 21 deletions
|
@ -1,5 +1,12 @@
|
|||
{{template "head"}}
|
||||
<h2>Stats</h2>
|
||||
<label for="library">Library:</label>
|
||||
<select id="library" name="library" onchange="setLibrary(this.value)" class="short-button">
|
||||
<option {{if e .SelectedLibrary "" }} selected {{end}}value="">ALL</option>
|
||||
{{range $l := .Libraries}}
|
||||
<option {{if e .SelectedLibrary $l.ID }} selected {{end}}value="{{$l.ID}}">{{$l.Name}}</option>
|
||||
{{end}}
|
||||
</select>
|
||||
<div class="stats">
|
||||
{{range $c := .Charts}}
|
||||
{{$c.Element}} {{$c.Script}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue