summaryrefslogtreecommitdiff
path: root/templates/controls.j2
diff options
context:
space:
mode:
authorKaran Jayachandra <mail@karanjayachandra.com>2024-10-17 09:05:12 +0000
committerKaran Jayachandra <mail@karanjayachandra.com>2024-10-17 09:05:12 +0000
commit299d89197fa4edad742b0ca1838a7b98242b13ce (patch)
tree2dc84648312607378ec5ef7d087c578907bb8dc5 /templates/controls.j2
parent36cc7d82a55cbd8167e1f52637dd1938497dd8cc (diff)
parent02f7ee71560ade362afd415d0664d9243fe017a5 (diff)
Merge branch 'feature/docs' into 'develop'
Added a starting point for all documentation See merge request KaranJayachandra/match_up!4
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