71 lines
2.2 KiB
Cheetah
71 lines
2.2 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;
|
|
}
|
|
{{template "severity.tmpl"}}
|
|
</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 -->
|
|
|
|
{{- 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>
|
|
</html>
|