First RC
* Use embedded assets for templates * All Critical functions are working
This commit is contained in:
@@ -4,6 +4,16 @@
|
||||
<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>
|
||||
{{ if eq .PublicMode 1 }}
|
||||
<div>
|
||||
<h3>Current Results</h3>
|
||||
<ol>
|
||||
{{ range $i, $v := .TemplateData }}
|
||||
<li>{{ $v.Name }}</li>
|
||||
{{ end }}
|
||||
</ol>
|
||||
</div>
|
||||
{{ end }}
|
||||
<div>
|
||||
<h3>Admin Sections</h3>
|
||||
<button class="pure-button" onclick="window.location.href='/admin/votes'">Votes</button>
|
||||
|
Reference in New Issue
Block a user