{{define "title"}}{{.Title}}{{end}} {{define "content"}} {{template "host_chrome" .}} {{$page := .Page}} {{$host := $page.Host}}
{{/* ---------- snapshots tab ---------- */}}

Snapshots

showing {{$page.SnapshotsShown}} of {{comma $host.SnapshotCount}}
{{if eq (len $page.Snapshots) 0}}

No snapshots yet.

Once a backup completes, the agent will refresh this list automatically.

{{else}}
Snapshot id
Time
Paths
Size
Files
{{range $i, $s := $page.Snapshots}}
{{$s.ShortID}}
{{absTime $s.Time}}
{{joinDot $s.Paths}}
{{bytes $s.SizeBytes}}
{{if eq $s.FileCount 0}}{{else}}{{comma $s.FileCount}}{{end}}
{{end}} {{end}}
{{if eq $host.SnapshotCount 0}} {{else if gt $host.SnapshotCount $page.SnapshotsShown}}
showing the {{$page.SnapshotsShown}} most-recent snapshots — full pagination lands later
{{end}}
{{/* ---------- right rail ---------- */}}
{{end}}