Session tokens control player options for create / login

This commit is contained in:
2024-03-21 17:48:24 -05:00
parent 514d4ebf40
commit e0e6c30752
5 changed files with 44 additions and 21 deletions

View File

@ -7,7 +7,7 @@
<% end %>
<article class="container-fluid">
<p style="text-align: center;">Game</p>
<main style="width: 50%;" class="container" id="map" hx-get="/map/render" hx-trigger="every 1s,load">
<main style="width: 50%;" class="container" id="map" hx-get="/map/render" hx-trigger="every 10s,load">
</main>
<div>
<% render("views.player_ui") %>

View File

@ -9,7 +9,7 @@
<article style="text-align: center;">
<h3>Log In / Create Game</h3>
<p>Player will be created if player name does not already exist.</p>
<p>Player will be created if player name does not already exist. Names may not contain whitespace.</p>
<form>
<div class="grid">
<input type="text" name="playername">