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

updated docs

parent b72cb761
Branches
Tags
No related merge requests found
...@@ -8,7 +8,6 @@ from views import * ...@@ -8,7 +8,6 @@ from views import *
urlpatterns = None urlpatterns = None
urlpatterns = patterns('', urlpatterns = patterns('',
(r'^$', home),
(r'^autologin$', admin_autologin), (r'^autologin$', admin_autologin),
(r'^testcookie$', test_cookie), (r'^testcookie$', test_cookie),
(r'^testcookie_2$', test_cookie_2), (r'^testcookie_2$', test_cookie_2),
......
...@@ -90,34 +90,6 @@ def user_reauth(request, user): ...@@ -90,34 +90,6 @@ def user_reauth(request, user):
request.get_full_path()})) request.get_full_path()}))
return HttpResponseRedirect(login_url) return HttpResponseRedirect(login_url)
##
# simple static views
def home(request):
user = get_user(request)
if user:
elections = Election.get_by_user_as_admin(user, archived_p = False)
else:
elections = []
return render_template(request, "index", {'elections' : elections})
def stats(request):
user = get_user(request)
if not user or not user.admin_p:
raise PermissionDenied()
page = int(request.GET.get('page', 1))
limit = int(request.GET.get('limit', 25))
elections = Election.objects.all().order_by('-created_at')
elections_paginator = Paginator(elections, limit)
elections_page = elections_paginator.page(page)
return render_template(request, "stats", {'elections' : elections_page.object_list, 'elections_page': elections_page,
'limit' : limit})
## ##
## simple admin for development ## simple admin for development
## ##
......
...@@ -12,6 +12,29 @@ ...@@ -12,6 +12,29 @@
<div class="row"> <div class="row">
<p>
The Helios Voting technology is based on advanced peer-reviewed
cryptographic techniques that enable your vote to remain secret while
providing an intelligent ballot tracker to let you verify that your
ballot was received and counted properly:
</p>
<ul>
<li> <a href="http://documentation.heliosvoting.org/">technical documentation</a></li>
<li> <a href="http://www.usenix.org/events/sec08/tech/full_papers/adida/adida.pdf">original peer-reviewed (Usenix Security 2008)</a></li>
<li> <a href="http://www.uclouvain.be/crypto/electionmonitor/default/about">Helios Election Monitor</a>, produced by the Universite catholique de Louvain.</li>
</ul>
<p>
Helios has been covered in the press:
</p>
<ul>
<li> <a href="http://www.kcbs.com/bayareanews/Tracking-Votes-During-Elections/7161136">KCBS News Interview, May 2010</a></li>
<li> <a href="http://harvardmagazine.com/2010/05/secret-ballots-verifiable-votes">Harvard Magazine, April 2010</a></li>
<li> <a href="http://www.ynet.co.il/articles/0,7340,L-3720204,00.html">Ynet, Israeli Press, June 2009</a></li>
</div> </div>
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment