~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/wlpoll/poll_list.html

  • Committer: franku
  • Date: 2018-11-15 20:39:35 UTC
  • mfrom: (504.1.1 widelands)
  • Revision ID: somal@arcor.de-20181115203935-2j4ip880mi4b3mzv
redesign the website to show tabs for some pages and give an additional header section with important links

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
{% load threadedcommentstags custom_date %}
12
12
{% block title %}Poll Archive - {{ block.super }}{% endblock %}
13
13
 
14
 
{% block content %}
 
14
{% block content_header %}
 
15
    <h1>Poll Archive</h1>
 
16
{% endblock %}
 
17
 
 
18
{% block content_tabbing %}
15
19
    {% if perms.wlpoll %}
16
 
        <div class="small posRight">
17
 
                {% if perms.wlpoll.add_poll %}<a href="/admin/wlpoll/poll/add/" class="invertedColor">Add New Poll</a>{% endif %}
18
 
        </div>
 
20
        <ul class="small tab-list">
 
21
        <li>
 
22
                {% if perms.wlpoll.add_poll %}
 
23
            <a href="/admin/wlpoll/poll/add/">Add New Poll</a>
 
24
        {% endif %}
 
25
        </li>
 
26
        </ul>
19
27
    {% endif %}
20
 
    <h1>Poll Archive</h1>
 
28
{% endblock %}
 
29
 
 
30
{% block content_main %}
21
31
    <div class="blogEntry">
22
32
        <div class="post">
23
33
        <table>