summaryrefslogtreecommitdiff
path: root/templates/games.j2
diff options
context:
space:
mode:
authorKaran Jayachandra <mail@karanjayachandra.com>2024-10-25 18:03:18 +0200
committerKaran Jayachandra <mail@karanjayachandra.com>2024-10-25 18:03:18 +0200
commit60a489cfb3fb7a12a06212c2c7ed3c05cd0757b5 (patch)
tree8bf7b9cc50d8b133fe0666b0bff7fa143cd095a5 /templates/games.j2
parent2b18e0929a0b3e083cbe9e5e8ffd421ed8d17e52 (diff)
Moved the files into a folder structure
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 d5afef1..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" style="width: 8%;">{{ game.court }}</th>
- <td style="width: 23%;">{{ game.team1.player1 }}</th>
- <td style="width: 23%;">{{ game.team1.player2 }}</th>
- <td style="width: 23%;">{{ game.team2.player1 }}</th>
- <td style="width: 23%;">{{ game.team2.player2 }}</th>
- </tr>
-{% endfor %}
-</tbody>
-</table> \ No newline at end of file