adrien code visible

This commit is contained in:
CHIBOUB Chakib
2024-09-10 16:04:47 +02:00
parent 78906f9c07
commit a64fadf103
5 changed files with 267 additions and 19 deletions

View File

@@ -41,14 +41,20 @@
</head>
<body>
<div class="tournament-bracket">
{% for round in tournament_rounds %}
<div class="round">
{% for match in round %}
<div class="match">
<div class="player {% if match.winner == match.player1 %}winner{% endif %}">
{{ match.player1 }}
</div>
<div class="player {% if match.winner == match.player2 %}winner{% endif %}">
{{ match.player2|default:"BYE" }}
</div>
</div>
{% endfor %}
</div>
{% endfor %}
</div>
</body>
</html>