gosora/templates/level_list.html
2020-06-08 17:04:47 +10:00

17 lines
478 B
HTML

{{template "header.html" . }}
<main>
<div class="rowblock rowhead">
<div class="rowitem"><h1>{{.Title}}</h1></div>
</div>
{{range .Levels}}
<div class="rowblock">
<div class="rowitem passive rowmsg level_{{.Status}}">
<div class="levelBit">{{level .Level}}</div>
<div class="progressWrap"{{if eq .Status "inprogress"}}style="width:{{.Percentage}}%;"{{end}}>
<div>Score: {{.Score}}</div>
</div>
</div>
</div>
{{end}}
</main>
{{template "footer.html" . }}