summaryrefslogtreecommitdiff
path: root/templates/backup_list.html
diff options
context:
space:
mode:
Diffstat (limited to 'templates/backup_list.html')
-rw-r--r--templates/backup_list.html27
1 files changed, 27 insertions, 0 deletions
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 }}
+ <div>{{ $hostname }}</div><br>
+ <table>
+ <tr>
+ {{ range $i, $_ := $backupList }}
+ <th>{{ $i }}</th>
+ {{ end }}
+ </tr>
+ <tr>
+ {{ range $seen := $backupList }}
+ {{ if $seen }}
+ <td class="success">x</td>
+ {{ else }}
+ <td class="error">!!</td>
+ {{ end }}
+ </td>
+ {{ end }}
+ </tr>
+ </table>
+ <br><hr><br>
+ {{ end }}
+{{ end }}