diff --git a/ui/html/game.page.tmpl.html b/ui/html/game.page.tmpl.html index 8dfe00d..b326502 100644 --- a/ui/html/game.page.tmpl.html +++ b/ui/html/game.page.tmpl.html @@ -8,7 +8,7 @@ {{ end -}} {{- define "header" }} -

{{ .P.Edges.Session.Edges.Game.Name }}

+

{{ .P.Edges.Session.Edges.Game.Name }} ({{ .P.Edges.Session.Code }})

{{ end -}} {{- define "main" }} diff --git a/ui/static/game.css b/ui/static/game.css index 279af5b..07cd9e7 100644 --- a/ui/static/game.css +++ b/ui/static/game.css @@ -65,6 +65,14 @@ body.organiser #controls { justify-content: flex-end; } +#session-code { + display: none; +} + +body.organiser #session-code { + display: inline; +} + @keyframes appear { from { transform: scale(2, 2);