{% load i18n %}
{% load logintag %}
{% load navigation %}
<!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>
{% block head %}
    <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />
    <meta http-equiv="content-language" content="{{LANGUAGE_CODE}}" />
    <link rel="SHORTCUT ICON" href="{{LDT_MEDIA_PREFIX}}/img/favicon.ico" />
    <title>{% block title %}Lignes de temps{% endblock %}</title>
    {% block js_import %}{% endblock %}
    {% block css_declaration %}{% endblock %}
    {% block css_import %}
    <link href='http://fonts.googleapis.com/css?family=PT+Sans:400,700' rel='stylesheet' type='text/css'>
    <link rel="stylesheet" href="{{LDT_MEDIA_PREFIX}}css/front_common.css" type="text/css"/>
    {% endblock %}
    {% block js_declaration %}{% endblock %}
{% endblock %}
</head>
<body>
<div id="general_container">
    <ul class="floatlist" id="title_bar">
        <li id="li_h1">
            <h1><a href="{% url ldt.ldt_utils.views.front.front_home %}" title="{% trans 'homepage' %}">{% trans '<b>Lignes</b> de temps' %}</a></h1>
        </li>
        <li id="li_search">
            <form id="form_search" action="{% url ldt.ldt_utils.views.front.search_index %}" method="POST">
                {% csrf_token %}
                <!--input id="search_text" name="q" value="" /-->
                <input id="id_search" type="text" name="search">
                <input type="hidden" value="all" name="field">
                <input id="search_submit" type="submit" value="{% trans 'Search' %}" />
            </form>
        <li id="li_annotation">
            <div class="fl">
                <!-- a href="#"><img src="{{LDT_MEDIA_PREFIX}}img/annot_icon.png" id="annot_icon" /></a -->
                <a href="{% url root-view %}"  title="{% trans "back" %}">{% trans "back" %}</a>
            </div>
            <div class="fl">
                <!-- a href="{% url root-view %}">{% trans 'Annotate' %}</a -->
            </div>
        </li>
        <li id="li_connexion">
             {% if user.is_authenticated %}
             	<a href="{% url ldt.user.views.logout_view %}" title="{% trans "Log out" %}">{% trans "Log out" %}</a>
             {% else %}
             	<a href="{% url auth_login %}" title="{% trans "Log in" %}">{% trans "Log in" %}</a>
             {% endif %}       
        </li>
    </ul>
{% block body %}
{% endblock %}

<!-- FOOTER COMMUN -->
    <ul id="footer">
        <li>{% blocktrans %}{{WEB_VERSION}} | {{ VERSION }}{% endblocktrans %}</li>
        <li>©2011 IRI</li>
        <li>
            <a target="_blank" href="http://www.iri.centrepompidou.fr" title="{% trans 'link IRI'%}">{% trans "about" %}</a>
        </li>
    </ul>
    <div class="clear"></div>
</div>
</body>
</html>

