ui: 30d repo-size sparkline on every dashboard host row
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user