taler-dashboard/list.tmpl

71 lines
2.2 KiB
Cheetah
Raw Normal View History

2023-12-27 17:50:34 +01:00
<!DOCTYPE html>
<head><title>GNU Taler Dashboard</title>
2023-12-27 03:06:11 +01:00
<style>
body {
margin-left:1%;
margin-right:1%;
font-family:sans-serif;
2023-12-27 03:06:11 +01:00
}
h3 {
color: brown;
2023-12-27 03:06:11 +01:00
}
2023-12-27 13:53:36 +01:00
h4 {
margin-left: 5%;
2023-12-27 13:53:36 +01:00
}
2023-12-27 13:21:04 +01:00
details {
margin-left: 5%;
margin-right: 5%;
2023-12-27 13:21:04 +01:00
}
2023-12-27 03:06:11 +01:00
pre {
max-width: 100%;
overflow: scroll;
text-overflow: wrap,ellipsis;
2023-12-27 03:06:11 +01:00
}
{{template "severity.tmpl"}}
2023-12-27 17:50:34 +01:00
</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 }}
{{- $sorter := OrderedBy "Severity" "Handler" "Id" -}}
<!-- p>
{{- range $top.Tags }}
<button>{{ . }}</button>
{{ end -}}
</p -->
2023-12-27 03:06:11 +01:00
{{- range $cat := $top.Categories }}
<h3>{{ . }}</h3>
<h4>Features</h4>
{{- range $sorter.Sort ($features.ByCategory $cat) }}
<details>
<summary>
{{ if .IsHandled }}<span title="assigned to {{.Handler.Name}}">🥷</span>{{else}}<span title="unassigned">❓</span>{{end}}
<a href="https://bugs.gnunet.org/view.php?id={{.Id}}" target="_blank">{{.Id}}</a>
<span class="severity-{{.Severity.Name}}">{{.Summary}}</span><br>
</summary>
<pre>{{ .Description }}</pre>
</details>
{{ end -}}
<h4>Issues</h4>
{{- range $sorter.Sort ($issues.ByCategory $cat) }}
<details>
<summary>
{{ if .IsHandled }}<span title="assigned to {{.Handler.Name}}">🥷</span>{{else}}<span title="unassigned">❓</span>{{end}}
<a href="https://bugs.gnunet.org/view.php?id={{.Id}}" target="_blank">{{.Id}}</a>
<span class="severity-{{.Severity.Name}}" title="severity {{.Severity.Name}}">{{.Summary}}</span><br>
</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>
2023-12-27 03:06:11 +01:00
</html>