Commit 11fac274 authored by Stephane Glondu's avatar Stephane Glondu
Browse files

Customize the booth

parent b8393e68
<span style="float:right; padding-right:20px;">
<a target="_new" href="mailto:help@heliosvoting.org?subject=help%20with%20election%20{$T.election.name}&body=I%20need%20help%20with%20election%20{$T.election.uuid}">help!</a>
<a target="_new" href="mailto:stephane.glondu@inria.fr?subject=help%20with%20election%20{$T.election.name}&body=I%20need%20help%20with%20election%20{$T.election.uuid}">help!</a>
</span>
{#if $T.election.BOGUS_P}
The public key for this election is not yet ready. This election is in preview mode only.
......
......@@ -10,12 +10,9 @@ Please <b><u>keep a record</u></b> of your smart ballot tracker [<a onclick="BOO
</p>
<p>
To protect your privacy:
<ul>
<li> Helios has not yet asked for your identity.</li>
<li> Once you click "Proceed", Helios will remember only your encrypted vote.</li>
<li> Thus, only you know your vote.</li>
</ul>
At this stage, your ballot has been prepared locally on your computer
and has not yet been sent to the server. The next step is to send your
vote to the server.
</p>
<button id="proceed_button" onclick="BOOTH.cast_ballot();">Proceed to Cast</button><br />
......@@ -28,3 +25,5 @@ To protect your privacy:
{$T.encrypted_vote_json}
</textarea>
</form>
<p>You can optionally <a href="javascript:save_ballot()">save your encrypted ballot</a>.</p>
......@@ -2,7 +2,7 @@
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8" />
<title>Helios Voting Booth</title>
<title>Belenios Voting Booth</title>
<link rel="stylesheet" type="text/css" href="css/booth.css" />
<link rel="stylesheet" type="text/css" href="css/forms.css" />
<script language="javascript" src="js/jscrypto/class.js"></script>
......@@ -35,7 +35,7 @@
<body>
<div id="wrapper">
<span style="float:right; padding: 7px 15px 5px 10px;">[<a href="javascript:BOOTH.exit();">exit</a>]</span>
<div id="banner">Helios Voting Booth</div>
<div id="banner">Belenios Voting Booth</div>
<div id="content">
<div id="header">
......@@ -567,6 +567,10 @@ BOOTH.ask_token = function () {
}
};
function save_ballot() {
UTILS.open_window_with_content($('#send_ballot_form')[0].elements[0].value, "application/json");
}
</script>
<div id="page">
<div id="progress_div" style="display:none; width: 500px; margin:auto;">
......@@ -582,7 +586,7 @@ BOOTH.ask_token = function () {
<div id="error_div" class="panel" style="display: none;">
<h3>There's a problem</h3>
<p>
It appears that your browser does not have Java enabled. Helios needs Java to perform encryption within the browser.
It appears that your browser does not have Java enabled. The booth needs Java to perform encryption within the browser.
</p>
<p>
You may be able to install Java by visiting <a target="_new" href="http://java.com">java.com</a>.
......@@ -600,7 +604,7 @@ BOOTH.ask_token = function () {
</div>
<div id="encrypting_div" class="panel" style="display:none;">
<h3 align="center">Helios is now encrypting your ballot<br />
<h3 align="center">The booth is now encrypting your ballot<br />
<img src="encrypting.gif" /> <span style="font-size:0.7em; display:none;" id="percent_done_container">(<span id="percent_done">0</span>%)</span></h3>
<p align="center"><b>This may take up to two minutes.</b>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment