Enha: state to hold room_id instead of whole room

This commit is contained in:
Grail Finder
2025-05-08 10:25:38 +03:00
parent 3ade7310a7
commit b20f7ac6b7
12 changed files with 110 additions and 35 deletions

View File

@ -1,6 +1,6 @@
{{define "room"}}
<div id="hello-user">
<p>Hello {{.Username}}</p>
<p>Hello {{.State.Username}}</p>
</div>
<hr />
<div class="flex justify-center">
@ -11,6 +11,6 @@
</div>
<hr />
<div id="cardtable">
{{template "cardtable" .}}
{{template "cardtable" .Room}}
</div>
{{end}}