Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Helios Server
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TO
Helios Server
Commits
e1effea0
Commit
e1effea0
authored
15 years ago
by
Ben Adida
Browse files
Options
Downloads
Patches
Plain Diff
loading gif, spacing, updated emails
parent
7aba0187
No related branches found
No related tags found
No related merge requests found
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
helios
+1
-1
1 addition, 1 deletion
helios
iacr/templates/base.html
+1
-0
1 addition, 0 deletions
iacr/templates/base.html
iacr/templates/confirm.html
+19
-1
19 additions, 1 deletion
iacr/templates/confirm.html
iacr/views.py
+2
-1
2 additions, 1 deletion
iacr/views.py
settings.py
+0
-1
0 additions, 1 deletion
settings.py
with
23 additions
and
4 deletions
helios
@
b83b4f96
Compare
b70bdb6c
...
b83b4f96
Subproject commit b
70bdb6c07059fe22b073a6f6b2854e00ea12e95
Subproject commit b
83b4f96b3c4f717eece96f054b5e287a19a4c7d
This diff is collapsed.
Click to expand it.
iacr/templates/base.html
+
1
−
0
View file @
e1effea0
...
...
@@ -36,6 +36,7 @@
</div>
{% block content %}{% endblock %}
<div
id=
"footer"
>
<br
/><br
/>
<em>
This web site is not endorsed by the IACR. It is only meant for demonstration purposes.
</em>
</div>
</div>
...
...
This diff is collapsed.
Click to expand it.
iacr/templates/confirm.html
+
19
−
1
View file @
e1effea0
...
...
@@ -2,6 +2,16 @@
{% block title %}Confirm Vote{% endblock %}
{% block content %}
<script
language=
"javascript"
>
$
(
document
).
ready
(
function
()
{
$
(
'
#waiting_div
'
).
hide
();
});
function
show_waiting
()
{
$
(
'
#cast_div
'
).
hide
();
$
(
'
#waiting_div
'
).
show
();
}
</script>
<h1>
Confirm your Vote
</h1>
{% if error %}
...
...
@@ -14,9 +24,10 @@
<tt>
{{vote_fingerprint}}
</tt>
</p>
<div
id=
"cast_div"
>
<h3>
Cast Your Ballot with your Credentials
</h3>
<form
method=
"post"
action=
""
>
<form
method=
"post"
onsubmit=
"show_waiting();"
action=
""
>
<input
type=
"hidden"
name=
"csrf_token"
value=
"{{csrf_token}}"
/>
<table>
...
...
@@ -29,4 +40,11 @@
<p>
Forgot your password?
<a
href=
"{% url auth.auth_systems.password.password_forgotten_view %}?return_url={% url iacr.views.cast_confirm %}"
>
Have it emailed to you
</a>
.
<br
/>
(don't worry, we won't forget your vote).
</p>
</div>
<div
id=
"waiting_div"
align=
"center"
>
Verifying and Casting your ballot
<br
/>
<img
src=
"/static/helios/loading.gif"
/>
</div>
{% endblock %}
This diff is collapsed.
Click to expand it.
iacr/views.py
+
2
−
1
View file @
e1effea0
...
...
@@ -34,7 +34,8 @@ def home(request):
'
openreg
'
:
False
,
'
admin
'
:
helios
.
ADMIN
,
'
tally_type
'
:
'
homomorphic
'
,
'
ballot_type
'
:
'
homomorphic
'
'
ballot_type
'
:
'
homomorphic
'
,
'
use_voter_aliases
'
:
True
}
election
=
get_election
()
...
...
This diff is collapsed.
Click to expand it.
settings.py
+
0
−
1
View file @
e1effea0
...
...
@@ -126,6 +126,5 @@ DEBUG = True
TEMPLATE_DEBUG
=
True
URL_HOST
=
"
https://iacr-helios.appspot.com
"
URL_HOST
=
""
IACR_ELECTION_UUID
=
'
iacr
'
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment