{{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}}
