Select Git revision
index.html 2.97 KiB
{% extends 'server_ui/templates/base.html' %}
{% block title %}{{ settings.SITE_TITLE }}{% endblock %}
{% block header %}
<h2>{{ settings.SITE_TITLE }}</h2>
{% endblock %}
{% block content %}
<div class="row"><div class="large-5 columns large-centered"><a href="/"><img border="0" src="/static/logo.png" /></a></div></div>
<div class="row"> </div>
<div class="large-9 columns">
{% if settings.MASTER_HELIOS %}
<p>Helios offers <b>verifiable online elections</b>.</p>
<p>We believe democracy is important, whether it’s your book club, parent-teacher association, student government, workers’ union, or state. So we’ve made truly verifiable elections as easy as everything else on the Web.</p>
<p>
Helios elections are:
<ul class="disc">
<li><b>private</b>: no one knows how you voted.</li>
<li><b>verifiable</b>: each voter gets a tracking number.</li>
<li><b>proven</b>: Helios is open-source, vetted by top-tier experts, and in use by major organizations.</li>
</ul>
<p>
More than <b>100,000 votes</b> have been cast using Helios.
</p>
{% if create_p %}
<a class="button" href="{% url helios.views.election_new %}">create an election</a>
{% endif %}
{% else %}
<p style="font-size: 1.4em;">
{{settings.WELCOME_MESSAGE|safe}}
</p>
{% if elections|length %}
<h3>Current Featured Elections</h3>
<p>
{% for election in elections %}
<div class="highlight-box-margin">
<a style="font-size: 1.4em;" href="{% url helios.views.election_shortcut election.short_name %}">{{election.name}}</a> by {{election.admin.display_html_small|safe}}<br />
{{election.description}}
</div>
<br />
{% endfor %}
</p>
{% else %}
<h4>no featured elections at the moment</h4>
{% endif %}
{% endif %}
</div>
<div class="large-3 columns" id="mystuff">
<div class="row"> </div>
<div class="panel row">
{% if user %}
<!--<div class="row right">{{user.display_html_big|safe}}</div>-->
{% if create_p %}
<a class="small button" href="{% url helios.views.election_new %}">create election</a>
<h5 class="subheader">Administration</h5>
{% if elections_administered %}
<ul class="inline-list">
{% for election in elections_administered %}
<li> <a href="{% url helios.views.one_election_view election.uuid %}">{{election.name}}</a></li>
{% endfor %}
</ul>{% else %}
<em>none yet</em>
{% endif %}
<div class="row right">
<a class="tiny button" href="{% url helios.views.elections_administered %}">see all</a>
</div>
<div class="row"></div>
{% endif %}
<h5 class="subheader">Recent Votes</h5>
{% if elections_voted %}
<ul class="inline-list">
{% for election in elections_voted %}
<li><a href="{% url helios.views.one_election_view election.uuid %}">{{election.name}}</a></li>
{% endfor %}
</ul>
{% else %}
<em>none yet</em>
{% endif %}
<div class="row right"><a class="tiny button" href="{% url helios.views.elections_voted %}">see all</a></div>
<div class="row"></div>
{% else %}
<h5>Log In to Start Voting</h5>
{{login_box|safe}}
{% endif %}
<br /><br />
</div>
</div>
{% endblock %}