diff options
author | Gitea <gitea@fake.local> | 2023-12-27 16:50:34 +0000 |
---|---|---|
committer | Gitea <gitea@fake.local> | 2023-12-27 16:50:34 +0000 |
commit | cb0d3edd448d440268a848277cd3aba327d6599b (patch) | |
tree | 1083e793d04732da1c5358497d09a53823badc74 /list.tmpl | |
parent | a26424b2b203fe1804f983aa1aefc7d06648d014 (diff) |
tidy up html
Diffstat (limited to 'list.tmpl')
-rw-r--r-- | list.tmpl | 31 |
1 files changed, 15 insertions, 16 deletions
@@ -1,5 +1,5 @@ -<html> - <head><title>GNU Taler Dashboard</title></head> +<!DOCTYPE html> + <head><title>GNU Taler Dashboard</title> <style> body { margin-left:1%; @@ -21,40 +21,39 @@ pre { overflow: scroll; text-overflow: wrap,ellipsis; } -</style> +</style></head> <body> <h1>GNU Taler Dashboard</h1> <h2><a href="/">Table view</a> | List View </h2> Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}}, updateting every {{ .Freq }} (no auto-refresh) {{ with .Lasterror }}, Last error: {{ . }} {{end}} - - {{ $top := . }} - {{ $features := .Features }} - {{ $issues := .Issues }} - {{ $versions := .VersionsByDate }} + {{- $top := . }} + {{- $features := .Features }} + {{- $issues := .Issues }} + {{- $versions := .VersionsByDate }} <!-- p> - {{ range $top.Tags }} + {{- range $top.Tags }} <button>{{ . }}</button> - {{ end }} + {{ end -}} </p --> - {{ range $cat := $top.Categories }} + {{- range $cat := $top.Categories }} <h3>{{ . }}</h3> <h4>Features</h4> - {{ range $features.ByCategory $cat }} + {{- range $features.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 -}} <h4>Issues</h4> - {{ range $issues.ByCategory $cat }} + {{- 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 }} + {{ end -}} + {{ end -}} <p> <i>taler-dashboard - version: {{.Commit}} - <a href="https://git.kesim.org/taler/taler-dashboard">https://git.kesim.org/taler/taler-dashboard</a> </i> </body> |