~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/base.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:
1
 
{% load wl_extras %}
2
 
 
3
1
<!DOCTYPE html>
4
2
{% comment %}
5
3
 vim:ft=htmldjango:
19
17
                <link href="{{ MEDIA_URL }}favicon.ico" rel="icon" />
20
18
 
21
19
                <!--  CSS --> 
22
 
                <link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/base.css" />
 
20
                <link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/base.css?v1" />
23
21
                <link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/navigation.css" />
24
22
                <!--[if lt IE 9]>
25
23
                <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/base_ielt9.css" />
37
35
                <a id="top"></a>
38
36
                <div id="wrapper">
39
37
                        <div id="header">
40
 
                                <div class="loginBox posRight">
41
 
                                        {% include "login_box.html" %}
42
 
                                </div>
43
 
                                <a href="{% url 'mainpage' %}"><img src="{{ MEDIA_URL }}img/{% wl_logo %}" class="posLeft" alt="Widelands Logo" /></a>
 
38
                                {% include "header.html" %}
44
39
                        </div>
45
40
                        <div id="topmenu">
46
41
                                <!-- Navigation -->
48
43
                        </div>
49
44
                        <div id="main" class="clear">
50
45
                                <div id="rightColumn" class="posRight">
 
46
                    <!-- below navigation: right side -->
51
47
                                        {% include "right_boxes.html" %}
52
48
                                </div>
53
49
                                <div id="content">
54
 
                                        {% block content %}
55
 
                                                No Content here!
 
50
                                <!-- below navigation: left side -->
 
51
                                        <div id="content_header">
 
52
                                        {% block content_header %}
 
53
                                                <!-- the header of each page -->
 
54
                                        {% endblock %}
 
55
                                        </div>
 
56
                                        {% block content_tabbing %}
 
57
                                        <!-- used to display tabs on pages. For tabs which point to
 
58
                                                 other pages, use it in base.html of the main page -->
 
59
                                        {% endblock %}
 
60
                                
 
61
                                        {% block content_main %}
 
62
                                                <!-- all in div blogEntry -->
56
63
                                        {% endblock %}
57
64
                                </div>
58
65
                        </div>