Rework chart gen. Add Health, Tanscode, Task Status Charts
All checks were successful
/ release (push) Successful in 32s

This commit is contained in:
Samuel Lorch 2024-07-13 23:18:47 +02:00
parent 091ef322d5
commit 8e15cdd6e8
3 changed files with 164 additions and 81 deletions

View file

@ -1,23 +1,8 @@
{{template "head"}}
<h2>Stats</h2>
<h2>Codec Counts</h2>
<div>
<table>
<tr>
<th>Codec</th>
<th>Count</th>
</tr>
{{range $f := .CodecCounts}}
<tr>
<td>
{{ $f.Codec }}
</td>
<td>
{{ $f.Count }}
</td>
</tr>
{{end}}
</table>
<div class="stats">
{{range $c := .Charts}}
{{$c.Element}} {{$c.Script}}
{{end}}
</div>
{{.Element}} {{.Script}}
{{template "tail"}}