Files
comunidadhll/frontend/historico.html
devRaGonSa 0da8338ba8 Fix
2026-06-05 16:57:25 +02:00

230 lines
8.5 KiB
HTML

<!DOCTYPE html>
<html lang="es">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Historico propio de HLL Vietnam con ranking semanal y partidas recientes por servidor."
/>
<title>Historico - HLL Vietnam</title>
<link rel="stylesheet" href="./assets/css/styles.css" />
<link rel="stylesheet" href="./assets/css/historico.css" />
</head>
<body data-backend-base-url="http://127.0.0.1:8000">
<div class="page-shell historical-shell">
<header class="hero historical-hero">
<div class="hero__overlay"></div>
<div class="hero__content historical-hero__content">
<div class="historical-hero__topline">
<a class="secondary-button secondary-button--ghost" href="./index.html">
VOLVER INICIO
</a>
<p class="eyebrow">Historico propio</p>
</div>
<div class="historical-hero__layout historical-hero__layout--registry">
<div class="logo-frame historical-logo-frame">
<img
src="./assets/img/logo.png"
alt="Logo oficial de la comunidad HLL Vietnam"
class="logo-frame__image"
width="1024"
height="1044"
decoding="async"
/>
</div>
<div class="historical-hero__copy">
<div>
<h1 class="historical-hero__title">
Registro de la
<span class="hero__title-accent">Comunidad Hispana</span>
</h1>
<p class="hero__text historical-hero__text">
Consulta los registros, el ranking semanal y las partidas recientes
de nuestros servidores.
</p>
</div>
<div class="historical-selector" aria-label="Seleccion de servidor">
<button
class="historical-selector__button is-active"
type="button"
data-server-slug="all-servers"
>
Todos
</button>
<button
class="historical-selector__button"
type="button"
data-server-slug="comunidad-hispana-01"
>
Comunidad Hispana #01
</button>
<button
class="historical-selector__button"
type="button"
data-server-slug="comunidad-hispana-02"
>
Comunidad Hispana #02
</button>
</div>
</div>
</div>
</div>
</header>
<main class="content historical-content">
<section class="panel historical-panel" aria-labelledby="historical-summary-title" hidden>
<div class="panel__shell">
<div class="panel__header historical-panel__header">
<div>
<p class="eyebrow eyebrow--section">Datos registrados</p>
<h2 id="historical-summary-title">Resumen</h2>
<p class="historical-panel__note" id="historical-summary-note">
Datos generales registrados de los servidores
</p>
<p class="historical-snapshot-meta" id="historical-summary-snapshot-meta">
Cargando datos de resumen...
</p>
</div>
<p class="status-chip status-chip--fallback" id="historical-range">
Cargando rango temporal
</p>
</div>
<div class="historical-summary-grid" id="historical-summary">
<article class="historical-stat-card">
<p>Estado</p>
<strong>Cargando datos historicos</strong>
</article>
</div>
</div>
</section>
<section class="panel historical-panel" aria-labelledby="weekly-ranking-title">
<div class="panel__shell">
<div class="panel__header historical-panel__header">
<div>
<p class="eyebrow eyebrow--section">Rankings historicos</p>
<h2 id="weekly-ranking-title">Ranking del alcance activo</h2>
<p class="historical-panel__note" id="weekly-window-note">
Cargando rango del ranking...
</p>
<p class="historical-snapshot-meta" id="weekly-leaderboard-snapshot-meta">
Cargando datos del ranking...
</p>
</div>
</div>
<div
class="historical-tabs historical-tabs--timeframe"
role="tablist"
aria-label="Marco temporal del ranking"
>
<button
class="historical-tab is-active"
type="button"
role="tab"
aria-selected="true"
data-leaderboard-timeframe="weekly"
>
Semanal
</button>
<button
class="historical-tab"
type="button"
role="tab"
aria-selected="false"
data-leaderboard-timeframe="monthly"
>
Mensual
</button>
</div>
<div
class="historical-tabs"
id="weekly-leaderboard-tabs"
role="tablist"
aria-label="Metricas del ranking"
>
<button
class="historical-tab is-active"
type="button"
role="tab"
aria-selected="true"
data-leaderboard-metric="kills"
>
Top kills
</button>
<button
class="historical-tab"
type="button"
role="tab"
aria-selected="false"
data-leaderboard-metric="deaths"
>
Top muertes
</button>
<button
class="historical-tab"
type="button"
role="tab"
aria-selected="false"
data-leaderboard-metric="matches_over_100_kills"
>
Partidas 100+ kills
</button>
<button
class="historical-tab"
type="button"
role="tab"
aria-selected="false"
data-leaderboard-metric="support"
>
Soporte
</button>
</div>
<p class="historical-state" id="weekly-leaderboard-state" aria-live="polite">
Cargando ranking semanal...
</p>
<div class="historical-table-shell">
<table class="historical-table" id="weekly-leaderboard-table" hidden>
<thead>
<tr>
<th>Pos.</th>
<th>Jugador</th>
<th id="weekly-leaderboard-value-heading">Kills</th>
<th>Partidas</th>
</tr>
</thead>
<tbody id="weekly-leaderboard-body"></tbody>
</table>
</div>
</div>
</section>
<section class="panel historical-panel" aria-labelledby="recent-matches-title">
<div class="panel__shell">
<div class="panel__header historical-panel__header">
<div>
<p class="eyebrow eyebrow--section">Partidas recientes</p>
<h2 id="recent-matches-title">Ultimas partidas registradas</h2>
<p class="historical-panel__note" id="recent-matches-note">
Lista de partidas ya registradas.
</p>
<p class="historical-snapshot-meta" id="recent-matches-snapshot-meta">
Cargando datos de partidas...
</p>
</div>
</div>
<p class="historical-state" id="recent-matches-state" aria-live="polite">
Cargando partidas recientes...
</p>
<div class="historical-match-list" id="recent-matches-list"></div>
</div>
</section>
</main>
</div>
<script src="./assets/js/config.js"></script>
<script src="./assets/js/historico.js"></script>
<script src="./assets/js/historico-recent-live.js"></script>
</body>
</html>