From dc332d17d90dcb981a87fcc7f2564c0346762103 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=96zg=C3=BCr=20Kesim?= Date: Fri, 29 Dec 2023 11:48:33 +0100 Subject: [PATCH] -layout tweak --- table.tmpl | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/table.tmpl b/table.tmpl index 6a4f402..e87df4a 100644 --- a/table.tmpl +++ b/table.tmpl @@ -44,8 +44,9 @@ tr:hover { summary { display: flex; justify-content: space-between; + gap: 2em; align-items: center; - gap: 5px; + cursor: pointer; } .assignment { font-size: smaller; @@ -84,7 +85,7 @@ details[open].issue {

GNU Taler Dashboard

Table view | List View

- Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}}, updateting every {{ .Freq }} (no auto-refresh) + Data from {{ .Timestamp.Format "02 Jan 06 15:04 MST"}}, updated every {{ .Freq }} (no auto-refresh). {{- with .Lasterror }}, Last error: {{ . }} {{end }} {{- $top := . -}} {{- $features := .Features -}} @@ -93,6 +94,7 @@ details[open].issue { + Total {{ len $issues }} entries @@ -114,9 +116,10 @@ details[open].issue { {{- with $version := $versions.Get . }}
{{ with $features.ByCategoryAndTarget $cat $tar }}
- {{ $l := len .}}{{ if lt 1 $l }}{{ $l }} features{{ else }}1 feature{{ end }} - {{- $unassigned := .Assigned false }}{{if gt $unassigned 0 }} ({{ $unassigned}} unassigned){{ end -}} - + +
{{ $l := len .}}{{ if lt 1 $l }}{{ $l }} features{{ else }}1 feature{{ end }}
+
{{- $unassigned := .Assigned false }}{{if gt $unassigned 0 }}({{ $unassigned}} unassigned){{ end -}}
+
{{- range . }} {{ if .IsHandled }}🥷{{else}}{{end}} {{.Id}} @@ -126,9 +129,10 @@ details[open].issue { {{- end }} {{- with $issues.ByCategoryAndTarget $cat $tar }}
- {{ $l := len .}}{{ if lt 1 $l }}{{ $l }} issues{{ else }}1 issue{{ end }} - {{- $unassigned := .Assigned false }}{{if gt $unassigned 0 }} ({{ $unassigned}} unassigned){{ end -}} - + +
{{ $l := len .}}{{ if lt 1 $l }}{{ $l }} issues{{ else }}1 issue{{ end }}
+
{{- $unassigned := .Assigned false }}{{if gt $unassigned 0 }} ({{ $unassigned}} unassigned){{ end -}}
+
{{- range . }} {{ if .IsHandled }}🥷{{else}}{{end}} {{.Id}}