aboutsummaryrefslogtreecommitdiff
path: root/templates/court.j2
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-16 21:47:26 +0200
committerKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-16 21:47:26 +0200
commit74480cbe2b335fd141cdf5f07bb08808c0d08692 (patch)
treeca9f5c55579acfd8394469e2644dc41dfd625988 /templates/court.j2
parent83cb89862c7c330552c48d9b25f898388693c420 (diff)
Added all macros and also stored the js, css, png and ico files
Diffstat (limited to 'templates/court.j2')
-rw-r--r--templates/court.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/court.j2 b/templates/court.j2
index 859c942..d7aec86 100644
--- a/templates/court.j2
+++ b/templates/court.j2
@@ -1 +1 @@
-<button class={% if status %} "button is-success is-large" {% else %} "button is-danger is-large" {% endif %} hx-post="{{ "/court-toggle/" ~ id}}" hx-trigger="click" hx-swap="outerHTML">{{ id }}</button> \ No newline at end of file
+{% from "macros.j2" import court %}{{ court(key, value) }} \ No newline at end of file