ui: 30d repo-size sparkline on every dashboard host row

This commit is contained in:
2026-05-07 19:02:35 +01:00
parent 6e8a1c5b45
commit be4ac02ddd
5 changed files with 107 additions and 1 deletions
+1
View File
@@ -35,6 +35,7 @@
{{- end -}}
</div>
<div class="text-right mono {{if eq $h.Status "offline"}}text-ink-mid{{else}}text-ink{{end}}">{{bytes $h.RepoSizeBytes}}</div>
<div class="repo-sparkline-cell {{if eq $h.Status "offline"}}text-ink-mute{{else}}text-ink-mid{{end}}">{{.RepoSparklineSVG}}</div>
<div class="text-right mono {{if eq $h.Status "offline"}}text-ink-mute{{else}}text-ink-mid{{end}}">
{{- if eq $h.SnapshotCount 0 -}}
<span class="text-ink-fade"></span>