put meta info to bottom
This commit is contained in:
parent
e41af1f665
commit
173aa7dda4
@ -63,20 +63,17 @@ pre {
|
|||||||
<body>
|
<body>
|
||||||
<h1>GNU Taler Dashboard</h1>
|
<h1>GNU Taler Dashboard</h1>
|
||||||
<h2><a href="/">Table view</a> | List View </h2>
|
<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}}
|
{{ with .Lasterror }}, Last error: {{ . }} {{end}}
|
||||||
{{- $top := . }}
|
{{- $top := . }}
|
||||||
{{- $features := .Features }}
|
{{- $features := .Features }}
|
||||||
{{- $issues := .Issues }}
|
{{- $issues := .Issues }}
|
||||||
{{- $versions := .VersionsByDate }}
|
{{- $versions := .VersionsByDate }}
|
||||||
{{- $sorter := OrderedBy "Severity" "Handler" "Id" -}}
|
{{- $sorter := OrderedBy "Severity" "Handler" "Id" -}}
|
||||||
Total: {{ len $features }} features and {{ len $issues }} issues.
|
|
||||||
<!-- p>
|
<!-- p>
|
||||||
{{- range $top.Tags }}
|
{{- range $top.Tags }}
|
||||||
<button>{{ . }}</button>
|
<button>{{ . }}</button>
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
</p -->
|
</p -->
|
||||||
|
|
||||||
{{- range $cat := $top.Categories }}
|
{{- range $cat := $top.Categories }}
|
||||||
<h3 class="category">{{ $cat }}</h3>
|
<h3 class="category">{{ $cat }}</h3>
|
||||||
{{- range $tar := $top.TargetVersions }}
|
{{- range $tar := $top.TargetVersions }}
|
||||||
@ -123,6 +120,10 @@ pre {
|
|||||||
{{end}}
|
{{end}}
|
||||||
{{ end -}}
|
{{ end -}}
|
||||||
<p>
|
<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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
16
table.tmpl
16
table.tmpl
@ -1,10 +1,12 @@
|
|||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<head><title>GNU Taler Dashboard</title>
|
<head><title>GNU Taler Dashboard</title>
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=0.5">
|
||||||
<style>
|
<style>
|
||||||
body {
|
body {
|
||||||
margin-left:1%;
|
margin-left:1%;
|
||||||
margin-right:1%;
|
margin-right:1%;
|
||||||
font-family:sans-serif;
|
font-family:sans-serif;
|
||||||
|
font-size: 12pt;
|
||||||
}
|
}
|
||||||
table {
|
table {
|
||||||
background: white;
|
background: white;
|
||||||
@ -68,6 +70,10 @@ details.version {
|
|||||||
white-space: normal;
|
white-space: normal;
|
||||||
text-align: justify;
|
text-align: justify;
|
||||||
}
|
}
|
||||||
|
.right {
|
||||||
|
text-align: right;
|
||||||
|
font-size:0.8em;
|
||||||
|
}
|
||||||
details[open].feature {
|
details[open].feature {
|
||||||
background: ghostwhite;
|
background: ghostwhite;
|
||||||
border: 4px powderblue solid;
|
border: 4px powderblue solid;
|
||||||
@ -80,7 +86,6 @@ details[open].issue {
|
|||||||
<body>
|
<body>
|
||||||
<h1>GNU Taler Dashboard</h1>
|
<h1>GNU Taler Dashboard</h1>
|
||||||
<h2>Table view | <a href="/list">List View</a></h2>
|
<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 }}
|
{{- with .Lasterror }} Last error: {{ . }} {{end }}
|
||||||
{{- $top := . -}}
|
{{- $top := . -}}
|
||||||
{{- $features := .Features -}}
|
{{- $features := .Features -}}
|
||||||
@ -89,7 +94,6 @@ details[open].issue {
|
|||||||
<!--p>
|
<!--p>
|
||||||
{{- range $top.Tags -}}<button>{{ . }}</button>{{- end -}}
|
{{- range $top.Tags -}}<button>{{ . }}</button>{{- end -}}
|
||||||
</p-->
|
</p-->
|
||||||
Total: {{ len $features }} features and {{ len $issues }} issues.
|
|
||||||
<table>
|
<table>
|
||||||
<tr>
|
<tr>
|
||||||
<th class="side"></th>
|
<th class="side"></th>
|
||||||
@ -97,7 +101,7 @@ details[open].issue {
|
|||||||
{{- with $version := $versions.Get . }}
|
{{- with $version := $versions.Get . }}
|
||||||
<th>
|
<th>
|
||||||
<details class="version">
|
<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>
|
<div>{{ $version.Description }}</div>
|
||||||
</details>
|
</details>
|
||||||
</th>
|
</th>
|
||||||
@ -143,6 +147,10 @@ details[open].issue {
|
|||||||
{{- end}}
|
{{- end}}
|
||||||
</table>
|
</table>
|
||||||
<p>
|
<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>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
Loading…
Reference in New Issue
Block a user