still working
This commit is contained in:
16
internal/templates/hx_pools.html
Normal file
16
internal/templates/hx_pools.html
Normal file
@@ -0,0 +1,16 @@
|
||||
{{define "hx_pools"}}
|
||||
<div>
|
||||
<table class="min-w-full bg-white">
|
||||
<thead>
|
||||
<tr><th>Name</th><th>Health</th><th>Capacity</th></tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
{{range .}}
|
||||
<tr class="border-t"><td>{{.Name}}</td><td>{{.Health}}</td><td>{{.Capacity}}</td></tr>
|
||||
{{else}}
|
||||
<tr><td colspan="3">No pools</td></tr>
|
||||
{{end}}
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
{{end}}
|
||||
Reference in New Issue
Block a user