diff --git a/tournaments/static/tournaments/css/style.css b/tournaments/static/tournaments/css/style.css index 18739bb..f54f749 100644 --- a/tournaments/static/tournaments/css/style.css +++ b/tournaments/static/tournaments/css/style.css @@ -1105,3 +1105,12 @@ h-margin { .odd-row { background-color: #e6f2ff; /* Light blue */ } + +.player-flex-row { + display: flex; + justify-content: space-between; + height: 24px; + align-items: center; + gap: 8px; + margin-right: 8px; +} diff --git a/tournaments/templates/tournaments/bracket_match_cell.html b/tournaments/templates/tournaments/bracket_match_cell.html index f6ecdfe..b7181b9 100644 --- a/tournaments/templates/tournaments/bracket_match_cell.html +++ b/tournaments/templates/tournaments/bracket_match_cell.html @@ -17,28 +17,31 @@ {% for team in match.teams %}
- {% if team.id %} - - {% endif %} - - {% if team.is_lucky_loser or team.walk_out == 1 %} -
- {% if match.should_show_lucky_loser_status and team.is_lucky_loser %}(LL){% elif team.walk_out == 1 %}(WO){% endif %} -
- {% endif %} +
+ {% if team.id %} + + {% endif %} +
+ {% for name in team.names %} +
+ {% if name|length > 0 %} + {{ name }} + {% else %} +   + {% endif %} +
+ {% endfor %} +
+ {% if team.id and team.weight %} +
+ {% endif %} - {% for name in team.names %} -
- {% if name|length > 0 %} - {{ name }} - {% else %} -   + {% if team.is_lucky_loser or team.walk_out == 1 %} +
+ {% if match.should_show_lucky_loser_status and team.is_lucky_loser %}(LL){% endif %} +
{% endif %}
- {% endfor %} - {% if team.id %} - - {% endif %}
{% if match.has_walk_out %} diff --git a/tournaments/templates/tournaments/broadcast/broadcasted_match.html b/tournaments/templates/tournaments/broadcast/broadcasted_match.html index 8ab62a8..42000d3 100644 --- a/tournaments/templates/tournaments/broadcast/broadcasted_match.html +++ b/tournaments/templates/tournaments/broadcast/broadcasted_match.html @@ -20,23 +20,22 @@ 'single-player': match.teams[i-1].names.length === 1, 'two-players': match.teams[i-1].names.length === 2 }"> - - - - - +
+
+ +
+ +