diff options
Diffstat (limited to 'list.tmpl')
-rw-r--r-- | list.tmpl | 45 |
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> |