src/hdalab/templates/base.html
author rougeronj
Tue, 24 Feb 2015 14:43:49 +0100
changeset 456 68c81f692fca
parent 454 9537d125f743
child 458 604b887e70c3
permissions -rw-r--r--
add links to footer, and update "domaines Artistiques"'s link
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
170
cb3e869ab252 Add google analytics
ymh <ymh.work@gmail.com>
parents: 135
diff changeset
     1
{% load analytics %}
293
b33caeba7faa profile page first step
cavaliet
parents: 288
diff changeset
     2
{% load i18n %}
279
177b508612f4 add, configure and correct hdalab to installed apps
cavaliet
parents: 272
diff changeset
     3
{% load static %}
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 132
diff changeset
     4
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 132
diff changeset
     5
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 132
diff changeset
     6
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{LANGUAGE_CODE}}" lang="{{LANGUAGE_CODE}}">
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
     7
    <head>
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
     8
        <meta charset="utf-8" />
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 132
diff changeset
     9
        <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />        
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    10
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
135
dd6578e36a57 translate interface
ymh <ymh.work@gmail.com>
parents: 132
diff changeset
    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
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    13
        <title>{% block title %}HdA Lab{% endblock %}</title>
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    14
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    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
f52a0abff76b update header css file name
rougeronj
parents: 374
diff changeset
    17
        <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/header.css' %}" />
374
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    18
        <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/footer.css' %}" />
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    19
{% endblock %}
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    20
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    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
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    23
{% endblock %}
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    24
    </head>
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    25
    <body>
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    26
{% block header %}
374
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    27
		<header id="header">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    28
			
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    29
			<div class="top">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    30
				<div id="logo">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    31
					<div class="row">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    32
						<h1><a href="#"><img src="{% static 'hdalab/img/logo-hda.png' %}" alt="HdA Lab"></a></h1>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    33
					</div>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    34
				</div>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    35
				<nav>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    36
					<div class="row">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    37
						<ul id="menu">
454
9537d125f743 add texts HDA
rougeronj
parents: 435
diff changeset
    38
							<li class="{% block home_actif %}{% endblock %}"><a href="{% url 'home'  %}">{% trans 'Accueil' %}</a></li>
9537d125f743 add texts HDA
rougeronj
parents: 435
diff changeset
    39
							<li class="{% block facettes_actif %}{% endblock %}"><a href="{% url 'facettes' %}">{% trans 'Recherche' %}</a></li>
456
68c81f692fca add links to footer, and update "domaines Artistiques"'s link
rougeronj
parents: 454
diff changeset
    40
							<li class="{% block categories_actif %}{% endblock %}"><a href="{% url 'categories' %}">{% trans 'Domaines Artistiques' %}</a></li>
374
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    41
							<li class="{% block renkans_actif %}{% endblock %}"><a href="{% url 'renkan_public_list' %}">Renkan</a></li>
454
9537d125f743 add texts HDA
rougeronj
parents: 435
diff changeset
    42
							<li class="{% block a_propos_actif %}{% endblock %}"><a href="{% url 'a_propos' %}">{% trans 'A Propos' %}</a></li>
387
f52a0abff76b update header css file name
rougeronj
parents: 374
diff changeset
    43
							<li class="external"><a href="http://www.histoiredesarts.culture.fr/" target="_blank">Histoire des Arts</a></li>
374
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    44
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    45
						</ul>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    46
						<ul id="menu" class="profile">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    47
							{% if user.is_authenticated %}
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    48
	                			<li class="{% block profile_actif %}{% endblock %}"><a href="{% url 'profile_home' %}">{{ user.username }}</a></li>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    49
	                			<li><a href="{% url 'logout' %}?next={% url 'home' %}">{% trans "Log out" %}</a></li>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    50
	              			{% else %}
387
f52a0abff76b update header css file name
rougeronj
parents: 374
diff changeset
    51
	                			<li class="{% block login_actif %}{% endblock %}"><a href="{% url 'login' %}">{% trans "Log in" %}</a></li>
374
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    52
	              			{% endif %}
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    53
						</ul>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    54
					</div>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    55
				</nav>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    56
			</div>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    57
			<div id="subhead">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    58
				{% block subhead %}
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    59
				{% endblock %}
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    60
			</div>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    61
		</header>
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    62
{% endblock %}
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    63
374
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    64
<main id="content" class="row">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    65
	{% block main_content %}
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    66
	{% endblock %}
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    67
</main>
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    68
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    69
{% block footer %}
374
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    70
		<footer id="footer">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    71
			<div class="nav">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    72
				<div class="row">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    73
					<ul>
454
9537d125f743 add texts HDA
rougeronj
parents: 435
diff changeset
    74
						<li><a href="{% url 'a_propos'%}">{% trans 'A Propos' %}</a></li>
9537d125f743 add texts HDA
rougeronj
parents: 435
diff changeset
    75
						<li><a href="{% url 'credits'%}">{% trans 'Crédits' %}</a></li>
9537d125f743 add texts HDA
rougeronj
parents: 435
diff changeset
    76
						<li><a href="{% url 'mentions_legales'%}">{% trans 'Mentions légales' %}</a></li>
374
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    77
					</ul>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    78
				</div>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    79
			</div>
435
0116feeb4fa3 Close #50 - footer
rougeronj
parents: 399
diff changeset
    80
			<div id="innerfooter">
0116feeb4fa3 Close #50 - footer
rougeronj
parents: 399
diff changeset
    81
				<a class = "iri-url" href="http://www.iri.centrepompidou.fr/">
0116feeb4fa3 Close #50 - footer
rougeronj
parents: 399
diff changeset
    82
					<img src="{% static 'hdalab/img/logo_iri.png' %}" alt="">
0116feeb4fa3 Close #50 - footer
rougeronj
parents: 399
diff changeset
    83
				</a>
0116feeb4fa3 Close #50 - footer
rougeronj
parents: 399
diff changeset
    84
				<a class = "culture-url" href="http://www.culturecommunication.gouv.fr/">
0116feeb4fa3 Close #50 - footer
rougeronj
parents: 399
diff changeset
    85
					<img src="{% static 'hdalab/img/logo_mcc_blanc.png' %}" alt="">
0116feeb4fa3 Close #50 - footer
rougeronj
parents: 399
diff changeset
    86
				</a>
456
68c81f692fca add links to footer, and update "domaines Artistiques"'s link
rougeronj
parents: 454
diff changeset
    87
				<div class="row links">
435
0116feeb4fa3 Close #50 - footer
rougeronj
parents: 399
diff changeset
    88
					<ul id="menu">
456
68c81f692fca add links to footer, and update "domaines Artistiques"'s link
rougeronj
parents: 454
diff changeset
    89
						<li><h2><b>{% trans 'Rubriques' %}</b></h2></li>
454
9537d125f743 add texts HDA
rougeronj
parents: 435
diff changeset
    90
						<li><a href="{% url 'facettes' %}">{% trans 'Recherche' %}</a></li>
456
68c81f692fca add links to footer, and update "domaines Artistiques"'s link
rougeronj
parents: 454
diff changeset
    91
						<li><a href="{% url 'categories' %}">{% trans 'Domaines Artistiques' %}</a></li>
435
0116feeb4fa3 Close #50 - footer
rougeronj
parents: 399
diff changeset
    92
						<li><a href="{% url 'renkan_public_list' %}">Renkan</a></li>
454
9537d125f743 add texts HDA
rougeronj
parents: 435
diff changeset
    93
						<li><a href="{% url 'a_propos' %}">{% trans 'A Propos' %}</a></li>
435
0116feeb4fa3 Close #50 - footer
rougeronj
parents: 399
diff changeset
    94
						<li><a href="http://www.histoiredesarts.culture.fr/" target="_blank">Histoire des Arts</a></li>
0116feeb4fa3 Close #50 - footer
rougeronj
parents: 399
diff changeset
    95
					</ul>
0116feeb4fa3 Close #50 - footer
rougeronj
parents: 399
diff changeset
    96
				</div>
456
68c81f692fca add links to footer, and update "domaines Artistiques"'s link
rougeronj
parents: 454
diff changeset
    97
				<div class="row links">
68c81f692fca add links to footer, and update "domaines Artistiques"'s link
rougeronj
parents: 454
diff changeset
    98
					<ul id="menu">
68c81f692fca add links to footer, and update "domaines Artistiques"'s link
rougeronj
parents: 454
diff changeset
    99
						<li><h2><b>{% trans 'Liens' %}</b></h2></li>
68c81f692fca add links to footer, and update "domaines Artistiques"'s link
rougeronj
parents: 454
diff changeset
   100
						<li><a href="http://www.culturecommunication.gouv.fr/" target="_blank">culturecommunication.gouv.fr</a></li>
68c81f692fca add links to footer, and update "domaines Artistiques"'s link
rougeronj
parents: 454
diff changeset
   101
						<li><a href="http://iri.centrepompidou.fr/" target="_blank">iri.centrepompidou.fr</a></li>
68c81f692fca add links to footer, and update "domaines Artistiques"'s link
rougeronj
parents: 454
diff changeset
   102
						<li><a href="http://www.histoiredesarts.culture.fr/" target="_blank">histoiredesarts.culture.fr</a></li>
68c81f692fca add links to footer, and update "domaines Artistiques"'s link
rougeronj
parents: 454
diff changeset
   103
						<li><a href="https://www.data.gouv.fr/fr/" target="_blank">data.gouv.fr</a></li>
68c81f692fca add links to footer, and update "domaines Artistiques"'s link
rougeronj
parents: 454
diff changeset
   104
					</ul>
68c81f692fca add links to footer, and update "domaines Artistiques"'s link
rougeronj
parents: 454
diff changeset
   105
				</div>
435
0116feeb4fa3 Close #50 - footer
rougeronj
parents: 399
diff changeset
   106
				<p id="copyright">© Ministère de la Culture et de la Communication</p>
0116feeb4fa3 Close #50 - footer
rougeronj
parents: 399
diff changeset
   107
			</div>
374
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
   108
		</footer>
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
   109
{% endblock %}
301
3ec8fb1afed8 correct copy and delete renkan
cavaliet
parents: 293
diff changeset
   110
{% analytics %}
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
   111
    </body>
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
   112
</html>