diff options
Diffstat (limited to 'templates/controls.j2')
| -rw-r--r-- | templates/controls.j2 | 9 |
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 |
