src/hdalab/templates/base.html
changeset 266 825ff4d6a8ac
parent 170 cb3e869ab252
child 272 1c774f7a0341
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/hdalab/templates/base.html	Mon Jun 16 17:11:32 2014 +0200
@@ -0,0 +1,61 @@
+{% load analytics %}
+<!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_URL}}hdalab/img/favicon.ico" />        
+        <title>{% block title %}HdA Lab{% endblock %}</title>
+
+{% block css_import %}
+        <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}hdalab/css/common.css" />
+{% endblock %}
+
+{% block js_import %}
+        <script src="{{STATIC_URL}}hdalab/lib/jquery-1.7.1.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><a class="{% block facettes_actif %}{% endblock %}" href="{% url facettes %}">Recherche par facettes</a></li>
+            </ul>
+            <h1>HdA Lab</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_URL}}hdalab/img/logo_mcc_blanc.png" />
+                    </a>
+                </li>
+                <li>
+                    <a href="http://www.iri-research.org/" target="_blank">
+                        <img src="{{STATIC_URL}}hdalab/img/logo_iri_blanc.png" />
+                    </a>
+                </li>
+            </ul>
+        </div>
+{% endblock %}
+    {% analytics %}
+    </body>
+</html>