{% extends templates['booth/base.html'] %} {# Eos - Verifiable elections Copyright © 2017-18 RunasSudo (Yingtong Li) This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. #} {% block content %} <p>Your vote has <span class="superem">not</span> yet been cast. Your selections are shown below. Please review your selections and ensure you are happy with them before continuing.</p> <div class="ui negative message"> <p>Your vote has <span class="superem">not</span> yet been cast. Please follow the instructions to continue.</p> </div> {% for question in election.questions.impl %} <h2>{{ loop.index }}. {{ question.prompt }}</h2> {% include templates[selection_model_view_map[election.questions.__getitem__(loop.index0)._name]["selections_review"]] %} {% endfor %} <p>If you are happy with your selections, then make a note of </p> <p>Click ‘Continue’, and you will be able to log in to cast your vote.</p> {% endblock %} {% block buttons %} <button class="ui left floated button" onclick="prevTemplate();">Back</button> <button class="ui right floated primary button" onclick="nextTemplate(2);">Continue</button> {% endblock %} {% block after %} <div class="ui tiny message" style="margin-top: 3em;"> <div class="header">Information for advanced users</div> <p>Your ballot fingerprint is <span class="hash">{{ eosjs.eos.core.hashing.__all__.SHA256().update_obj(ballot).hash_as_b64() }}</span>.</p> <p>If you would like to audit your ballot, <a href="#" onclick="nextTemplate(1);">click here</a></p> </div> {% endblock %} {% block help %} <p>This screen shows your selections for each of the questions in this election. Please carefully check your selections and ensure they are as you intended.</p> <p>If there are any problems with your selections, they will be shown in red or orange.</p> <p>Click the ‘OK’ button below to close this help screen, then click the blue ‘Continue’ button if you are satisfied with your selections, otherwise, click the ‘Back’ button.</p> <p>If you require further assistance, contact your election administrator.</p> {% endblock %}