2017-12-11 17:34:57 +11:00
{% extends templates['booth/base.html'] %}
{#
Eos - Verifiable elections
2018-01-08 23:16:28 +11:00
Copyright © 2017-18 RunasSudo (Yingtong Li)
2017-12-11 17:34:57 +11:00
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.< / 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 >
2018-01-08 23:16:28 +11:00
< p > If you have not already done so, please make a note of your ballot fingerprint, < span class = "hash" > {{ eosjs.eos.core.hashing.__all__.SHA256().update_obj(ballot).hash_as_b64(true) }}< / span > . Please retain a copy of your ballot fingerprint – you can use it to verify that your vote has been counted correctly. You may < a href = "#" onclick = "window.print();return false;" > print this page< / a > as a receipt if you wish.< / p >
2017-12-11 17:34:57 +11:00
< p > To continue, copy and paste the ballot below and provide it to the election administrator.< / p >
< div class = "ui form" >
{# For some reason nunjucks doesn't like calling this the normal way #}
{% set ballot_deaudit = ballot.deaudit() %}
< textarea > {{ ballot_deaudit.to_json(ballot_deaudit.serialise_and_wrap(ballot_deaudit)) }}< / textarea >
< / div >
{% endblock %}
{% block buttons %}
< button class = "ui left floated button" onclick = "prevTemplate();" > Back< / a >
{% endblock %}