0ba28d89 |
1 | {% load admin_static %}{% load url from future %}<!DOCTYPE html> |
2 | <html lang="{{ LANGUAGE_CODE|default:"en-us" }}" {% if LANGUAGE_BIDI %}dir="rtl"{% endif %}> |
3 | <head> |
4 | <title>{% block title %}{% endblock %}</title> |
5 | <link rel="stylesheet" type="text/css" href="{% block stylesheet %}{% static "admin/css/base.css" %}{% endblock %}" /> |
6 | {% block extrastyle %}{% endblock %} |
7 | <!--[if lte IE 7]><link rel="stylesheet" type="text/css" href="{% block stylesheet_ie %}{% static "admin/css/ie.css" %}{% endblock %}" /><![endif]--> |
8 | {% if LANGUAGE_BIDI %}<link rel="stylesheet" type="text/css" href="{% block stylesheet_rtl %}{% static "admin/css/rtl.css" %}{% endblock %}" />{% endif %} |
9 | <script type="text/javascript">window.__admin_media_prefix__ = "{% filter escapejs %}{% static "admin/" %}{% endfilter %}";</script> |
10 | {% block extrahead %}{% endblock %} |
11 | {% block blockbots %}<meta name="robots" content="NONE,NOARCHIVE" />{% endblock %} |
12 | |
13 | <link rel="icon" type="image/png" href="{{ MEDIA_URL }}images/favicon.ico" /> |
14 | <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/style_student_list.css" media="all"/> |
15 | |
16 | |
17 | |
18 | </head> |
19 | {% load i18n %} |
20 | |
21 | <body class="{% if is_popup %}popup {% endif %}{% block bodyclass %}{% endblock %}"> |
22 | |
23 | |
24 | |
25 | |
26 | <!-- Container --> |
27 | <div id="container"> |
28 | |
29 | |
30 | <div id="header"> |
31 | |
32 | <div id="banner"> |
33 | <img src="{{ MEDIA_URL }}images/logo.gif" alt="logo AUF"/> |
34 | <h1>Passeport Académique Francophone</h1> |
35 | <h2>{% block sous_titre %}{% endblock %}</h2> |
36 | {% block chapeau %}{% endblock %} |
37 | </div> |
38 | |
39 | <ul id="user-actions"> |
40 | {% if user.is_authenticated %} |
41 | <li class="username">{{ user }}</li> |
42 | <li class="link"><a href="{% url "deconnexion" %}">Déconnexion</a></li> |
43 | <li class="link"><a href="{% url "edit_info" %}">Changer votre information</a></li> |
44 | <li class="link"><a href="{% url "change_password" %}">Changer le mot de passe</a></li> |
45 | {% else %} |
46 | <li class="link"><a href="{% url connexion %}">Connexion</a></li> |
47 | <li class="link"><a href="{% url register %}">Enregistrer</a></li> |
48 | {% endif %} |
49 | </ul> |
50 | |
51 | </div> |
52 | |
53 | |
54 | <!-- Content --> |
55 | <div id="content" class="{% block coltype %}colM{% endblock %}"> |
56 | {% block content %} |
57 | {% block object-tools %}{% endblock %} |
58 | {{ content }} |
59 | {% endblock %} |
60 | {% block sidebar %}{% endblock %} |
61 | <br class="clear" /> |
62 | </div> |
63 | <!-- END Content --> |
64 | |
65 | {% block footer %}<div id="footer"></div>{% endblock %} |
66 | </div> |
67 | <!-- END Container --> |
68 | |
69 | </body> |
70 | </html> |