summaryrefslogtreecommitdiff
path: root/templates/games.j2
diff options
context:
space:
mode:
authorKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-18 17:09:42 +0200
committerKaran Jayachandra <karan.jayachandra@nxp.com>2024-10-18 17:09:42 +0200
commit9a6150f199b9269bf0ca36bc0289fe5fb2d45508 (patch)
treecb5c0e9cb804d24065785f14cae31125406e1dee /templates/games.j2
parent1aa425e1d7b5818d5677530512b4e0a6f525580e (diff)
Added made the table view a bit better
Diffstat (limited to 'templates/games.j2')
-rw-r--r--templates/games.j210
1 files changed, 5 insertions, 5 deletions
diff --git a/templates/games.j2 b/templates/games.j2
index 0285de1..d5afef1 100644
--- a/templates/games.j2
+++ b/templates/games.j2
@@ -10,11 +10,11 @@
<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>
+ <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>