put meta info to bottom

This commit is contained in:
Gitea 2024-01-04 14:02:45 +00:00
parent e41af1f665
commit 173aa7dda4
2 changed files with 17 additions and 8 deletions

View File

@ -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>

View File

@ -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>