taler-dashboard/list.tmpl

46 lines
923 B
Cheetah
Raw Normal View History

2023-12-27 03:06:11 +01:00
<html>
<head><title>GNU Taler Dashboard</title></head>
<style>
body {
margin-left:15%;
margin-right:15%;
font-family:sans-serif;
}
h3 {
margin-left: -10%;
color: brown;
}
pre {
max-width: 100%;
overflow: scroll;
text-overflow: wrap,ellipsis;
}
</style>
<body>
<h1>GNU Taler Dashboard</h1>
<a href="/">Table view</a>
<h2>List View</h2>
Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}}
{{ with .Lasterror }}, Last error: {{ . }} {{end}}
<p>
{{ $issues := .Issues }}
{{ range $issues.Tags }}
<button>{{ . }}</button>
{{ end }}
</p>
{{ range $cat := $issues.Categories }}
<h3>{{ . }}</h3>
{{ 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 }}
<i>end of dashboard</i>
</body>
</html>