src/hdalab/templates/base.html
changeset 387 f52a0abff76b
parent 374 ad92df04d9ab
child 399 44d627c3a9fb
equal deleted inserted replaced
386:2ace68d1429b 387:f52a0abff76b
    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' %}" />
    17         <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/header.css' %}" />
    18         <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/footer.css' %}" />
    18         <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/footer.css' %}" />
    19 {% endblock %}
    19 {% endblock %}
    20 
    20 
    21 {% block js_import %}
    21 {% block js_import %}
    22         <script src="{% static 'hdalab/lib/jquery.min.js' %}"></script>
    22         <script src="{% static 'hdalab/lib/jquery.min.js' %}"></script>
    23 {% endblock %}
    23 {% endblock %}
    24     </head>
    24     </head>
    25     <body>
    25     <body>
    26 {% block header %}
    26 {% block header %}
    27 		<div id="topnav">
       
    28 			<img src="{% static 'hdalab/img/topnav.jpg' %}" alt="" style="display:block;margin:0 auto;">
       
    29 		</div>
       
    30 		<header id="header">
    27 		<header id="header">
    31 			
    28 			
    32 			<div class="top">
    29 			<div class="top">
    33 				<div id="logo">
    30 				<div id="logo">
    34 					<div class="row">
    31 					<div class="row">
    41 							<li class="{% block home_actif %}{% endblock %}"><a href="{% url 'home'  %}">Accueil</a></li>
    38 							<li class="{% block home_actif %}{% endblock %}"><a href="{% url 'home'  %}">Accueil</a></li>
    42 							<li class="{% block facettes_actif %}{% endblock %}"><a href="{% url 'facettes' %}">Facettes</a></li>
    39 							<li class="{% block facettes_actif %}{% endblock %}"><a href="{% url 'facettes' %}">Facettes</a></li>
    43 							<li class="{% block categories_actif %}{% endblock %}"><a href="{% url 'categories' %}">Catégories de Wikipedia</a></li>
    40 							<li class="{% block categories_actif %}{% endblock %}"><a href="{% url 'categories' %}">Catégories de Wikipedia</a></li>
    44 							<li class="{% block thesaurus_actif %}{% endblock %}"><a href="{% url 'thesaurus' %}">Thésaurus</a></li>
    41 							<li class="{% block thesaurus_actif %}{% endblock %}"><a href="{% url 'thesaurus' %}">Thésaurus</a></li>
    45 							<li class="{% block renkans_actif %}{% endblock %}"><a href="{% url 'renkan_public_list' %}">Renkan</a></li>
    42 							<li class="{% block renkans_actif %}{% endblock %}"><a href="{% url 'renkan_public_list' %}">Renkan</a></li>
       
    43 							<li class="external"><a href="http://www.histoiredesarts.culture.fr/" target="_blank">Histoire des Arts</a></li>
    46 
    44 
    47 						</ul>
    45 						</ul>
    48 						<ul id="menu" class="profile">
    46 						<ul id="menu" class="profile">
    49 							{% if user.is_authenticated %}
    47 							{% if user.is_authenticated %}
    50 	                			<li class="{% block profile_actif %}{% endblock %}"><a href="{% url 'profile_home' %}">{{ user.username }}</a></li>
    48 	                			<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>
    49 	                			<li><a href="{% url 'logout' %}?next={% url 'home' %}">{% trans "Log out" %}</a></li>
    52 	              			{% else %}
    50 	              			{% else %}
    53 	                			<li class="hello-user"><a href="{% url 'login' %}">{% trans "Log in" %}</a></li>
    51 	                			<li class="{% block login_actif %}{% endblock %}"><a href="{% url 'login' %}">{% trans "Log in" %}</a></li>
    54 	              			{% endif %}
    52 	              			{% endif %}
    55 						</ul>
    53 						</ul>
    56 					</div>
    54 					</div>
    57 				</nav>
    55 				</nav>
    58 			</div>
    56 			</div>
    71 {% block footer %}
    69 {% block footer %}
    72 		<footer id="footer">
    70 		<footer id="footer">
    73 			<div class="nav">
    71 			<div class="nav">
    74 				<div class="row">
    72 				<div class="row">
    75 					<ul>
    73 					<ul>
    76 						<li><a href="#">Partenaires</a></li>
    74 						<li><a href="#">A Propos</a></li>
    77 						<li><a href="#">Lettres infos</a></li>
    75 						<li><a href="#">Crédits</a></li>
    78 						<li><a href="#">Data culture</a></li>
       
    79 						<li><a href="#">Mentions légales</a></li>
    76 						<li><a href="#">Mentions légales</a></li>
    80 						<li><a href="#">Accessibilité</a></li>
    77 						<li><a href="#">Contact</a></li>
    81 						<li><a href="#">Plan du site</a></li>
       
    82 						<li><a href="#">Open search</a></li>
       
    83 					</ul>
    78 					</ul>
    84 				</div>
    79 				</div>
    85 			</div>
    80 			</div>
    86 			<img src="{% static 'hdalab/img/footer.png' %}" alt="" style="display:block;margin:0 auto;">
    81 			<img src="{% static 'hdalab/img/footer.png' %}" alt="" style="display:block;margin:0 auto;">
    87 		</footer>
    82 		</footer>