Private
Public Access
1
0

refacto: Displaying number of players for each team + adding logo at registration

This commit is contained in:
gauvainboiche
2026-03-31 16:35:08 +02:00
parent fa4fec3a11
commit d1240adbb7
10 changed files with 154 additions and 15 deletions

View File

@@ -48,11 +48,19 @@
<div class="authTeamChoice">
<label class="authTeamOption">
<input type="radio" name="regTeam" value="blue" required />
<span class="authTeamBadge authTeamBadge--blue">Résistance</span>
<span class="authTeamBadge authTeamBadge--blue">
<img src="./graphism/logo_resistance.svg" class="authTeamLogo" alt="" />
Résistance
</span>
<span class="authTeamCount authTeamCount--blue" id="regCountBlue">… joueurs</span>
</label>
<label class="authTeamOption">
<input type="radio" name="regTeam" value="red" />
<span class="authTeamBadge authTeamBadge--red">Premier ordre</span>
<span class="authTeamBadge authTeamBadge--red">
Premier ordre
<img src="./graphism/logo_first_order.svg" class="authTeamLogo" alt="" />
</span>
<span class="authTeamCount authTeamCount--red" id="regCountRed">… joueurs</span>
</label>
</div>
</div>
@@ -78,7 +86,10 @@
<!-- Team score display -->
<div class="scoreBoard" id="scoreBoard">
<img src="./graphism/logo_resistance.svg" alt="Resistance" class="team-logo" />
<div class="teamLogoWrap">
<img src="./graphism/logo_resistance.svg" alt="Resistance" class="team-logo" />
<span class="teamPlayerCount teamPlayerCount--blue" id="activeCountBlue">0 joueur</span>
</div>
<div class="scoreBoardContent">
<div class="scoreBoardRow">
<div class="scoreTeam scoreTeam--blue">
@@ -133,7 +144,10 @@
</div>
</div>
</div>
<img src="./graphism/logo_first_order.svg" alt="First Order" class="team-logo" />
<div class="teamLogoWrap">
<img src="./graphism/logo_first_order.svg" alt="First Order" class="team-logo" />
<span class="teamPlayerCount teamPlayerCount--red" id="activeCountRed">0 joueur</span>
</div>
</div>
<!-- Info rows -->