feat: release hand endpoint & button
This commit is contained in:
@@ -35,7 +35,7 @@
|
||||
id="roomTextContainer"
|
||||
class="bg-blue-200"
|
||||
hx-ext="sse"
|
||||
sse-connect="/rooms/subscribe?roomName=test"
|
||||
sse-connect="/rooms/subscribe?roomName={{ .Room.Name }}"
|
||||
>
|
||||
{{ block "simpleRoomShow" .Room }}
|
||||
<!-- TODO use template, not block, have only 'loader' in base place -->
|
||||
@@ -53,6 +53,11 @@
|
||||
{{ .Name }}
|
||||
</button>
|
||||
{{ end }}
|
||||
<button hx-get="/rooms/releaseHand"
|
||||
class="bg-white rounded border-yellow-700 border-4"
|
||||
>
|
||||
Release Hand
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user