aboutsummaryrefslogtreecommitdiff
path: root/table.tmpl
diff options
context:
space:
mode:
authorÖzgür Kesim <oec@codeblau.de>2024-09-27 12:12:55 +0200
committerÖzgür Kesim <oec@codeblau.de>2024-09-27 12:12:55 +0200
commitdec70c98a8c80548943ca8cf8e47e8c04b9299d7 (patch)
treef0504334783c9bb013d2655e3908d90dfa5efc0a /table.tmpl
parent57285c12c11ea0bf7b39af2cfc770340a222913a (diff)
added no. of issues and features to column header
Diffstat (limited to 'table.tmpl')
-rw-r--r--table.tmpl15
1 files changed, 10 insertions, 5 deletions
diff --git a/table.tmpl b/table.tmpl
index 17dddc7..a687df3 100644
--- a/table.tmpl
+++ b/table.tmpl
@@ -9,11 +9,11 @@ body {
font-stretch:condensed;
font-size: 12pt;
}
-table {
+table {
background: white;
border-collapse: collapse;
}
-th, td {
+th, td {
padding: 8px;
border: 1px solid #ddd;
vertical-align: top;
@@ -21,9 +21,9 @@ th, td {
td {
min-width: 10em;
}
-th.side {
+th.side {
color: brown;
- text-align: right;
+ text-align: right;
max-width: 11em;
}
tr:hover {
@@ -83,6 +83,7 @@ details[open].issue {
background: ghostwhite;
border: 4px navajowhite solid;
}
+
</style></head>
<body>
<h1>GNU Taler Dashboard</h1>
@@ -101,9 +102,12 @@ details[open].issue {
{{- range $version := $versions }}
<th>
<details class="version">
- <summary><b>{{ $version.Name }}</b> <span class="right">({{ $version.Timestamp.Format "02 Jan 06"}})</span></summary>
+ <summary><b>{{ $version.Name }}</b> <span class="right">({{ $version.Timestamp.Format "02 Jan 06"}})</span>
+ </summary>
<div>{{ $version.Description }}</div>
</details>
+ <div class="right">{{ len ($issues.ByTarget $version.Name) }} issues</div>
+ <div class="right">{{ len ($features.ByTarget $version.Name) }} features</div>
</th>
{{- end}}
</tr>
@@ -111,6 +115,7 @@ details[open].issue {
<tr>
<th class="side">{{ . }}</th>
{{- range $version := $versions }}
+
<td><div class="minh">{{ with $features.ByCategoryAndTarget $cat $version.Name }}
<details class="feature">
<summary>