src/hdalab/templates/base.html
author rougeronj
Thu, 27 Nov 2014 11:51:36 +0100
changeset 374 ad92df04d9ab
parent 329 ea6268cf8c83
child 387 f52a0abff76b
permissions -rw-r--r--
update structure and design of the interface
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' %}" />
374
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    17
        <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/head.css' %}" />
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
		<div id="topnav">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    28
			<img src="{% static 'hdalab/img/topnav.jpg' %}" alt="" style="display:block;margin:0 auto;">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    29
		</div>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    30
		<header id="header">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    31
			
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    32
			<div class="top">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    33
				<div id="logo">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    34
					<div class="row">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    35
						<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
    36
					</div>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    37
				</div>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    38
				<nav>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    39
					<div class="row">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    40
						<ul id="menu">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    41
							<li class="{% block home_actif %}{% endblock %}"><a href="{% url 'home'  %}">Accueil</a></li>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    42
							<li class="{% block facettes_actif %}{% endblock %}"><a href="{% url 'facettes' %}">Facettes</a></li>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    43
							<li class="{% block categories_actif %}{% endblock %}"><a href="{% url 'categories' %}">Catégories de Wikipedia</a></li>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    44
							<li class="{% block thesaurus_actif %}{% endblock %}"><a href="{% url 'thesaurus' %}">Thésaurus</a></li>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    45
							<li class="{% block renkans_actif %}{% endblock %}"><a href="{% url 'renkan_public_list' %}">Renkan</a></li>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    46
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    47
						</ul>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    48
						<ul id="menu" class="profile">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    49
							{% if user.is_authenticated %}
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    50
	                			<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
    51
	                			<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
    52
	              			{% else %}
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    53
	                			<li class="hello-user"><a href="{% url 'login' %}">{% trans "Log in" %}</a></li>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    54
	              			{% endif %}
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    55
						</ul>
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
				</nav>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    58
			</div>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    59
			<div id="subhead">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    60
				{% block subhead %}
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    61
				{% endblock %}
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    62
			</div>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    63
		</header>
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    64
{% endblock %}
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    65
374
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    66
<main id="content" class="row">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    67
	{% block main_content %}
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    68
	{% endblock %}
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    69
</main>
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    70
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    71
{% block footer %}
374
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    72
		<footer id="footer">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    73
			<div class="nav">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    74
				<div class="row">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    75
					<ul>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    76
						<li><a href="#">Partenaires</a></li>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    77
						<li><a href="#">Lettres infos</a></li>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    78
						<li><a href="#">Data culture</a></li>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    79
						<li><a href="#">Mentions légales</a></li>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    80
						<li><a href="#">Accessibilité</a></li>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    81
						<li><a href="#">Plan du site</a></li>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    82
						<li><a href="#">Open search</a></li>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    83
					</ul>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    84
				</div>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    85
			</div>
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    86
			<img src="{% static 'hdalab/img/footer.png' %}" alt="" style="display:block;margin:0 auto;">
ad92df04d9ab update structure and design of the interface
rougeronj
parents: 329
diff changeset
    87
		</footer>
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    88
{% endblock %}
301
3ec8fb1afed8 correct copy and delete renkan
cavaliet
parents: 293
diff changeset
    89
{% analytics %}
131
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    90
    </body>
9d5d9e6b7fbf Created Home view for Hdalab
veltr
parents:
diff changeset
    91
</html>