src/hdalab/templates/base.html
changeset 279 177b508612f4
parent 272 1c774f7a0341
child 280 56d84b0c267f
equal deleted inserted replaced
278:e8855ddc1851 279:177b508612f4
     1 {% load analytics %}
     1 {% load analytics %}
       
     2 {% load static %}
     2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     3 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
     3     "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
     4     "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 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{{LANGUAGE_CODE}}" lang="{{LANGUAGE_CODE}}">
     5     <head>
     6     <head>
     6         <meta charset="utf-8" />
     7         <meta charset="utf-8" />
     7         <meta http-equiv="Content-type" content="text/html;charset=UTF-8" />        
     8         <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="X-UA-Compatible" content="IE=edge,chrome=1" />
     9         <meta http-equiv="content-language" content="{{LANGUAGE_CODE}}" />
    10         <meta http-equiv="content-language" content="{{LANGUAGE_CODE}}" />
    10         <link rel="SHORTCUT ICON" href="{{STATIC_URL}}hdalab/img/favicon.ico" />        
    11         <link rel="SHORTCUT ICON" href="{% static 'hdalab/img/favicon.ico' %}" />        
    11         <title>{% block title %}HdA Lab{% endblock %}</title>
    12         <title>{% block title %}HdA Lab{% endblock %}</title>
    12 
    13 
    13 {% block css_import %}
    14 {% block css_import %}
    14         <link rel="stylesheet" type="text/css" href="{{STATIC_URL}}hdalab/css/common.css" />
    15         <link rel="stylesheet" type="text/css" href="{% static 'hdalab/css/common.css' %}" />
    15 {% endblock %}
    16 {% endblock %}
    16 
    17 
    17 {% block js_import %}
    18 {% block js_import %}
    18         <script src="{{STATIC_URL}}hdalab/lib/jquery-1.7.1.min.js"></script>
    19         <script src="{% static 'hdalab/lib/jquery-1.7.1.min.js' %}"></script>
    19 {% endblock %}
    20 {% endblock %}
    20         
    21         
    21     </head>
    22     </head>
    22     <body>
    23     <body>
    23 
    24 
    24 {% block header %}
    25 {% block header %}
    25         <div id="header">
    26         <div id="header">
    26             <ul id="nav">
    27             <ul id="nav">
    27                 <li><a class="{% block home_actif %}{% endblock %}" href="{% url home %}">Accueil</a></li>
    28                 <li><a class="{% block home_actif %}{% endblock %}" href="{% url 'home'  %}">Accueil</a></li>
    28                 <li>&mdash;</li>
    29                 <li>&mdash;</li>
    29                 <li>Navigation par&nbsp;:</li>
    30                 <li>Navigation par&nbsp;:</li>
    30                 <li><a class="{% block facettes_actif %}{% endblock %}" href="{% url facettes %}">Facettes</a></li>
    31                 <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 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                 <li><a class="{% block thesaurus_actif %}{% endblock %}" href="{% url 'thesaurus' %}">Thésaurus</a></li>
    33             </ul>
    34             </ul>
    34             <h1>
    35             <h1>
    35                 <a href="{% url home %}">HdA Lab</a>
    36                 <a href="{% url 'home' %}">HdA Lab</a>
    36             </h1>
    37             </h1>
    37         </div>
    38         </div>
    38         <div id="container">
    39         <div id="container">
    39 {% endblock %}
    40 {% endblock %}
    40 
    41 
    49                 <li>
    50                 <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                     <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>
    52                 <li>
    53                 <li>
    53                     <a href="http://culture.gouv.fr/" target="_blank">
    54                     <a href="http://culture.gouv.fr/" target="_blank">
    54                         <img src="{{STATIC_URL}}hdalab/img/logo_mcc_blanc.png" />
    55                         <img src="{% static 'hdalab/img/logo_mcc_blanc.png' %}" />
    55                     </a>
    56                     </a>
    56                 </li>
    57                 </li>
    57                 <li>
    58                 <li>
    58                     <a href="http://www.iri-research.org/" target="_blank">
    59                     <a href="http://www.iri-research.org/" target="_blank">
    59                         <img src="{{STATIC_URL}}hdalab/img/logo_iri_blanc.png" />
    60                         <img src="{% static 'hdalab/img/logo_iri_blanc.png' %}" />
    60                     </a>
    61                     </a>
    61                 </li>
    62                 </li>
    62             </ul>
    63             </ul>
    63         </div>
    64         </div>
    64 {% endblock %}
    65 {% endblock %}