Feat: card counter
This commit is contained in:
6
components/cardcounter.html
Normal file
6
components/cardcounter.html
Normal file
@ -0,0 +1,6 @@
|
||||
{{define "cardcounter"}}
|
||||
<div class="flex justify-center">
|
||||
<p>Blue cards left: {{.BlueCounter}}</p>
|
||||
<p>Red cards left: {{.RedCounter}}</p>
|
||||
</div>
|
||||
{{end}}
|
@ -19,6 +19,9 @@
|
||||
</p>
|
||||
</div>
|
||||
<hr />
|
||||
{{if .Room.IsRunning}}
|
||||
{{template "cardcounter" .Room}}
|
||||
{{end}}
|
||||
<div class="flex justify-center">
|
||||
<!-- Left Panel -->
|
||||
{{template "teamlist" .Room.BlueTeam}}
|
||||
|
Reference in New Issue
Block a user