Display session code to organisers

This commit is contained in:
Vojtěch Káně
2021-04-01 13:48:51 +02:00
parent a5bc7c6984
commit bdcbb8c283
2 changed files with 9 additions and 1 deletions

View File

@@ -8,7 +8,7 @@
{{ end -}} {{ end -}}
{{- define "header" }} {{- define "header" }}
<h1>{{ .P.Edges.Session.Edges.Game.Name }}</h1> <h1>{{ .P.Edges.Session.Edges.Game.Name }}<span id="session-code"> ({{ .P.Edges.Session.Code }})</span></h1>
{{ end -}} {{ end -}}
{{- define "main" }} {{- define "main" }}

View File

@@ -65,6 +65,14 @@ body.organiser #controls {
justify-content: flex-end; justify-content: flex-end;
} }
#session-code {
display: none;
}
body.organiser #session-code {
display: inline;
}
@keyframes appear { @keyframes appear {
from { from {
transform: scale(2, 2); transform: scale(2, 2);