summaryrefslogtreecommitdiff
path: root/templates/controls.j2
diff options
context:
space:
mode:
authorKaran Jayachandra <mail@karanjayachandra.com>2024-10-17 09:05:57 +0000
committerKaran Jayachandra <mail@karanjayachandra.com>2024-10-17 09:05:57 +0000
commit5c3689a711e18cfc3b6a4c699af688753179e007 (patch)
tree2dc84648312607378ec5ef7d087c578907bb8dc5 /templates/controls.j2
parent7643486d7122b322a052bfca8ec83326c48053d0 (diff)
parent299d89197fa4edad742b0ca1838a7b98242b13ce (diff)
Merge branch 'develop' into 'main'
Full functionality and documentation for first version See merge request KaranJayachandra/match_up!5
Diffstat (limited to 'templates/controls.j2')
-rw-r--r--templates/controls.j29
1 files changed, 8 insertions, 1 deletions
diff --git a/templates/controls.j2 b/templates/controls.j2
index 1799e01..7a03f9a 100644
--- a/templates/controls.j2
+++ b/templates/controls.j2
@@ -1,3 +1,4 @@
+{% from "macros.j2" import court %}
<div class="columns">
<div class="column">
<div class="field has-addons">
@@ -48,4 +49,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