feat: refine team filters and epic profile links

This commit is contained in:
devRaGonSa
2026-05-21 11:00:50 +02:00
parent af1e2a27bd
commit f54ba4dbd3
4 changed files with 239 additions and 31 deletions

View File

@@ -94,6 +94,23 @@
aria-label="Controles de jugadores"
hidden
>
<fieldset class="historical-player-control historical-player-control--team-toggle">
<legend>Equipo</legend>
<div class="historical-player-team-toggle" role="radiogroup" aria-label="Filtro por equipo">
<label class="historical-player-team-toggle__item historical-player-team-toggle__item--all">
<input type="radio" name="match-detail-player-team-filter" value="all" checked />
<span>Todos</span>
</label>
<label class="historical-player-team-toggle__item historical-player-team-toggle__item--allies">
<input type="radio" name="match-detail-player-team-filter" value="allies" />
<span>Aliados</span>
</label>
<label class="historical-player-team-toggle__item historical-player-team-toggle__item--axis">
<input type="radio" name="match-detail-player-team-filter" value="axis" />
<span>Eje</span>
</label>
</div>
</fieldset>
<label class="historical-player-control historical-player-control--search">
<span>Buscar jugador</span>
<input
@@ -103,25 +120,15 @@
autocomplete="off"
/>
</label>
<label class="historical-player-control">
<span>Equipo</span>
<select id="match-detail-player-team-filter">
<option value="all">Todos</option>
<option value="allies">Aliados</option>
<option value="axis">Eje</option>
<option value="unknown">Sin equipo / No disponible</option>
</select>
</label>
<label class="historical-player-control">
<span>Ordenar por</span>
<select id="match-detail-player-sort">
<option value="name">Jugador</option>
<option value="team">Equipo</option>
<option value="kills" selected>K</option>
<option value="deaths">D</option>
<option value="kills" selected>Kills</option>
<option value="deaths">Muertes</option>
<option value="teamkills">TK</option>
<option value="kd">K/D</option>
<option value="kd">KD</option>
<option value="kpm">KPM</option>
<option value="name">Jugador</option>
</select>
</label>
<label class="historical-player-control">
@@ -138,10 +145,10 @@
<tr>
<th>Jugador</th>
<th>Equipo</th>
<th>K</th>
<th>D</th>
<th>Kills</th>
<th>Muertes</th>
<th>TK</th>
<th>K/D</th>
<th>KD</th>
<th>KPM</th>
</tr>
</thead>