From a355423ff7566ff1d38bfa1627ec5b7ffa4b6bdc Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Wed, 16 Oct 2024 23:57:24 +0200 Subject: Cleaned up the layout a bit --- templates/controls.j2 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'templates/controls.j2') 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 %} +

Controls

@@ -48,4 +50,10 @@ hx-target="#games">Reset
-
+
+
+{% for key, value in courts.items() %} + {{ court(key, value) }} +{% endfor %} +
+
\ No newline at end of file -- cgit v1.3.1 From e627108b44bb069b556a11b1b2581b5a87209066 Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Thu, 17 Oct 2024 10:55:33 +0200 Subject: Moved the player activation to a separate page --- templates/controls.j2 | 1 - templates/index.j2 | 21 +++++++++--------- templates/players.j2 | 59 ++++++++++++++++++++++++++++++++++++++++++++------- 3 files changed, 62 insertions(+), 19 deletions(-) (limited to 'templates/controls.j2') diff --git a/templates/controls.j2 b/templates/controls.j2 index 8e190c5..7a03f9a 100644 --- a/templates/controls.j2 +++ b/templates/controls.j2 @@ -1,5 +1,4 @@ {% from "macros.j2" import court %} -

Controls

diff --git a/templates/index.j2 b/templates/index.j2 index 22c72a0..8ff9eb1 100644 --- a/templates/index.j2 +++ b/templates/index.j2 @@ -19,20 +19,21 @@
-
-

Match Up!

+

+ Games +

+
+

Match Up!

+

+ Players +

-
+
-
-

Games

-
- -
-

Players

-
+
+