Files
chesscubing/cube.html

128 lines
4.2 KiB
HTML

<!doctype html>
<html lang="fr">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta
name="description"
content="Phase cube de ChessCubing Arena avec gros boutons de fin."
/>
<title>ChessCubing Arena | Phase Cube</title>
<link rel="stylesheet" href="styles.css" />
</head>
<body data-page="cube" class="phase-body">
<main class="phase-shell cube-shell">
<header class="phase-header">
<a class="brand-link" href="application.html">Application</a>
<div class="phase-title">
<p class="eyebrow">Phase cube</p>
<h1 id="cubeTitle">Cube n°1</h1>
<p id="cubeSubtitle" class="phase-subtitle"></p>
</div>
<button class="button ghost small utility-button" id="openCubeHelpButton" type="button">
Arbitre
</button>
</header>
<section class="status-strip">
<article class="status-card">
<span>Block</span>
<strong id="cubeBlockLabel">1</strong>
</article>
<article class="status-card">
<span>Temps max</span>
<strong id="cubeElapsed">00:00.0</strong>
</article>
<article class="status-card wide">
<span id="cubeCenterLabel">État</span>
<strong id="cubeCenterValue">Prêt</strong>
</article>
</section>
<section class="faceoff-board">
<article class="player-zone opponent-zone" id="blackCubeZone">
<div class="zone-inner mirrored-mobile">
<div class="zone-head">
<div>
<span class="seat-tag dark-seat">Noir</span>
<h2 id="blackNameCube">Noir</h2>
</div>
<div class="zone-stats">
<strong id="blackCubeResult">--</strong>
<span id="blackCubeCap"></span>
</div>
</div>
<button class="zone-button dark-button" id="blackCubeButton" type="button">
Démarrer mon chrono
</button>
<p class="zone-foot" id="blackHintCube"></p>
</div>
</article>
<article class="phase-spine">
<div class="spine-card">
<p class="micro-label" id="cubeSpineLabel">Blocage</p>
<strong id="cubeSpineHeadline">Lancer la phase cube</strong>
<p id="cubeSpineText"></p>
</div>
<button class="button primary spine-button" id="primaryCubeButton" type="button">
En attente des joueurs
</button>
</article>
<article class="player-zone" id="whiteCubeZone">
<div class="zone-inner">
<div class="zone-head">
<div>
<span class="seat-tag light-seat">Blanc</span>
<h2 id="whiteNameCube">Blanc</h2>
</div>
<div class="zone-stats">
<strong id="whiteCubeResult">--</strong>
<span id="whiteCubeCap"></span>
</div>
</div>
<button class="zone-button light-button" id="whiteCubeButton" type="button">
Démarrer mon chrono
</button>
<p class="zone-foot" id="whiteHintCube"></p>
</div>
</article>
</section>
</main>
<section class="modal hidden" id="cubeHelpModal" aria-hidden="true">
<div class="modal-backdrop" data-close-cube-modal="true"></div>
<div class="modal-card">
<div class="modal-head">
<div>
<p class="eyebrow">Outils arbitre</p>
<h2>Phase cube</h2>
</div>
<button class="button ghost small" id="closeCubeHelpButton" type="button">
Fermer
</button>
</div>
<p class="section-copy" id="cubeHelpStatus"></p>
<div class="modal-actions">
<button class="button secondary" id="replayCubeButton" type="button">
Rejouer la phase cube
</button>
<button class="button ghost danger" id="cubeResetButton" type="button">
Réinitialiser le match
</button>
</div>
</div>
</section>
<script type="module" src="app.js"></script>
</body>
</html>