Feat: game setting fields

This commit is contained in:
Grail Finder
2025-06-30 17:39:07 +03:00
parent 87a0f870e8
commit a51668e321
5 changed files with 27 additions and 15 deletions

View File

@ -5,7 +5,7 @@
or<br/>
<button button class="justify-center rounded-md bg-indigo-600 px-3 py-1.5 text-sm font-semibold leading-6 text-white shadow-sm hover:bg-indigo-500 focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2 focus-visible:outline-indigo-600" hx-get="/room/hideform" hx-target=".create-room-div" >Hide Form</button>
<form hx-post="/room-create" hx-target="#ancestor">
<label For="game_time">Game Time:</label><br/>
<label For="game_time">Turn Seconds:</label><br/>
<input type="number" id="game_time" name="game_time" class="text-center text-white" value="300"/><br/>
<label For="language">Language:</label><br/>
<input type="text" id="language" name="language" class="text-center text-white" value="en"/><br/>

View File

@ -57,7 +57,7 @@
</ul>
</div>
<div sse-swap="journal_{{.Room.ID}}">
sse div
bot thoughts
<div>
<div id="cardtable">
{{template "cardtable" .Room}}