base.html 1.97 KB
Newer Older
1
{% load url from future %}{% load i18n %}<!DOCTYPE html>
2
<html>
christophe siraut's avatar
christophe siraut committed
3
<head>
4
5
6
7
    <title>{% block title %}Nuages - {% trans "Easy poll sharing" %}{% endblock %}</title>
    <meta charset="UTF-8" />
    <meta name="description" lang="{{ LANGUAGE_CODE }}" content="Nuages, {% trans 'Easy poll sharing' %}. {% trans "Create polls easily, and publish them for your mates, in order to plan meetings and activities." %} " />
    <meta name="keywords" lang="{{ LANGUAGE_CODE }}" content="{% trans 'meeting, shared, poll, plan, GPL, alternative, free, django, domaine public' %}" />
christophe siraut's avatar
christophe siraut committed
8
    {% block head %}{% endblock %}
9
    <!-- Django stylesheet -->
Christophe Siraut's avatar
Christophe Siraut committed
10
11
    <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}admin/css/base.css"/>
    <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}admin/css/forms.css"/>
12
    <!-- Nuages stylesheet -->
Christophe Siraut's avatar
Christophe Siraut committed
13
    <link rel="stylesheet" href="{{ STATIC_URL }}css/nuages.css" />
christophe siraut's avatar
christophe siraut committed
14
15
16
</head>

<body>
17
18
19
20
    {% if messages %}
        <ul class="messagelist">
        {% for message in messages %}
          <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
Christophe Siraut's avatar
Christophe Siraut committed
21
22
        {% endfor %}
        </ul>
23
24
    {% endif %}

christophe siraut's avatar
christophe siraut committed
25
    <div id="nheader">
26
        <div class="menu">
Christophe Siraut's avatar
Christophe Siraut committed
27
            <a href="{% url 'home' %}" title='{% trans "Homepage" %}'>Nuages</a>&nbsp;
28
29
30
31
32
33
            {% block menu %}{% endblock %}
            {% if user.is_authenticated %}
                <a href="{% url 'auth_logout' %}">{% trans 'Logout' %}</a>
            {% else %}
                <a href="{% url 'auth_login' %}">{% trans 'Login' %}</a>
            {% endif %}
christophe siraut's avatar
christophe siraut committed
34
        </div>
35
    </div>
christophe siraut's avatar
christophe siraut committed
36
37
38
39
40
41
42

    <div id="chapeau">
        {% block chapeau %}{% endblock %}
    </div>

    <div id="content">
        {% block content %}{% endblock %}
Christophe Siraut's avatar
Christophe Siraut committed
43
        {% block main %}{% endblock %}
christophe siraut's avatar
christophe siraut committed
44
45
    </div>

46
    <div class="menu">
47
        {% block footer %}{% endblock %}
48
	<span class="notify">{% trans "Nuages is brought to you by" %} <a href="http://www.domainepublic.net">Domaine Public</a></span>
49
    </div>
christophe siraut's avatar
christophe siraut committed
50
51
52
53
</body>
</html>