93 lines
2.9 KiB
HTML
93 lines
2.9 KiB
HTML
<!doctype html>
|
||
<html lang="ru">
|
||
<head>
|
||
<meta charset="utf-8" />
|
||
<title>ai-chess — games & stats</title>
|
||
<link rel="stylesheet" href="/static/vendor/chessground.base.css" />
|
||
<link rel="stylesheet" href="/static/vendor/chessground.brown.css" />
|
||
<link rel="stylesheet" href="/static/vendor/chessground.cburnett.css" />
|
||
<link rel="stylesheet" href="/static/style.css" />
|
||
</head>
|
||
<body>
|
||
<main id="games-page">
|
||
<header id="games-page-header">
|
||
<a id="back-link" href="/">← back to live</a>
|
||
<h1>games & stats</h1>
|
||
<span id="games-count"></span>
|
||
</header>
|
||
|
||
<div id="blocked-banner" hidden>
|
||
<strong>Game in progress.</strong> Finish or abort it on the
|
||
<a href="/">main page</a> before browsing past games.
|
||
</div>
|
||
|
||
<div id="page-grid">
|
||
<section id="stats-pane">
|
||
<header class="col-header"><span>leaderboard (player × model)</span></header>
|
||
<table id="leaderboard">
|
||
<thead>
|
||
<tr>
|
||
<th>agent / model</th>
|
||
<th>games</th>
|
||
<th>wins</th>
|
||
<th>draws</th>
|
||
<th>losses</th>
|
||
<th>score</th>
|
||
<th>winrate</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody></tbody>
|
||
</table>
|
||
|
||
<header class="col-header"><span>by persona</span></header>
|
||
<table id="leaderboard-prompts">
|
||
<thead>
|
||
<tr><th>persona</th><th>games</th><th>wins</th><th>draws</th><th>losses</th><th>score</th></tr>
|
||
</thead>
|
||
<tbody></tbody>
|
||
</table>
|
||
</section>
|
||
|
||
<section id="games-pane">
|
||
<header class="col-header"><span>games</span></header>
|
||
<table id="games-table">
|
||
<thead>
|
||
<tr>
|
||
<th>id</th>
|
||
<th>white</th>
|
||
<th>black</th>
|
||
<th>result</th>
|
||
<th>termination</th>
|
||
<th>moves</th>
|
||
<th>pgn</th>
|
||
</tr>
|
||
</thead>
|
||
<tbody></tbody>
|
||
</table>
|
||
|
||
<div id="replay-wrap" hidden>
|
||
<header class="col-header"><span id="replay-title">replay</span>
|
||
<button id="replay-close" type="button">close</button>
|
||
</header>
|
||
<div id="replay-layout">
|
||
<div id="replay-board"></div>
|
||
<aside id="replay-side">
|
||
<div id="replay-controls">
|
||
<button id="replay-first">⏮</button>
|
||
<button id="replay-prev">←</button>
|
||
<button id="replay-next">→</button>
|
||
<button id="replay-last">⏭</button>
|
||
<span id="replay-ply">ply 0/0</span>
|
||
<span id="replay-eval"></span>
|
||
</div>
|
||
<ol id="replay-history"></ol>
|
||
</aside>
|
||
</div>
|
||
</div>
|
||
</section>
|
||
</div>
|
||
</main>
|
||
<script src="/static/games.js" type="module"></script>
|
||
</body>
|
||
</html>
|