Added a game-link page

Also tweaked a few other things
Kinda worked more on the client authentication stuff
This commit is contained in:
2017-07-19 10:16:18 -05:00
parent c2959b3974
commit f2dde0c709
12 changed files with 228 additions and 165 deletions

View File

@@ -4,6 +4,13 @@
<button onclick="window.location.href='/admin/mode/0'" class="pure-button-toggle-first pure-button {{ if eq .PublicMode 0 }}pure-button-primary{{ end }}">Waiting</button>
<button onclick="window.location.href='/admin/mode/1'" class="pure-button-toggle-last pure-button {{ if eq .PublicMode 1 }}pure-button-primary{{ end }}">Voting</button>
</div>
<!--
<div>
<h3>Allowed Voting Terminals</h3>
<button onclick="window.location.href='/admin/authmode/0'" class="pure-button-toggle-first pure-button {{ if eq .AuthMode 0 }}pure-button-primary{{ end }}">Only Authenticated Clients</button>
<button onclick="window.location.href='/admin/authmode/1'" class="pure-button-toggle-last pure-button {{ if eq .AuthMode 1 }}pure-button-primary{{ end }}">Any Client Can Vote</button>
</div>
-->
{{ if eq .PublicMode 1 }}
<div>
<h3>Current Results</h3>