aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--list.tmpl9
-rw-r--r--table.tmpl16
2 files changed, 17 insertions, 8 deletions
diff --git a/list.tmpl b/list.tmpl
index 07ca15b..65e5ad9 100644
--- a/list.tmpl
+++ b/list.tmpl
@@ -63,20 +63,17 @@ pre {
<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" -}}
- Total: {{ len $features }} features and {{ len $issues }} issues.
<!-- p>
{{- range $top.Tags }}
<button>{{ . }}</button>
{{ end -}}
</p -->
-
{{- range $cat := $top.Categories }}
<h3 class="category">{{ $cat }}</h3>
{{- range $tar := $top.TargetVersions }}
@@ -123,6 +120,10 @@ pre {
{{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>
+ Total: {{ len $features }} features and {{ len $issues }} issues.
+ <br>Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}},
+ <br>updated every {{ .Freq }} (no auto-refresh).
+ <p>
+ <small>taler-dashboard - version: {{.Commit}} - <a href="https://git.kesim.org/taler/taler-dashboard">https://git.kesim.org/taler/taler-dashboard</a> </small>
</body>
</html>
diff --git a/table.tmpl b/table.tmpl
index b5f4b97..12176bd 100644
--- a/table.tmpl
+++ b/table.tmpl
@@ -1,10 +1,12 @@
<!DOCTYPE html>
<head><title>GNU Taler Dashboard</title>
+<meta name="viewport" content="width=device-width, initial-scale=0.5">
<style>
body {
margin-left:1%;
margin-right:1%;
font-family:sans-serif;
+ font-size: 12pt;
}
table {
background: white;
@@ -68,6 +70,10 @@ details.version {
white-space: normal;
text-align: justify;
}
+.right {
+text-align: right;
+font-size:0.8em;
+}
details[open].feature {
background: ghostwhite;
border: 4px powderblue solid;
@@ -80,7 +86,6 @@ details[open].issue {
<body>
<h1>GNU Taler Dashboard</h1>
<h2>Table view | <a href="/list">List View</a></h2>
- Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}}, updated every {{ .Freq }} (no auto-refresh).
{{- with .Lasterror }} Last error: {{ . }} {{end }}
{{- $top := . -}}
{{- $features := .Features -}}
@@ -89,7 +94,6 @@ details[open].issue {
<!--p>
{{- range $top.Tags -}}<button>{{ . }}</button>{{- end -}}
</p-->
- Total: {{ len $features }} features and {{ len $issues }} issues.
<table>
<tr>
<th class="side"></th>
@@ -97,7 +101,7 @@ details[open].issue {
{{- with $version := $versions.Get . }}
<th>
<details class="version">
- <summary><b>{{ $vname }}</b> ({{ $version.Timestamp.Format "02 Jan 06"}})</summary>
+ <summary><b>{{ $vname }}</b> <span class="right">({{ $version.Timestamp.Format "02 Jan 06"}})</span></summary>
<div>{{ $version.Description }}</div>
</details>
</th>
@@ -143,6 +147,10 @@ details[open].issue {
{{- end}}
</table>
<p>
- <i>taler-dashboard - version: {{.Commit}} - <a href="https://git.kesim.org/taler/taler-dashboard">https://git.kesim.org/taler/taler-dashboard</a> </i>
+ Total: {{ len $features }} features and {{ len $issues }} issues.
+ <br>Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}},
+ <br>updated every {{ .Freq }} (no auto-refresh).
+ <p>
+ <small>taler-dashboard - version: {{.Commit}} - <a href="https://git.kesim.org/taler/taler-dashboard">https://git.kesim.org/taler/taler-dashboard</a> </small>
</body>
</html>