{% load analytics %}
{% load i18n %}
{% load static %}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{LANGUAGE_CODE}}" lang="{{LANGUAGE_CODE}}">
    <head>
        <meta charset="utf-8" />
        <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />        
        <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
        <meta http-equiv="content-language" content="{{LANGUAGE_CODE}}" />
        <link rel="SHORTCUT ICON" href="{% static 'hdalab/img/favicon.ico' %}" />        
        <title>{% block title %}HdA Lab{% endblock %}</title>

{% block css_import %}
        <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/common.css' %}" />
{% endblock %}

{% block js_import %}
        <script src="{% static 'hdalab/lib/jquery.min.js' %}"></script>
{% endblock %}
        
    </head>
    <body>

{% block header %}
        <div id="header">
            <ul id="nav">
                <li><a class="{% block home_actif %}{% endblock %}" href="{% url 'home'  %}">Accueil</a></li>
                <li>&mdash;</li>
                <li>Navigation par&nbsp;:</li>
                <li><a class="{% block facettes_actif %}{% endblock %}" href="{% url 'facettes' %}">Facettes</a></li>
                <li><a class="{% block categories_actif %}{% endblock %}" href="{% url 'categories' %}">Catégories de Wikipedia</a></li>
                <li><a class="{% block thesaurus_actif %}{% endblock %}" href="{% url 'thesaurus' %}">Thésaurus</a></li>
                <li>&mdash;</li>
              {% if user.is_authenticated %}
                <li><a href="{% url 'profile_home' %}">{{ user.username }}</a></li>
                <li><a href="{% url 'logout' %}?next={% url 'home' %}">{% trans "Log out" %}</a></li>
              {% else %}
                <li class="hello-user"><a href="{% url 'login' %}">{% trans "Log in" %}</a></li>
              {% endif %}
            </ul>
            <h1>
                <a href="{% url 'home' %}">HdA Lab</a>
            </h1>
        </div>
        <div id="container">
{% endblock %}

{% block main_content %}

{% endblock %}

{% block footer %}
        </div>
        <div id="footer">
            <ul id="footer-contents">
                <li>
                    <p>Une expérimentation de l'Institut de Recherche et d'Innovation et du Ministère de la Culture et de la Communication</p>
                </li>
                <li>
                    <a href="http://culture.gouv.fr/" target="_blank">
                        <img src="{% static 'hdalab/img/logo_mcc_blanc.png' %}" />
                    </a>
                </li>
                <li>
                    <a href="http://www.iri-research.org/" target="_blank">
                        <img src="{% static 'hdalab/img/logo_iri_blanc.png' %}" />
                    </a>
                </li>
            </ul>
        </div>
{% endblock %}
    {% analytics %}
    </body>
</html>
