feat(ci): Polling

Added polling for when the game starts and a card gets played
This commit is contained in:
LQ63
2025-11-12 11:46:21 +01:00
parent 6d958cdd9e
commit 5c8fd8510e
9 changed files with 342 additions and 34 deletions

View File

@@ -1,7 +1,7 @@
@(user: Option[model.users.User], gamelobby: logic.game.GameLobby)
@main("Lobby") {
<main class="lobby-background vh-100">
<main class="lobby-background vh-100" id="lobbybackground">
<div class="container d-flex flex-column" style="height: calc(100vh - 1rem);">
<div class="row">
<div class="col">
@@ -66,4 +66,9 @@
</div>
</div>
</main>
<script>
document.addEventListener('DOMContentLoaded', () => {
pollForUpdates('@gamelobby.id');
});
</script>
}