serie.tmpl.html: move missing table html
When refactoring the web interfaces, series was removed. However, we still want to show an individual Serie, which should properly be inside it's own table - so let's add this to the template.
This commit is contained in:
parent
0ec77274f5
commit
3125b79f2f
1 changed files with 17 additions and 9 deletions
|
@ -1,11 +1,19 @@
|
|||
{{ define "serie" }}
|
||||
<table class="table table-sm table-hover">
|
||||
<thead class="thead-light">
|
||||
<tr>
|
||||
<th scope="col">Owner</th>
|
||||
<th scope="col">Changeset</th>
|
||||
<th scope="col">Flags</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td colspan="3" class="table-success">Serie with {{ len .ChangeSets }} changes</td>
|
||||
</tr>
|
||||
{{ range $changeset := .ChangeSets }}
|
||||
{{ block "changeset" $changeset }}{{ end }}
|
||||
{{ end }}
|
||||
<tr>
|
||||
<td colspan="3"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
{{ end }}
|
Loading…
Reference in a new issue