diff options
author | Florian Klink <flokli@flokli.de> | 2019-12-04T12·33+0100 |
---|---|---|
committer | Florian Klink <flokli@flokli.de> | 2019-12-04T12·33+0100 |
commit | 3125b79f2fcc065ecb6cd8c39032476b9fdd8033 (patch) | |
tree | b68d5988e564f8ca868a1a6cbf99acd90e87c316 /public | |
parent | 0ec77274f556ee06be8350b586b7f2f533e508e9 (diff) |
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.
Diffstat (limited to 'public')
-rw-r--r-- | public/serie.tmpl.html | 26 |
1 files changed, 17 insertions, 9 deletions
diff --git a/public/serie.tmpl.html b/public/serie.tmpl.html index 8c653946ce7e..60f0c18113d7 100644 --- a/public/serie.tmpl.html +++ b/public/serie.tmpl.html @@ -1,11 +1,19 @@ {{ define "serie" }} -<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> +<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 }} +</tbody> +</table> {{ end }} \ No newline at end of file |