~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/wlmaps/index.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:
9
9
{% load threadedcommentstags %}
10
10
{% load pagination_tags %}
11
11
 
12
 
{% block content %}
13
 
<a href="{% url 'wlmaps_upload' %}" class="posRight invertedColor small">Upload a new map</a>
14
 
<h1>Maps</h1>
 
12
{% block content_header %}
 
13
        <h1>Maps</h1>
 
14
{% endblock %}
 
15
{% block content_tabbing %}
 
16
        <ul class="tab-list small">
 
17
                <li>
 
18
                        <a href="{% url 'wlmaps_upload' %}">Upload a new map</a>
 
19
                </li>
 
20
        </ul>
 
21
{% endblock %}
 
22
 
 
23
{% block content_main %}
 
24
 
15
25
<div class="blogEntry">
16
26
        <p>
17
27
        The map files have to be placed in the Widelands map directory to be found by the game. Check the <a href="/wiki/Technical%20FAQ/#where_are_my_maps_and_savegames_stored">Technical FAQ</a> to find the map directory.
70
80
                                                <td class="spacer"></td>
71
81
                                                <td colspan="2">
72
82
                                                        <a class="button" href="{% url 'wlmaps_download' map.slug %}">
73
 
                                                                <img src="{{ MEDIA_URL }}img/download.png" alt ="" class="middle" />
 
83
                                                                <img src="{{ MEDIA_URL }}img/arrow_down_short.png" alt ="" class="middle" />
74
84
                                                                <span class="middle">Direct Download</span>
75
85
                                                        </a>
76
86
                                                </td>