From d14605d1388aaa7cc9ef1c230eae5ba14c9cef44 Mon Sep 17 00:00:00 2001 From: Elizabeth Hunt Date: Sun, 21 Apr 2024 18:46:40 -0700 Subject: initial commit --- templates/backup_list.html | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 templates/backup_list.html (limited to 'templates/backup_list.html') diff --git a/templates/backup_list.html b/templates/backup_list.html new file mode 100644 index 0000000..82256b1 --- /dev/null +++ b/templates/backup_list.html @@ -0,0 +1,27 @@ +{{ define "content" }} + {{ if (eq (len .HostStatusOverTime) 0) }} + no backups yet! + {{ end }} + + {{ range $hostname, $backupList := .HostStatusOverTime }} +
{{ $hostname }}

+ + + {{ range $i, $_ := $backupList }} + + {{ end }} + + + {{ range $seen := $backupList }} + {{ if $seen }} + + {{ else }} + + {{ end }} + + {{ end }} + +
{{ $i }}
x!!
+


+ {{ end }} +{{ end }} -- cgit v1.2.3-70-g09d2