aboutsummaryrefslogtreecommitdiff
path: root/list.tmpl
blob: 1a529bb41ac989fe4fb7d929a09cee980c7f0e18 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<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>