| author | rougeronj |
| Thu, 11 Dec 2014 12:01:04 +0100 | |
| changeset 398 | b7df96dd742f |
| parent 387 | f52a0abff76b |
| child 399 | 44d627c3a9fb |
| permissions | -rw-r--r-- |
| 170 | 1 |
{% load analytics %} |
| 293 | 2 |
{% load i18n %} |
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
3 |
{% load static %} |
| 135 | 4 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" |
5 |
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> |
|
6 |
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{LANGUAGE_CODE}}" lang="{{LANGUAGE_CODE}}"> |
|
| 131 | 7 |
<head> |
8 |
<meta charset="utf-8" /> |
|
| 135 | 9 |
<meta http-equiv="Content-type" content="text/html;charset=UTF-8" /> |
| 131 | 10 |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" /> |
| 135 | 11 |
<meta http-equiv="content-language" content="{{LANGUAGE_CODE}}" /> |
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
12 |
<link rel="SHORTCUT ICON" href="{% static 'hdalab/img/favicon.ico' %}" /> |
| 131 | 13 |
<title>{% block title %}HdA Lab{% endblock %}</title> |
14 |
||
15 |
{% block css_import %} |
|
|
279
177b508612f4
add, configure and correct hdalab to installed apps
cavaliet
parents:
272
diff
changeset
|
16 |
<link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/common.css' %}" /> |
| 387 | 17 |
<link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/header.css' %}" /> |
| 374 | 18 |
<link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/footer.css' %}" /> |
| 131 | 19 |
{% endblock %} |
20 |
||
21 |
{% block js_import %} |
|
|
288
0bb9c29cd41d
renkan first step : link, views and get put for json
cavaliet
parents:
280
diff
changeset
|
22 |
<script src="{% static 'hdalab/lib/jquery.min.js' %}"></script> |
| 131 | 23 |
{% endblock %} |
24 |
</head> |
|
25 |
<body> |
|
26 |
{% block header %} |
|
| 374 | 27 |
<header id="header"> |
28 |
||
29 |
<div class="top"> |
|
30 |
<div id="logo"> |
|
31 |
<div class="row"> |
|
32 |
<h1><a href="#"><img src="{% static 'hdalab/img/logo-hda.png' %}" alt="HdA Lab"></a></h1> |
|
33 |
</div> |
|
34 |
</div> |
|
35 |
<nav> |
|
36 |
<div class="row"> |
|
37 |
<ul id="menu"> |
|
38 |
<li class="{% block home_actif %}{% endblock %}"><a href="{% url 'home' %}">Accueil</a></li> |
|
39 |
<li class="{% block facettes_actif %}{% endblock %}"><a href="{% url 'facettes' %}">Facettes</a></li> |
|
40 |
<li class="{% block categories_actif %}{% endblock %}"><a href="{% url 'categories' %}">Catégories de Wikipedia</a></li> |
|
41 |
<li class="{% block thesaurus_actif %}{% endblock %}"><a href="{% url 'thesaurus' %}">Thésaurus</a></li> |
|
42 |
<li class="{% block renkans_actif %}{% endblock %}"><a href="{% url 'renkan_public_list' %}">Renkan</a></li> |
|
| 387 | 43 |
<li class="external"><a href="http://www.histoiredesarts.culture.fr/" target="_blank">Histoire des Arts</a></li> |
| 374 | 44 |
|
45 |
</ul> |
|
46 |
<ul id="menu" class="profile"> |
|
47 |
{% if user.is_authenticated %} |
|
48 |
<li class="{% block profile_actif %}{% endblock %}"><a href="{% url 'profile_home' %}">{{ user.username }}</a></li> |
|
49 |
<li><a href="{% url 'logout' %}?next={% url 'home' %}">{% trans "Log out" %}</a></li> |
|
50 |
{% else %} |
|
| 387 | 51 |
<li class="{% block login_actif %}{% endblock %}"><a href="{% url 'login' %}">{% trans "Log in" %}</a></li> |
| 374 | 52 |
{% endif %} |
53 |
</ul> |
|
54 |
</div> |
|
55 |
</nav> |
|
56 |
</div> |
|
57 |
<div id="subhead"> |
|
58 |
{% block subhead %} |
|
59 |
{% endblock %} |
|
60 |
</div> |
|
61 |
</header> |
|
| 131 | 62 |
{% endblock %} |
63 |
||
| 374 | 64 |
<main id="content" class="row"> |
65 |
{% block main_content %} |
|
66 |
{% endblock %} |
|
67 |
</main> |
|
| 131 | 68 |
|
69 |
{% block footer %} |
|
| 374 | 70 |
<footer id="footer"> |
71 |
<div class="nav"> |
|
72 |
<div class="row"> |
|
73 |
<ul> |
|
| 387 | 74 |
<li><a href="#">A Propos</a></li> |
75 |
<li><a href="#">Crédits</a></li> |
|
| 374 | 76 |
<li><a href="#">Mentions légales</a></li> |
| 387 | 77 |
<li><a href="#">Contact</a></li> |
| 374 | 78 |
</ul> |
79 |
</div> |
|
80 |
</div> |
|
81 |
<img src="{% static 'hdalab/img/footer.png' %}" alt="" style="display:block;margin:0 auto;"> |
|
82 |
</footer> |
|
| 131 | 83 |
{% endblock %} |
| 301 | 84 |
{% analytics %} |
| 131 | 85 |
</body> |
86 |
</html> |