summaryrefslogtreecommitdiff
path: root/templates/main/base.html
blob: b8a56a4041ad0a1d9b9027a604aa52ffed527802 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
{% extends "layout.html" %}
            
{% block logo %}
            <div id="logo">
                <h1><a href="/" accesskey="4">Spé MP1</a></h1>
                <span id="tagline">@ Saint-Louis</span>
            </div>
{% endblock %}

{% block menu %}
        <div id="sidebar">
        {% block menucontent %}
            <h2 id="sitemenu" class="sidelink menuheader">Menu of Physics</h2>
            {% for page in pages %}
            <a class="sidelink" href="/{{ page.name }}.html">{{ page.title }}</a><span class="hide"> | </span>
            {% endfor %}
            {% if user.is_staff %}
            <a class="sidelink" href="/admin/">Administration</a><span class="hide"> | </span>
            {% endif %}
            <a class="sidelink" href="/logout/">DĂ©connexion</a><span class="hide"> | </span>
            <a class="hide" href="#top" accesskey="1">Top of page</a>
        {% endblock %}
        </div>
{% endblock %}

{% block footer %}
        [<a href="#top">Back to top</a>]
{% endblock %}