Skip to content
Snippets Groups Projects
Select Git revision
  • 8e12adcc06b02be47637224c2e24372235c2b1e7
  • test default protected
  • master protected
  • original
  • pirati-backup protected
  • beta-2
  • beta-1
  • v3.1.4
  • v3.1.3
  • v3.1.2
  • v3.1.1
  • v3.1.0
  • v3.0.16
  • v3.0.15
  • v3.0.14
  • v3.0.13
  • v3.0.12
  • v3.0.11
  • v3.0.10
  • v3.0.9
  • v3.0.8
  • v3.0.7
  • v3.0.6
  • v3.0.5
  • v3.0.4
25 results

index.html

Blame
  • user avatar
    Ben Adida authored
    8e12adcc
    History
    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">&nbsp;</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">&nbsp;</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 %}