Feat: ru words; make last clue more prominent
This commit is contained in:
@ -15,10 +15,13 @@
|
||||
{{end}}
|
||||
</div>
|
||||
<script>
|
||||
// Scroll to the bottom of the action history container
|
||||
const container = document.getElementById('actionHistoryContainer');
|
||||
if (container) {
|
||||
container.scrollTop = container.scrollHeight;
|
||||
if (!window.actionHistoryScrollSet) {
|
||||
htmx.onLoad(function(target) {
|
||||
if (target.id === 'actionHistoryContainer') {
|
||||
target.scrollTop = target.scrollHeight;
|
||||
}
|
||||
});
|
||||
window.actionHistoryScrollSet = true;
|
||||
}
|
||||
</script>
|
||||
{{end}}
|
||||
|
@ -26,9 +26,10 @@
|
||||
{{if .Room.IsRunning}}
|
||||
<p>Turn of the <span class="text-{{.Room.TeamTurn}}-500">{{.Room.TeamTurn}}</span> team</p>
|
||||
{{if .Room.MimeDone}}
|
||||
<p class="text-{{.Room.TeamTurn}}-500">Waiting for guessers</p>
|
||||
<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>
|
||||
{{else}}
|
||||
<p class="text-{{.Room.TeamTurn}}-500">Waiting for mime</p>
|
||||
<p class="text-{{.Room.TeamTurn}}-500 text-xl">Waiting for mime</p>
|
||||
{{end}}
|
||||
{{template "cardcounter" .Room}}
|
||||
{{end}}
|
||||
|
Reference in New Issue
Block a user