{% load i18n %}
<?xml version="1.0" encoding="UTF-8"?>
<!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="{{STATIC_URL}}jocondelab/img/favicon.ico" />
    <title>{% block title %}JOCONDELAB-BO{% endblock %}</title>
    {% block js_import %}
    <script type="text/javascript" src="{% url 'django.views.i18n.javascript_catalog' %}"></script>
    <script type="text/javascript" src="{{STATIC_URL}}jocondelab/js/jocondelab.js"></script>
    <script type="text/javascript" src="{{STATIC_URL}}jocondelab/lib/jquery.min.js"></script>
    <script type="text/javascript" src="{{STATIC_URL}}jocondelab/lib/jquery-ui.min.js"></script>
    <script type="text/javascript" src="{{STATIC_URL}}jocondelab/lib/jquery.jstree.js"></script>
    {% endblock %}
        
    {% block css_import %}
    <link rel="stylesheet" href="{{STATIC_URL}}jocondelab/css/smoothness/jquery-ui-1.10.3.custom.min.css" type="text/css"/>
    <link rel="stylesheet" href="{{STATIC_URL}}jocondelab/css/style.css" type="text/css"/>
    {% endblock %}
    
    {% block css_declaration %}
    <style type="text/css">
        .rounded {
            behavior:url("{{STATIC_URL}}jocondelab/css/border-radius.htc");
        }
    </style>
    {% endblock %}
    
    
    {% block js_declaration %}
    <script type="text/javascript">
    var term_tree_json_url = "{% url 'term_tree' 0 %}";
    var term_tree_valid_thesaurus = {% if term_tree_valid_thesaurus %}JSON.parse('{{ term_tree_valid_thesaurus | safe }}'){% else %}[]{% endif %} ;
    </script>
    {% endblock %}
    
{% endblock %}
</head>
<body>
{% block body %}
<div class="container">
<div id="header">      
    {% block header %}
    <div id="header_left">
    	<p><a href="{% url 'bo_home' %}">Jocondelab<span class="hda_blue">BO</span></a></p>
    </div>
    {% endblock %}
</div>
<div id="content" class="span-24 last">
    <div id="toolbar">
    {% block toolbar %}
    {% if user.is_authenticated %}
    <ul>
    <li><a href="{% url 'bo_home' %}">Home</a></li>
    <li><span style="float:right;">{{user.username}}&nbsp;|&nbsp;<a href="{% url 'joconde_logout' %}" >Se déconnecter</a>{% if user.is_staff %}&nbsp;|&nbsp;<a href="{% url 'admin:index' %}" >admin</a>{% endif %}</span></li>
    </ul>
    {% endif %}
    {% endblock %}
    </div>
    <div id="inner_content">
    {% block content %}
    {% endblock %}
    </div>
</div>
<div id="footer" class="span-24 last">
    {% block footer %}
    <div class="footer_img">
    <a href="http://www.iri.centrepompidou.fr" target="_blank"><img src="{{STATIC_URL}}jocondelab/img/logo_IRI_footer.png" alt="Logo IRI" /></a>
    <a href="http://www.culturecommunication.gouv.fr" target="_blank"><img src="{{STATIC_URL}}jocondelab/img/logo_mcc_footer.png" alt="Logo Ministère de la Culture et de la Communication" /></a>
    </div>
    <div style="float: right; text-align: right;" class="small" id="copyright_version">
        <div>©2013 <a style="text-decoration: none; color: #4F5155;" href="http://www.iri.centrepompidou.fr" target="_blank">IRI</a></div>
        <div id="versionwrapper"><span class="version" id="version">{{VERSION}}</span></div>
    </div>
    {% endblock %}
</div>
</div>
{% endblock %}
</body>
</html>
