tfstated/pkg/webui/html/states.html

33 lines
765 B
HTML
Raw Normal View History

2025-01-22 00:46:49 +01:00
{{ define "main" }}
2025-01-26 00:04:38 +01:00
<main class="responsive" id="main">
<table class="clickable-rows no-space stripes">
<thead>
<tr>
<th>Path</th>
<th>Updated</th>
<th>Locked</th>
</tr>
</thead>
<tbody>
{{ range .States }}
<tr>
<td><a href="/state/{{ .Id }}">{{ .Path }}</a></td>
<td><a href="/state/{{ .Id }}">{{ .Updated }}</a></td>
<td>
<a href="/state/{{ .Id }}">
{{ if eq .Lock nil }}no{{ else }}
<span>yes</span>
<div class="tooltip left max">
<b>Lock</b>
<p>{{ .Lock }}</p>
</div>
{{ end }}
</a>
</td>
</tr>
{{ end }}
</tbody>
</table>
</main>
2025-01-22 00:46:49 +01:00
{{ end }}