taler-dashboard/list.tmpl
2023-12-27 16:50:34 +00:00

61 lines
1.5 KiB
Cheetah

<!DOCTYPE html>
<head><title>GNU Taler Dashboard</title>
<style>
body {
margin-left:1%;
margin-right:1%;
font-family:sans-serif;
}
h3 {
color: brown;
}
h4 {
margin-left: 5%;
}
details {
margin-left: 5%;
margin-right: 5%;
}
pre {
max-width: 100%;
overflow: scroll;
text-overflow: wrap,ellipsis;
}
</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 }}
<!-- p>
{{- range $top.Tags }}
<button>{{ . }}</button>
{{ end -}}
</p -->
{{- range $cat := $top.Categories }}
<h3>{{ . }}</h3>
<h4>Features</h4>
{{- 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 -}}
<h4>Issues</h4>
{{- 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 -}}
<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>
</html>