From e1d7bc9e679c8778c22f99d24ffc339791429c71 Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Fri, 18 Oct 2024 09:40:46 +0200 Subject: Cleaned up the layout slightly --- .gitignore | 7 ++++++- templates/controls.j2 | 14 +++++++------- templates/index.j2 | 12 +++++++----- templates/players.j2 | 14 ++++++++------ 4 files changed, 28 insertions(+), 19 deletions(-) diff --git a/.gitignore b/.gitignore index 4ad7566..c363d02 100644 --- a/.gitignore +++ b/.gitignore @@ -161,4 +161,9 @@ cython_debug/ # Data data -*.csv \ No newline at end of file +*.csv + +# Scripts +*.ps1 +*.cmd +*.sh \ No newline at end of file diff --git a/templates/controls.j2 b/templates/controls.j2 index 7a03f9a..0b1451a 100644 --- a/templates/controls.j2 +++ b/templates/controls.j2 @@ -1,4 +1,11 @@ {% from "macros.j2" import court %} +
+
+{% for key, value in courts.items() %} + {{ court(key, value) }} +{% endfor %} +
+
@@ -48,11 +55,4 @@ hx-post="/clear" hx-target="#games">Reset
-
-
-
-{% for key, value in courts.items() %} - {{ court(key, value) }} -{% endfor %} -
\ No newline at end of file diff --git a/templates/index.j2 b/templates/index.j2 index 764eae8..ff8f37a 100644 --- a/templates/index.j2 +++ b/templates/index.j2 @@ -19,26 +19,28 @@
+

- Games +

+

Match Up!

+

- Players +

+
- - + diff --git a/templates/players.j2 b/templates/players.j2 index 0e851ab..05f886a 100644 --- a/templates/players.j2 +++ b/templates/players.j2 @@ -20,20 +20,24 @@ +

- Games +

+

Match Up!

+

- Players +

+
-
+
{% for id, value in players.items() %}
@@ -41,11 +45,9 @@
{% endfor %}
- - + \ No newline at end of file -- cgit v1.3.1