Skip to content
Snippets Groups Projects
Commit cf15f5b1 authored by Ben Adida's avatar Ben Adida
Browse files

fixed up the check-sk feature

parent 2776825a
No related branches found
No related tags found
No related merge requests found
...@@ -259,7 +259,7 @@ You are <em>not eligible</em> to vote in this election, because registration is ...@@ -259,7 +259,7 @@ You are <em>not eligible</em> to vote in this election, because registration is
verify <a target="_blank" href="/verifier/verify.html?election_url={% url helios.views.one_election election.uuid %}">election tally</a>. verify <a target="_blank" href="/verifier/verify.html?election_url={% url helios.views.one_election election.uuid %}">election tally</a>.
{% endif %} {% endif %}
review the <a href="{{SECURE_URL_HOST}}/booth/vote.html?election_url={% url helios.views.one_election election.uuid %}">voting booth</a>. review the <a href="{{vote_url}}">voting booth</a>.
</p> </p>
{% endif %} {% endif %}
......
...@@ -43,7 +43,7 @@ function check_sk(sk_value) { ...@@ -43,7 +43,7 @@ function check_sk(sk_value) {
} }
} }
</script> </script>
<h2 class="title">{{election.name}} &mdash; Trustee {{trustee.name}} &mdash; Check Secret Key</span></h2> <h2 class="title">{{election.name}} &mdash; Trustee {{trustee.name}} &mdash; Check Secret Key <span style="font-size:0.7em;">[<a href="./home">back to trustee home</a>]</span></h2>
<p> <p>
Your public key fingerprint is: <b>{{trustee.public_key_hash}}</b> Your public key fingerprint is: <b>{{trustee.public_key_hash}}</b>
...@@ -58,7 +58,7 @@ loading crypto functions... ...@@ -58,7 +58,7 @@ loading crypto functions...
To verify that you have the right secret key, paste it here: To verify that you have the right secret key, paste it here:
<p> <p>
<form onsubmit="check_sk(this.secret_key.value); return false;"> <form onsubmit="check_sk(this.secret_key.value); this.secret_key.value=''; return false;">
<textarea name="secret_key" cols="60" rows ="5" wrap="soft"> <textarea name="secret_key" cols="60" rows ="5" wrap="soft">
</textarea> </textarea>
<br /> <br />
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment