From d304a470e5a9fae6fc0c8975f050cb7aa290f74a Mon Sep 17 00:00:00 2001 From: Karan Jayachandra Date: Wed, 16 Oct 2024 11:08:15 +0200 Subject: First working version with history --- templates/court.j2 | 2 +- templates/courts.j2 | 2 +- templates/games.j2 | 6 +++--- templates/index.j2 | 15 +++++++++------ templates/player.j2 | 2 +- templates/players.j2 | 2 +- 6 files changed, 16 insertions(+), 13 deletions(-) (limited to 'templates') diff --git a/templates/court.j2 b/templates/court.j2 index 5eeb65a..859c942 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 5dc64f9..2bc8a95 100644 --- a/templates/courts.j2 +++ b/templates/courts.j2 @@ -2,7 +2,7 @@
{% for key, value in courts.items() %}
- diff --git a/templates/games.j2 b/templates/games.j2 index 55cabf4..50e1087 100644 --- a/templates/games.j2 +++ b/templates/games.j2 @@ -3,14 +3,14 @@ {{ title }} - Court + Court Team 1 Team 2 -{% for _, game in games.items() %} +{% for game in games %} - {{ game.court }} + {{ game.court }} {{ game.team1.player1 }} {{ game.team1.player2 }} {{ game.team2.player1 }} diff --git a/templates/index.j2 b/templates/index.j2 index 3a2118b..40d0eb1 100644 --- a/templates/index.j2 +++ b/templates/index.j2 @@ -9,10 +9,13 @@ @@ -26,7 +29,7 @@

Games

-
+