72 lines
2.7 KiB
HTML
72 lines
2.7 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
<title>Chess.Sistav.com</title>
|
|
<link rel="icon" href="/static/pieces/bQ.svg" type="image/svg+xml" />
|
|
<link rel="stylesheet" href="/static/style.css" />
|
|
</head>
|
|
<body>
|
|
<div class="masthead">
|
|
<div class="masthead-inner">
|
|
<a href="/" class="brand" aria-label="Chess.Sistav.com"><img src="/static/pieces/bQ.svg" alt="Chess.Sistav.com" width="26" height="26" /></a>
|
|
<a href="https://sistav.com">← sistav.com</a>
|
|
</div>
|
|
</div>
|
|
|
|
<header>
|
|
<h1>Chess Analysis</h1>
|
|
<p class="subtitle">"Jam a man of fortune, and J must seek my fortune." - Félix Lengyel</p>
|
|
</header>
|
|
|
|
<main>
|
|
<section class="panel" id="lookup-panel">
|
|
<div class="row lookup-row">
|
|
<input id="player-search" name="player-search" type="search"
|
|
placeholder="chess.com username" autocomplete="off"
|
|
data-bwignore="true" data-lpignore="true" data-1p-ignore />
|
|
<button id="load-btn">Load</button>
|
|
</div>
|
|
<p id="status" class="status"></p>
|
|
</section>
|
|
|
|
<section class="panel" id="games-panel" hidden>
|
|
<div class="games-toolbar">
|
|
<div class="month-nav">
|
|
<button id="older-month-btn" class="month-step" title="Older month" aria-label="Older month" disabled>
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="9" height="14" viewBox="0 0 8 12" aria-hidden="true"><path d="M6.5 1 L1.5 6 L6.5 11" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
</button>
|
|
<select id="month-select" disabled></select>
|
|
<button id="newer-month-btn" class="month-step" title="Newer month" aria-label="Newer month" disabled>
|
|
<svg xmlns="http://www.w3.org/2000/svg" width="9" height="14" viewBox="0 0 8 12" aria-hidden="true"><path d="M1.5 1 L6.5 6 L1.5 11" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round"/></svg>
|
|
</button>
|
|
</div>
|
|
</div>
|
|
<table id="games-table">
|
|
<thead>
|
|
<tr>
|
|
<th>Date</th>
|
|
<th>Opponent</th>
|
|
<th>Color</th>
|
|
<th>Result</th>
|
|
<th>Time control</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody id="games-body"></tbody>
|
|
</table>
|
|
</section>
|
|
</main>
|
|
|
|
<div id="busy-overlay" hidden>
|
|
<div class="busy-box">
|
|
<div class="busy-spinner"></div>
|
|
<p>Running Stockfish analysis…</p>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="/static/js/common.js"></script>
|
|
<script src="/static/js/index.js"></script>
|
|
</body>
|
|
</html>
|