This commit is contained in:
parent
e7371850d1
commit
a5fc856764
2 changed files with 27 additions and 0 deletions
|
@ -44,6 +44,23 @@
|
|||
{{end}}
|
||||
{{end}}
|
||||
</div>
|
||||
<h4>Saved</h4>
|
||||
<div class="counter">
|
||||
{{ $l := len .Saved }}
|
||||
{{range $i, $c := .Saved}}
|
||||
<img class="counter-image" alt="{{$c}}" src="/static/counter/{{$c}}.gif">
|
||||
{{ $n := sub $l $i }}
|
||||
{{ if eq $n 4 }}
|
||||
KB
|
||||
{{ else if eq $n 7 }}
|
||||
MB
|
||||
{{ else if eq $n 10 }}
|
||||
GB
|
||||
{{ else if eq $n 13 }}
|
||||
TB
|
||||
{{end}}
|
||||
{{end}}
|
||||
</div>
|
||||
<div class="stats">
|
||||
{{range $c := .Charts}}
|
||||
{{$c.Element}} {{$c.Script}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue