aboutsummaryrefslogtreecommitdiff
path: root/list.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'list.tmpl')
-rw-r--r--list.tmpl31
1 files changed, 15 insertions, 16 deletions
diff --git a/list.tmpl b/list.tmpl
index 621d2e6..f73c441 100644
--- a/list.tmpl
+++ b/list.tmpl
@@ -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>