summaryrefslogtreecommitdiff
path: root/templates/games.j2
diff options
context:
space:
mode:
authorKaran Jayachandra <mail@karanjayachandra.com>2024-11-15 17:26:47 +0000
committerKaran Jayachandra <mail@karanjayachandra.com>2024-11-15 17:26:47 +0000
commit7b7f8cdef5f035ccdab714059c1a6c54b80c4ba3 (patch)
tree2d7ea5de37f2bda57be419b4aa37971afa09eab5 /templates/games.j2
parentf68c54ae8f921c23851680b2501fac8bda1b4010 (diff)
parent7b8bbe6db3680af65c3701afbcd31ac1f61773af (diff)
Merge branch 'develop' into 'main'2.0
Database and javascript timer implemented See merge request KaranJayachandra/match_up!11
Diffstat (limited to 'templates/games.j2')
-rw-r--r--templates/games.j221
1 files changed, 0 insertions, 21 deletions
diff --git a/templates/games.j2 b/templates/games.j2
deleted file mode 100644
index 0285de1..0000000
--- a/templates/games.j2
+++ /dev/null
@@ -1,21 +0,0 @@
-<table class="table is-bordered is-striped is-narrow is-hoverable is-fullwidth" id="games">
-<thead>
- <th colspan="5" align="center"> {{ title }} </th>
-</thead>
-<thead>
- <th align="center"> Court </th>
- <th colspan="2" align="center"> Team 1 </th>
- <th colspan="2" align="center"> Team 2 </th>
-</thead>
-<tbody>
-{% for game in games %}
- <tr {% if game.team1.player1 == 'RESERVED' %} class="is-danger" {% endif %}>
- <th align="center">{{ game.court }}</th>
- <td>{{ game.team1.player1 }}</th>
- <td>{{ game.team1.player2 }}</th>
- <td>{{ game.team2.player1 }}</th>
- <td>{{ game.team2.player2 }}</th>
- </tr>
-{% endfor %}
-</tbody>
-</table> \ No newline at end of file