Going home
This commit is contained in:
parent
77508479b4
commit
89533a54b1
9 changed files with 256 additions and 151 deletions
|
@ -53,6 +53,7 @@
|
|||
</span>
|
||||
|
||||
<!-- Poll Voting Section -->
|
||||
<p id="poll-num" hidden>{{ poll_num}}</p>
|
||||
<h3>Poll {{ poll_num }} of {{ poll_count }}: {{object.question_text}}</h3>
|
||||
<hr/>
|
||||
|
||||
|
@ -124,7 +125,7 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="modal-footer">
|
||||
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
|
||||
<button id="close-button" type="button" class="btn btn-danger" data-dismiss="modal">Close without submitting vote</button>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
18
allauthdemo/templates/polls/vote_audit.html
Normal file
18
allauthdemo/templates/polls/vote_audit.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
{% extends "bases/bootstrap-with-nav.html" %}
|
||||
{% load staticfiles %}
|
||||
{% load bootstrap3 %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
<input id="SK" value="temporary" type="text"/>
|
||||
<button id="begin-test">Verify Ballot</button>
|
||||
<br>
|
||||
<br>
|
||||
<label for="ballot">AES-encrypted ballot from server</label>
|
||||
<pre id="ballot">{{ ballot }}</pre>
|
||||
<label for="ballot-content">Decrypted ballot</label>
|
||||
<pre id="ballot-content"></pre>
|
||||
<label for="ballot">Ballot encoding</label>
|
||||
<pre id="ballot-result"></pre>
|
||||
|
||||
{% endblock %}
|
Reference in a new issue