12 <link rel="SHORTCUT ICON" href="{% static 'hdalab/img/favicon.ico' %}" /> |
12 <link rel="SHORTCUT ICON" href="{% static 'hdalab/img/favicon.ico' %}" /> |
13 <title>{% block title %}HdA Lab{% endblock %}</title> |
13 <title>{% block title %}HdA Lab{% endblock %}</title> |
14 |
14 |
15 {% block css_import %} |
15 {% block css_import %} |
16 <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/common.css' %}" /> |
16 <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/common.css' %}" /> |
|
17 <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/head.css' %}" /> |
|
18 <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/footer.css' %}" /> |
17 {% endblock %} |
19 {% endblock %} |
18 |
20 |
19 {% block js_import %} |
21 {% block js_import %} |
20 <script src="{% static 'hdalab/lib/jquery.min.js' %}"></script> |
22 <script src="{% static 'hdalab/lib/jquery.min.js' %}"></script> |
21 {% endblock %} |
23 {% endblock %} |
22 </head> |
24 </head> |
23 <body> |
25 <body> |
24 {% block header %} |
26 {% block header %} |
25 <div id="header"> |
27 <div id="topnav"> |
26 <ul id="nav"> |
28 <img src="{% static 'hdalab/img/topnav.jpg' %}" alt="" style="display:block;margin:0 auto;"> |
27 <li><a class="{% block home_actif %}{% endblock %}" href="{% url 'home' %}">Accueil</a></li> |
29 </div> |
28 <li>—</li> |
30 <header id="header"> |
29 <li><a class="{% block facettes_actif %}{% endblock %}" href="{% url 'facettes' %}">Facettes</a></li> |
31 |
30 <li><a class="{% block categories_actif %}{% endblock %}" href="{% url 'categories' %}">Catégories de Wikipedia</a></li> |
32 <div class="top"> |
31 <li><a class="{% block thesaurus_actif %}{% endblock %}" href="{% url 'thesaurus' %}">Thésaurus</a></li> |
33 <div id="logo"> |
32 <li>—</li> |
34 <div class="row"> |
33 <li><a class="{% block renkans_actif %}{% endblock %}" href="{% url 'renkan_public_list' %}">Renkans</a>{% if user.is_staff %} <a href="{% url 'edito_home' %}">({% trans 'Manage' %})</a>{% endif %}</li> |
35 <h1><a href="#"><img src="{% static 'hdalab/img/logo-hda.png' %}" alt="HdA Lab"></a></h1> |
34 <li>—</li> |
36 </div> |
35 {% if user.is_authenticated %} |
37 </div> |
36 <li><a class="{% block profile_actif %}{% endblock %}" href="{% url 'profile_home' %}">{{ user.username }}</a></li> |
38 <nav> |
37 <li><a href="{% url 'logout' %}?next={% url 'home' %}">{% trans "Log out" %}</a></li> |
39 <div class="row"> |
38 {% else %} |
40 <ul id="menu"> |
39 <li class="hello-user"><a href="{% url 'login' %}">{% trans "Log in" %}</a></li> |
41 <li class="{% block home_actif %}{% endblock %}"><a href="{% url 'home' %}">Accueil</a></li> |
40 {% endif %} |
42 <li class="{% block facettes_actif %}{% endblock %}"><a href="{% url 'facettes' %}">Facettes</a></li> |
41 </ul> |
43 <li class="{% block categories_actif %}{% endblock %}"><a href="{% url 'categories' %}">Catégories de Wikipedia</a></li> |
42 <h1> |
44 <li class="{% block thesaurus_actif %}{% endblock %}"><a href="{% url 'thesaurus' %}">Thésaurus</a></li> |
43 <a href="{% url 'home' %}">HdA Lab</a> |
45 <li class="{% block renkans_actif %}{% endblock %}"><a href="{% url 'renkan_public_list' %}">Renkan</a></li> |
44 </h1> |
46 |
45 </div> |
47 </ul> |
46 <div id="container"> |
48 <ul id="menu" class="profile"> |
|
49 {% if user.is_authenticated %} |
|
50 <li class="{% block profile_actif %}{% endblock %}"><a href="{% url 'profile_home' %}">{{ user.username }}</a></li> |
|
51 <li><a href="{% url 'logout' %}?next={% url 'home' %}">{% trans "Log out" %}</a></li> |
|
52 {% else %} |
|
53 <li class="hello-user"><a href="{% url 'login' %}">{% trans "Log in" %}</a></li> |
|
54 {% endif %} |
|
55 </ul> |
|
56 </div> |
|
57 </nav> |
|
58 </div> |
|
59 <div id="subhead"> |
|
60 {% block subhead %} |
|
61 {% endblock %} |
|
62 </div> |
|
63 </header> |
47 {% endblock %} |
64 {% endblock %} |
48 |
65 |
49 {% block main_content %} |
66 <main id="content" class="row"> |
50 {% endblock %} |
67 {% block main_content %} |
|
68 {% endblock %} |
|
69 </main> |
51 |
70 |
52 {% block footer %} |
71 {% block footer %} |
53 </div> |
72 <footer id="footer"> |
54 <div id="footer"> |
73 <div class="nav"> |
55 <ul id="footer-contents"> |
74 <div class="row"> |
56 <li> |
75 <ul> |
57 <p>Une expérimentation de l'Institut de Recherche et d'Innovation et du Ministère de la Culture et de la Communication</p> |
76 <li><a href="#">Partenaires</a></li> |
58 </li> |
77 <li><a href="#">Lettres infos</a></li> |
59 <li> |
78 <li><a href="#">Data culture</a></li> |
60 <a href="http://culture.gouv.fr/" target="_blank"> |
79 <li><a href="#">Mentions légales</a></li> |
61 <img src="{% static 'hdalab/img/logo_mcc_blanc.png' %}" /> |
80 <li><a href="#">Accessibilité</a></li> |
62 </a> |
81 <li><a href="#">Plan du site</a></li> |
63 </li> |
82 <li><a href="#">Open search</a></li> |
64 <li> |
83 </ul> |
65 <a href="http://www.iri-research.org/" target="_blank"> |
84 </div> |
66 <img src="{% static 'hdalab/img/logo_iri_blanc.png' %}" /> |
85 </div> |
67 </a> |
86 <img src="{% static 'hdalab/img/footer.png' %}" alt="" style="display:block;margin:0 auto;"> |
68 </li> |
87 </footer> |
69 </ul> |
|
70 </div> |
|
71 {% endblock %} |
88 {% endblock %} |
72 {% analytics %} |
89 {% analytics %} |
73 </body> |
90 </body> |
74 </html> |
91 </html> |