From 20d668454a1e1d8f17f7e5d4d25f667f62381cd1 Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Fri, 11 Oct 2024 18:56:48 +0200 Subject: Working with Bulma CSS now --- templates/court.j2 | 2 +- templates/courts.j2 | 8 ++++--- templates/games.j2 | 12 +++++----- templates/index.j2 | 68 +++++++++++++++++++++++----------------------------- templates/player.j2 | 2 +- templates/players.j2 | 7 +++--- 6 files changed, 47 insertions(+), 52 deletions(-) (limited to 'templates') diff --git a/templates/court.j2 b/templates/court.j2 index 6ae4d91..425e7d5 100644 --- a/templates/court.j2 +++ b/templates/court.j2 @@ -1 +1 @@ - \ No newline at end of file + \ No newline at end of file diff --git a/templates/courts.j2 b/templates/courts.j2 index 3134aca..64fd44a 100644 --- a/templates/courts.j2 +++ b/templates/courts.j2 @@ -1,7 +1,9 @@ -
+
+
{% for court in courts %} -
- +
+
{% endfor %} +
\ No newline at end of file diff --git a/templates/games.j2 b/templates/games.j2 index 83fff7f..b070b16 100644 --- a/templates/games.j2 +++ b/templates/games.j2 @@ -1,10 +1,10 @@ -
- - +
+ - + + {% for game in games %} @@ -14,5 +14,5 @@ {% endfor %} -
Court Team 1 Team 2
{{ game.court.number }}{{ game.team2.player2.name }}
-
\ No newline at end of file + + \ No newline at end of file diff --git a/templates/index.j2 b/templates/index.j2 index a9c451f..ac6ddf3 100644 --- a/templates/index.j2 +++ b/templates/index.j2 @@ -2,54 +2,46 @@ - + 🏸Match Up! - + + -
-

🏸The Smashing Fellows

-
-
-
-

Games

-
-
- -
-

Courts

+
+
+

🏸The Smashing Fellows

+
+
+
+

Games

+
+
+
+
+
+
+
+
+
+
+

Courts

-
-
-
-

Players

+ +
+

Players

-
-
-