summaryrefslogtreecommitdiff
path: root/templates/controls.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/controls.j2')
-rw-r--r--templates/controls.j210
1 files changed, 9 insertions, 1 deletions
diff --git a/templates/controls.j2 b/templates/controls.j2
index 1799e01..8e190c5 100644
--- a/templates/controls.j2
+++ b/templates/controls.j2
@@ -1,3 +1,5 @@
+{% from "macros.j2" import court %}
+<p class="title">Controls</p>
<div class="columns">
<div class="column">
<div class="field has-addons">
@@ -48,4 +50,10 @@
hx-target="#games">Reset</button>
</div>
</div>
-<div hx-post="/clear" hx-swap="outerHTML" hx-trigger="revealed"></div>
+<div class="fixed-grid has-12-cols">
+<div class="grid">
+{% for key, value in courts.items() %}
+ {{ court(key, value) }}
+{% endfor %}
+</div>
+</div> \ No newline at end of file