aboutsummaryrefslogtreecommitdiff
path: root/templates/courts.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/courts.j2')
-rw-r--r--templates/courts.j28
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/courts.j2 b/templates/courts.j2
index 3134aca..64fd44a 100644
--- a/templates/courts.j2
+++ b/templates/courts.j2
@@ -1,7 +1,9 @@
-<div class="grid-container">
+<div class="fixed-grid has-12-cols">
+<div class="grid">
{% for court in courts %}
- <div class="grid-item">
- <button class={% if court.status %} "active" {% else %} "dormant" {% endif %} hx-post="{{ "/court-toggle/" ~ court.number}}" hx-trigger="click" hx-swap="outerHTML">{{ court.number }}</button>
+ <div class="cell">
+ <button class={% if court.status %} "button is-success" {% else %} "button is-danger" {% endif %} hx-post="{{ "/court-toggle/" ~ court.number}}" hx-trigger="click" hx-swap="outerHTML">{{ court.number }}</button>
</div>
{% endfor %}
+</div>
</div> \ No newline at end of file