aboutsummaryrefslogtreecommitdiff
path: root/list.tmpl
diff options
context:
space:
mode:
authorÖzgür Kesim <oec@codeblau.de>2023-12-27 03:06:11 +0100
committerÖzgür Kesim <oec@codeblau.de>2023-12-27 03:06:11 +0100
commitbd0f83f4257c5e53af32d6ffe0935785fcde3acf (patch)
tree6b968cd10d60629081041ec1895b4c5564f9390c /list.tmpl
init
Diffstat (limited to 'list.tmpl')
-rw-r--r--list.tmpl45
1 files changed, 45 insertions, 0 deletions
diff --git a/list.tmpl b/list.tmpl
new file mode 100644
index 0000000..1a529bb
--- /dev/null
+++ b/list.tmpl
@@ -0,0 +1,45 @@
+<html>
+ <head><title>GNU Taler Dashboard</title></head>
+<style>
+body {
+ margin-left:15%;
+ margin-right:15%;
+ font-family:sans-serif;
+}
+h3 {
+ margin-left: -10%;
+ color: brown;
+}
+pre {
+ max-width: 100%;
+ overflow: scroll;
+ text-overflow: wrap,ellipsis;
+}
+</style>
+ <body>
+ <h1>GNU Taler Dashboard</h1>
+ <a href="/">Table view</a>
+ <h2>List View</h2>
+ Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}}
+ {{ with .Lasterror }}, Last error: {{ . }} {{end}}
+
+
+ <p>
+ {{ $issues := .Issues }}
+ {{ range $issues.Tags }}
+ <button>{{ . }}</button>
+ {{ end }}
+ </p>
+
+ {{ range $cat := $issues.Categories }}
+ <h3>{{ . }}</h3>
+ {{ range $issues.ByCategory $cat }}
+ <details>
+ <summary><a href="https://bugs.gnunet.org/view.php?id={{.Id}}" target="_blank">{{.Id}}</a> {{.Summary}}</summary>
+ <pre>{{ .Description }}</pre>
+ </details>
+ {{ end }}
+ {{ end }}
+ <i>end of dashboard</i>
+ </body>
+</html>