~widelands-dev/widelands-website/django_staticfiles

« back to all changes in this revision

Viewing changes to templates/header.html

  • Committer: Holger Rapp
  • Date: 2009-02-19 15:31:42 UTC
  • Revision ID: sirver@h566336-20090219153142-dc8xuabldnw5t395
Initial commit of new widelands homepage

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
{% load wlprofile_extras %}
2
 
{% load wl_extras %}
3
 
{% load static %}
4
 
 
5
 
<div id="logo">
6
 
        <a href="{% url 'mainpage' %}"><img src=
7
 
        "{% static 'img/'%}{% wl_logo %}" alt=
8
 
        "Widelands Logo"></a>
9
 
</div>
10
 
<ul class="header_boxes">
11
 
    <li class="small">
12
 
        <a href="{% url 'wlscreens_index' %}" title="Screenshots">Screenshots<br />
13
 
        <img src="{% static '/img/camera.png' %}" alt="Screenshots" />
14
 
        </a>
15
 
    </li>
16
 
        <li class="small">
17
 
                <a href="{% url 'wiki_article' "Download" %}" title="Download">Download<br />
18
 
                <img src="{% static '/img/download.png' %}" alt="Get Widelands" />
19
 
                </a>
20
 
        </li>
21
 
        <li class="small">
22
 
                <a href="{% url 'wlmaps_index' %}" title="Get new maps">Maps<br />
23
 
                <img src="{% static 'img/maps.png' %}" alt="Get Free Maps" />
24
 
                </a>
25
 
        </li>
26
 
        <li class="small">
27
 
                <p>Social Media</p>
28
 
                <a href="https://www.facebook.com/WidelandsOfficial" target="_blank">
29
 
                        <img src="{% static 'img/socialmedia/facebook.png' %}" alt="Facebook" />
30
 
                </a>
31
 
        </li>
32
 
        <li class="loginBox small">
33
 
        <!-- Login form / User information -->
34
 
                {% if user.is_authenticated %}
35
 
                        <a href="{% url 'profile_view' %}" title="You are logged in as {{ user }}">Your Profile</a>
36
 
                        {% if messages_inbox_count > 0 %}
37
 
                                <a href="{% url 'messages_inbox' %}" title="Number of Private Messages">({{ messages_inbox_count }})</a>
38
 
                        {% endif %}
39
 
                        <br />
40
 
                        <a href="{% url 'scheduling_find' %}?next={{ request.path|iriencode }}" title="Show other users playtimes">Playtimes</a>
41
 
                        <br />
42
 
                        <a href="{% url 'auth_logout' %}?next={{ request.path|iriencode }}">Logout</a>
43
 
                {% else %}
44
 
                        <a href="{% url 'auth_login' %}?next={{ request.path|iriencode }}">Login/Register</a>
45
 
                {% endif %}
46
 
        </li>
47
 
</ul>