From 6781fbf03de68483ab7a8d57be85d2f2fc9a4df6 Mon Sep 17 00:00:00 2001 From: clsr Date: Tue, 15 Nov 2016 19:49:55 +0100 Subject: Initial commit --- templates/deletion_log.html | 32 +++++++++++++++++++++++++ templates/panel.html | 57 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 89 insertions(+) create mode 100644 templates/deletion_log.html create mode 100644 templates/panel.html (limited to 'templates') diff --git a/templates/deletion_log.html b/templates/deletion_log.html new file mode 100644 index 0000000..64fd7cb --- /dev/null +++ b/templates/deletion_log.html @@ -0,0 +1,32 @@ + + + + + + Deletion log + + + +

Deletion log

+ + + + + {{ range $k, $v := (index .Deletions 0) }} + + {{ end }} + + + {{ range .Deletions }} + + {{ range $k, $v := . }} + + {{ end }} + + {{ end }} +
{{$k}}
{{$v}}
+ + + + + diff --git a/templates/panel.html b/templates/panel.html new file mode 100644 index 0000000..be0fe14 --- /dev/null +++ b/templates/panel.html @@ -0,0 +1,57 @@ + + + + + + Mod panel + + + +

Mod panel

+ + {{ $current := .Current }} + {{ if .Logs }} + + {{ end }} + + {{ if .Entries }} + + + + + {{ range $k, $v := (index .Entries 0) }} + {{ if ne $k "id" }}{{ end }} + {{ end }} + + + + {{ range .Entries }} + + + {{ range $k, $v := . }} + {{ if ne $k "id" }}{{ end }} + {{ end }} + + + {{ end }} +
id{{$k}}Delete
{{.id}}{{$v}} +
+ + + + + +
+
+ {{ end }} + + + + + -- cgit