Chore: template update
This commit is contained in:
		| @@ -3,7 +3,7 @@ | ||||
| 		{{template "login"}} | ||||
| 	{{ else if ne .LinkLogin "" }} | ||||
| 		{{template "linklogin" .LinkLogin}} | ||||
| 	{{ else if eq .State.RoomID "" }} | ||||
| 	{{ else if not .State.RoomID }} | ||||
| 		<div id="hello-user"> | ||||
| 	<p>data: {{.}} {{.State}} {{.Room}}</p> | ||||
| 			<p>Hello {{.State.Username}}</p> | ||||
|   | ||||
| @@ -25,7 +25,7 @@ | ||||
|   <hr /> | ||||
|   {{if .Room.IsRunning}} | ||||
|     <p>Turn of the <span class="text-{{.Room.TeamTurn}}-500">{{.Room.TeamTurn}}</span> team</p> | ||||
| {{template "turntimer" .Room}} | ||||
| {{template "turntimer" .Room.Settings}} | ||||
|     {{if .Room.MimeDone}} | ||||
|     <p class="text-{{.Room.TeamTurn}}-500 text-xl">Waiting for guessers</p> | ||||
|     <p class="text-{{.Room.TeamTurn}}-500 text-xl">Given Clue: "{{.Room.FetchLastClueWord}}"</p> | ||||
|   | ||||
| @@ -12,7 +12,7 @@ | ||||
|                 <span class="font-medium text-gray-700">{{.CreatorName}}</span> | ||||
|             </div> | ||||
|             <div class="mt-1 flex items-center gap-3"> | ||||
|                 <span class="px-2 py-1 text-xs font-medium rounded-full {{if .IsGameRunning}}bg-green-100 text-green-800{{else}}bg-gray-100 text-gray-600{{end}}"> | ||||
|                 <span class="px-2 py-1 text-xs font-medium rounded-full {{if .IsRunning}}bg-green-100 text-green-800{{else}}bg-gray-100 text-gray-600{{end}}"> | ||||
|                     {{if .IsRunning}}Game Active{{else}}Waiting Room{{end}} | ||||
|                 </span> | ||||
|             </div> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder