Skip to content
Snippets Groups Projects
Select Git revision
  • cd4f3481272abf98aa2adc55ba25de63c0fd929e
  • 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
    cd4f3481
    History
    index.html 718 B
    {% extends 'server_ui/templates/base.html' %}
    {% block title %}{{ settings.SITE_TITLE }}{% endblock %}
    
    {% block header %}
    <h2>{{ settings.SITE_TITLE }}</h2>
    {% endblock %}
    
    {% block content %}
    
    <p>
        Welcome to the {{settings.SITE_TITLE}} system!
    </p>
    
    <p>
      {{settings.WELCOME_MESSAGE|safe}}
    </p>
    
    {% if create_p %}
    <a href="{% url helios.views.election_new %}">create election</a>
    |
    <a href="{% url helios.views.elections_administered %}">elections you administer</a>
    {% endif %}
    
    <p style="font-size: 1.4em;">
    Current Elections:
    <ul>
    {% for election in elections %}
      <li> <a href="{% url helios.views.election_shortcut election.short_name %}">{{election.name}}</a></li>
    {% endfor %}
    </ul>
    </p>
    
    
    {% endblock %}