diff --git a/list.tmpl b/list.tmpl
index 90b6fe0..7e7e643 100644
--- a/list.tmpl
+++ b/list.tmpl
@@ -7,32 +7,64 @@ body {
font-family:sans-serif;
}
h3 {
+ margin: 0em;
+ margin-top: 1em;
color: brown;
}
h4 {
- margin-left: 5%;
+ margin: 0;
+ margin-top: 1em;
+ margin-left: 1%;
+}
+h5 {
+ margin: 0;
+ margin-top: 0.5em;
+ margin-left: 2%;
}
details {
- margin-left: 5%;
- margin-right: 5%;
+ margin-left: 4em;
+ margin-right: 3%;
}
pre {
max-width: 100%;
overflow: scroll;
text-overflow: wrap,ellipsis;
}
+.small {
+ font-size:8px;
+ font-weight: normal;
+}
+.category {
+ padding-left:5px;
+ width:62%;
+}
+.version {
+ padding-left:5px;
+ width:61%;
+}
+.features {
+ padding-left:5px;
+ background: powderblue;
+ width:8em;
+}
+.issues {
+ padding-left:5px;
+ background: navajowhite;
+ width:8em;
+}
{{template "severity.tmpl"}}
GNU Taler Dashboard
- Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}}, updateting every {{ .Freq }} (no auto-refresh)
+ 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 }}
{{- $sorter := OrderedBy "Severity" "Handler" "Id" -}}
+ Total: {{ len $features }} features and {{ len $issues }} issues.
{{- range $cat := $top.Categories }}
- {{ . }}
- Features
- {{- range $sorter.Sort ($features.ByCategory $cat) }}
-
-
- {{ if .IsHandled }}🥷{{else}}❓{{end}}
- {{.Id}}
- {{.Summary}}
-
- {{ .Description }}
-
- {{ end -}}
- Issues
- {{- range $sorter.Sort ($issues.ByCategory $cat) }}
-
-
- {{ if .IsHandled }}🥷{{else}}❓{{end}}
- {{.Id}}
- {{.Summary}}
-
- {{ .Description }}
-
- {{ end -}}
+ {{ $cat }}
+ {{- range $tar := $top.TargetVersions }}
+ {{- with $version := $versions.Get . }}
+ {{ $hasentries := false }}
+ {{ $hasfeatures := false }}
+ {{ $hasissues := false }}
+ {{ with $features.ByCategoryAndTarget $cat $tar }}
+ {{ $hasfeatures = true }}
+ {{ $hasentries = true }}
+ {{ end }}
+ {{ with $issues.ByCategoryAndTarget $cat $tar }}
+ {{ $hasissues = true }}
+ {{ $hasentries = true }}
+ {{ end }}
+ {{ if $hasentries }}{{ $tar }} ({{$version.Timestamp.Format "02 Jan 06"}})
{{ end }}
+ {{ if $hasfeatures }}
+ Features
+ {{- range $sorter.Sort ($features.ByCategory $cat) }}
+
+
+ {{ if .IsHandled }}🥷{{else}}❓{{end}}
+ {{.Id}}
+ {{.Summary}}
+
+ {{ .Description }}
+
+ {{ end -}}
+ {{ end }}
+ {{ if $hasissues }}
+ Issues
+ {{- range $sorter.Sort ($issues.ByCategory $cat) }}
+
+
+ {{ if .IsHandled }}🥷{{else}}❓{{end}}
+ {{.Id}}
+ {{.Summary}}
+
+ {{ .Description }}
+
+ {{ end -}}
+ {{ end -}}
+ {{end}}
+ {{end}}
{{ end -}}
taler-dashboard - version: {{.Commit}} - https://git.kesim.org/taler/taler-dashboard