src/hdalab/templates/base.html
changeset 271 8f77cf71ab02
parent 261 f5b5affc2586
child 272 1c774f7a0341
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/hdalab/templates/base.html	Tue Jun 17 10:25:33 2014 +0200
@@ -0,0 +1,67 @@
+{% 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>&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>
+            </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_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>