Skip to content

Commit

Permalink
more tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
benadida committed Jan 15, 2022
1 parent ab322e5 commit 02049ba
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 16 deletions.
6 changes: 4 additions & 2 deletions helios/templates/election_cast_confirm.html
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,10 @@ <h1>Sorry!<h1>

{% endif %}
<br />
Your ballot tracker is:<br /><br />
<tt style="font-weight: bold;"> {{vote_fingerprint}}</tt>
<div style="font-size:0.8em;">
Your ballot tracker is:<br>
<b>{{vote_fingerprint}}</b>
</div>
</p>
{# this closes the IF ELSE of this being password_only #}
{% endif %}
Expand Down
6 changes: 5 additions & 1 deletion heliosbooth/templates/election.html
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

<div id="questions_div">
<p>
To vote, you will follow these steps:
To vote, follow these steps:
<p>

<ol>
Expand All @@ -18,3 +18,7 @@
<div align="center"><button onclick="BOOTH.show_question(0);">Start</button></div>
</div>

<p>
You can <a target="_new" href="mailto:{$T.election_metadata.help_email}?subject=help%20with%20election%20{$T.election.name}&body=I%20need%20help%20with%20election%20{$T.election.uuid}">email for help</a>.
</p>

7 changes: 1 addition & 6 deletions heliosbooth/templates/footer.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="box"></div>

<div class="box">
<span>
{#if $T.election.BOGUS_P}
Expand All @@ -8,8 +8,3 @@
{#/if}
</span>
</div>
<div class="box">
<span>
<a target="_new" href="mailto:{$T.election_metadata.help_email}?subject=help%20with%20election%20{$T.election.name}&body=I%20need%20help%20with%20election%20{$T.election.uuid}">help</a>
</span>
</div>
1 change: 0 additions & 1 deletion heliosbooth/templates/header.html
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
<h1 id="election_name">{$T.election.name}</h1>
<p>&nbsp;</p>
8 changes: 4 additions & 4 deletions heliosbooth/templates/seal.html
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<h3>Review your Ballot</h3>

<div style="padding: 10px; margin-bottom: 10px; background-color: #eee; border: 1px #ddd solid; max-width: 340px;">
<div style="padding: 10px; margin-bottom: 10px; background-color: #eee; border: 1px #ddd solid;">
{#foreach $T.questions as question}

<b>Question #{$T.question$index + 1}: {$T.question.short_name}</b><br>
Question #{$T.question$index + 1}: {$T.question.short_name}<br>
{#if $T.choices[$T.question$index].length == 0}
<div style="margin-left: 15px;">&#x2610; <i>No choice selected</i></div>
<div style="margin-left: 15px;">&#x2610; <b><i>No choice selected</i></b></div>
{#/if}
{#foreach $T.choices[$T.question$index] as choice}
<div style="margin-left: 15px;">&#x2713; {$T.choice}</div>
<div style="margin-left: 15px;">&#x2713; <b>{$T.choice}</b></div>
{#/for}
{#if $T.choices[$T.question$index].length < $T.question.max}
[{$T.choices[$T.question$index].length} selections out of possible {$T.question.min}-{$T.question.max}]<br />
Expand Down
4 changes: 2 additions & 2 deletions heliosbooth/vote.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<body>
<div id="wrapper">
<div id="banner" class="edge">
<div class="box"></div>
<div class="box"></div>
<div class="box"><span>Helios Voting Booth</span></div>
<div class="box"><span><a href="javascript:BOOTH.exit();">exit</a></span></div>
</div>
Expand Down Expand Up @@ -210,7 +210,7 @@
};

BOOTH.show_election = function() {
BOOTH.show($('#election_div')).processTemplate({'election' : BOOTH.election});
BOOTH.show($('#election_div')).processTemplate({'election' : BOOTH.election, 'election_metadata': BOOTH.election_metadata});
};

BOOTH.launch_async_encryption_answer = function(question_num) {
Expand Down

0 comments on commit 02049ba

Please sign in to comment.