feat(ui): abort-game button next to new-game
Shows only while a game is in progress (hidden otherwise), red-tinted to distinguish from new-game. Hits POST /api/abort-game after a small confirm prompt. Game-over event hides it again.
This commit is contained in:
@@ -23,6 +23,7 @@
|
||||
<span id="sf-pv"></span>
|
||||
<button id="live-btn" hidden>live</button>
|
||||
<a id="games-link" href="/games">games & stats</a>
|
||||
<button id="abort-game" hidden>abort game</button>
|
||||
<button id="new-game">new game</button>
|
||||
<button id="settings-btn" title="settings">⚙</button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user