feat(webui): implement states list
This commit is contained in:
parent
7885b19b54
commit
09885ef1e4
10 changed files with 117 additions and 12 deletions
23
pkg/webui/html/states.html
Normal file
23
pkg/webui/html/states.html
Normal file
|
@ -0,0 +1,23 @@
|
|||
{{ define "main" }}
|
||||
<h1>States</h1>
|
||||
<table class="striped">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Path</th>
|
||||
<th scope="col">Created</th>
|
||||
<th scope="col">Updated</th>
|
||||
<th scope="col">Locked</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{ range .States }}
|
||||
<tr>
|
||||
<th scope="row">{{ .Path }}</th>
|
||||
<td>{{ .Created }}</td>
|
||||
<td>{{ .Updated }}</td>
|
||||
<td>{{ .Lock }}</td>
|
||||
</tr>
|
||||
{{ end }}
|
||||
</tbody>
|
||||
</table>
|
||||
{{ end }}
|
Loading…
Add table
Add a link
Reference in a new issue