Utilisation de django_compressor pour versioner les js et css.
[auf_savoirs_en_partage_django.git] / auf_savoirs_en_partage / templates / container_base.html
1 {% load compress %}
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4 <head>
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <title>Savoirs en partage - Agence universitaire de la Francophonie</title>
7 <link rel="icon" type="image/png" href="{{ MEDIA_URL }}img/favicon.ico" />
8 {% compress js %}
9 <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery/jquery.js"></script>
10 <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery/jquery-ui.js"></script>
11 <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery/jquery.ui.datepicker-fr.js"></script>
12 <script type="text/javascript" src="{{ MEDIA_URL }}js/tabber.js"></script>
13 <script type="text/javascript" src="{{ MEDIA_URL }}js/pagination.js"></script>
14 <script type="text/javascript" src="{{ MEDIA_URL }}js/sep.js"></script>
15 {% endcompress %}
16 {% block extra-script %}{% endblock %}
17
18 {% compress css %}
19 <link href="{{ MEDIA_URL }}css/global.css" rel="stylesheet" type="text/css" />
20 <link href="{{ MEDIA_URL }}css/tabber.css" rel="stylesheet" type="text/css" />
21 <link rel="stylesheet" href="{{ MEDIA_URL }}js/jquery/css/smoothness/jquery-ui-1.8rc3.custom.css" type="text/css" media="all" />
22 {% endcompress %}
23
24 <!--[if lt IE 7]>
25 <link href="{{ MEDIA_URL }}css/ie6.css" rel="stylesheet" type="text/css" media="screen" />
26 <script src="{{ MEDIA_URL }}js/DD_belatedPNG.js"></script>
27 <script>
28 DD_belatedPNG.fix('.top, .bottom, #col-droite, #contenu, .resultats');
29 </script>
30 <![endif]-->
31 {% block extra-style %}{% endblock %}
32 </head>
33
34 <body>
35 <div id="fond">
36 <div id="enrobage" class="clearfix">
37
38 <div class="sous-menu droite">
39 {% if user.is_authenticated %}
40 <a href="{% url django.contrib.auth.views.logout %}" class="bout-droit">Déconnexion</a>
41 {% else %}
42 <a href="{% url chercheurs.views.chercheur_login %}" class="bout-droit">Connexion</a>
43 {% endif %}
44 <span>|</span>
45 <a href="{% url savoirs.views.legal %}">Légal</a>
46 <span>|</span>
47 <a href="{% url savoirs.views.nous_contacter %}">Contact</a>
48 <span>|</span>
49 <a href="{% url savoirs.views.a_propos %}" class="bout-gauche">À propos</a>
50 </div>
51
52 <div class="sous-menu gauche">
53 <a href="{% url savoirs.views.actualite_index %}" class="bout-droit">Actualités</a>
54 <span>|</span>
55 <a href="{% url savoirs.views.evenement_index %}">Agenda</a>
56 <span>|</span>
57 <a href="{% url sitotheque.views.index %}">Sites</a>
58 <span>|</span>
59 <a href="{% url savoirs.views.ressource_index %}">Ressources</a>
60 <span>|</span>
61 <a href="{% url chercheurs.views.index %}">Répertoire</a>
62 <span>|</span>
63 <a href="{% url savoirs.views.index %}" class="bout-gauche">Accueil</a>
64 </div>
65
66 <div id="logo" style="clear:both;">
67 <h1>
68 <a href="http://www.auf.org" title="Agence universitaire de la Francophonie">Agence universitaire de la Francophonie</a>
69 </h1>
70 </div>
71
72 <div id="col-menu">
73 {% load sep_menu %}
74 {% sep_menu %}
75 <img src="{{ MEDIA_URL }}img/col-droite-background-bottom.png" width="190" height="8" alt="bottom" align="bottom" class="bottom" />
76 </div>
77
78 <div id="sep-recherche">
79 <h2 class="slogan">Savoirs en partage <span style="display:inline; color:#db602f;">bêta</span>
80 <span>Le portail des ressources scientifiques<br />et pédagogiques de l'AUF</span>
81 </h2>
82
83 <div class="boite-recherche">
84 <h3>Recherche</h3>
85
86 <form name="fRecherche" id="fRecherche" action="{% url savoirs.views.recherche %}" method="get">
87 <input name="q" id="recherche" type="text" value="{{ q|default:"" }}" />
88 <button title="Lancer la recherche" type="submit">&nbsp;</button>
89 </form>
90
91 </div>
92 </div>
93
94 <div id="contenu" class="clearfix">
95 <img src="{{ MEDIA_URL }}img/contenu-bkg-top.png" width="744" height="10" alt="top" align="top" class="top" />
96 <div class="clearfix">
97 {% block contenu %}
98 {% endblock %}
99 </div>
100 <!-- Fin block -->
101 <img src="{{ MEDIA_URL }}img/contenu-bkg-bottom.png" width="744" height="10" alt="bottom" align="bottom" class="bottom" />
102 </div>
103
104 <div class="clear"></div>
105 </div>
106 </div>
107 </body>
108 </html>