src/hdalab/templates/base.html
changeset 271 8f77cf71ab02
parent 261 f5b5affc2586
child 272 1c774f7a0341
equal deleted inserted replaced
265:73f19fa4f997 271:8f77cf71ab02
       
     1 {% load analytics %}
       
     2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
       
     3     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
       
     4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{LANGUAGE_CODE}}" lang="{{LANGUAGE_CODE}}">
       
     5     <head>
       
     6         <meta charset="utf-8" />
       
     7         <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />        
       
     8         <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
       
     9         <meta http-equiv="content-language" content="{{LANGUAGE_CODE}}" />
       
    10         <link rel="SHORTCUT ICON" href="{{STATIC_URL}}hdalab/img/favicon.ico" />        
       
    11         <title>{% block title %}HdA Lab{% endblock %}</title>
       
    12 
       
    13 {% block css_import %}
       
    14         <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}hdalab/css/common.css" />
       
    15 {% endblock %}
       
    16 
       
    17 {% block js_import %}
       
    18         <script src="{{STATIC_URL}}hdalab/lib/jquery-1.7.1.min.js"></script>
       
    19 {% endblock %}
       
    20         
       
    21     </head>
       
    22     <body>
       
    23 
       
    24 {% block header %}
       
    25         <div id="header">
       
    26             <ul id="nav">
       
    27                 <li><a class="{% block home_actif %}{% endblock %}" href="{% url home %}">Accueil</a></li>
       
    28                 <li>&mdash;</li>
       
    29                 <li>Navigation par&nbsp;:</li>
       
    30                 <li><a class="{% block facettes_actif %}{% endblock %}" href="{% url facettes %}">Facettes</a></li>
       
    31                 <li><a class="{% block categories_actif %}{% endblock %}" href="{% url categories %}">Catégories de Wikipedia</a></li>
       
    32                 <li><a class="{% block thesaurus_actif %}{% endblock %}" href="{% url thesaurus %}">Thésaurus</a></li>
       
    33             </ul>
       
    34             <h1>
       
    35                 <a href="{% url home %}">HdA Lab</a>
       
    36             </h1>
       
    37         </div>
       
    38         <div id="container">
       
    39 {% endblock %}
       
    40 
       
    41 {% block main_content %}
       
    42 
       
    43 {% endblock %}
       
    44 
       
    45 {% block footer %}
       
    46         </div>
       
    47         <div id="footer">
       
    48             <ul id="footer-contents">
       
    49                 <li>
       
    50                     <p>Une expérimentation de l'Institut de Recherche et d'Innovation et du Ministère de la Culture et de la Communication</p>
       
    51                 </li>
       
    52                 <li>
       
    53                     <a href="http://culture.gouv.fr/" target="_blank">
       
    54                         <img src="{{STATIC_URL}}hdalab/img/logo_mcc_blanc.png" />
       
    55                     </a>
       
    56                 </li>
       
    57                 <li>
       
    58                     <a href="http://www.iri-research.org/" target="_blank">
       
    59                         <img src="{{STATIC_URL}}hdalab/img/logo_iri_blanc.png" />
       
    60                     </a>
       
    61                 </li>
       
    62             </ul>
       
    63         </div>
       
    64 {% endblock %}
       
    65     {% analytics %}
       
    66     </body>
       
    67 </html>