aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/subsystems.html
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/app/subsystems.html')
-rw-r--r--dashboard/app/subsystems.html34
1 files changed, 21 insertions, 13 deletions
diff --git a/dashboard/app/subsystems.html b/dashboard/app/subsystems.html
index 2b1fe0f57..efaf45c7f 100644
--- a/dashboard/app/subsystems.html
+++ b/dashboard/app/subsystems.html
@@ -14,30 +14,38 @@ The list of polled trees.
<body>
{{template "header" .Header}}
<h2>The list of subsystems</h2><br>
- <i>(*) Note that the numbers below do not represent the latest data. They are updated once an hour.</i><br>
+ <i>(*) Note that the numbers below do not represent the latest data. They are updated once an hour.</i><br><br>
{{if .NonEmpty}}
- Empty subsystems have been hidden from the list. {{link .EmptyURL "Show all"}}. <br />
+ Empty subsystems have been hidden from the list. {{link .EmptyURL "Show all"}}. <br>
{{end}}
<table class="list_table">
<caption>Subsystems list</caption>
- <tr>
- <th><a onclick="return sortTable(this, 'Name', textSort)" href="#">Name</a></th>
- <th>List(s)</th>
- <th><a onclick="return sortTable(this, 'Open bugs', numSort)" href="#">Open bugs</a></th>
- <th><a onclick="return sortTable(this, 'Fixed', numSort)" href="#">Fixed</a></th>
- </tr>
+ <thead>
+ <tr>
+ <th><a onclick="return sortTable(this, 'Name', textSort)" href="#">Name</a></th>
+ <th>List(s)</th>
+ <th><a onclick="return sortTable(this, 'Open bugs', numSort)" href="#">Open bugs</a></th>
+ <th><a onclick="return sortTable(this, 'Fixed', numSort)" href="#">Fixed</a></th>
+ </tr>
+ </thead>
+ <tbody>
{{range $item := .List}}
<tr>
- {{if $item.Name}}
- <td>{{link $item.Open.Link $item.Name}}</td>
- {{else}}
- <td><b>{{link $item.Open.Link "no subsystem"}}</b></td>
- {{end}}
+ <td>{{link $item.Open.Link $item.Name}}</td>
<td>{{$item.Lists}}</td>
<td>{{link $item.Open.Link (printf "%d" $item.Open.Count)}}</td>
<td>{{link $item.Fixed.Link (printf "%d" $item.Fixed.Count)}}</td>
</tr>
{{end}}
+ </tbody>
+ <tfoot>
+ <tr>
+ <td><b>{{link .Unclassified.Open.Link "unclassified"}}</b></td>
+ <td>-</td>
+ <td>{{link .Unclassified.Open.Link (printf "%d" .Unclassified.Open.Count)}}</td>
+ <td>{{link .Unclassified.Fixed.Link (printf "%d" .Unclassified.Fixed.Count)}}</td>
+ </tr>
+ </tfoot>
</table>
</body>
</html>