Feat: turn timer
This commit is contained in:
		| @@ -25,6 +25,7 @@ | ||||
|   <hr /> | ||||
|   {{if .Room.IsRunning}} | ||||
|     <p>Turn of the <span class="text-{{.Room.TeamTurn}}-500">{{.Room.TeamTurn}}</span> team</p> | ||||
| {{template "turntimer" .Room}} | ||||
|     {{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> | ||||
|   | ||||
							
								
								
									
										5
									
								
								components/turntimer.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										5
									
								
								components/turntimer.html
									
									
									
									
									
										Normal file
									
								
							| @@ -0,0 +1,5 @@ | ||||
| {{define "turntimer"}} | ||||
| <div> | ||||
|   Timer: <span sse-swap="turntimer_{{.ID}}">{{.Settings.TurnSecondsLeft}}</span> | ||||
| </div> | ||||
| {{end}} | ||||
		Reference in New Issue
	
	Block a user
	 Grail Finder
					Grail Finder