show file sizes in status

This commit is contained in:
Carl Pearson
2024-10-22 06:09:02 -06:00
parent 34fa95aa05
commit f3496eefe3
2 changed files with 77 additions and 9 deletions

View File

@@ -32,6 +32,15 @@
<h2>Disk</h2>
{{.used}} MiB ({{.free}} MiB remaning)
</div>
{{ range .files }}
<div class="progress-wrapper">
<progress value="{{.value}}" max="{{.max}}">{{.value}}%</progress>
{{.name}} {{.size}} MiB
{{ if ne .original_id "" }}
<a href="/video/{{.original_id}}">{{.original_id}}</a>
{{end}}
</div>
{{ end }}
</div>
{{template "footer" .}}
</body>