Project

General

Profile

Download (3.35 KB) Statistics
| Branch: | Tag: | Revision:

calebasse / calebasse / templates / calebasse / base.html @ 60911fd8

1
{% load url from future %}
2
<!DOCTYPE html>
3
<html lang="fr">
4
  <head>
5
    <meta charset="utf-8"/>
6
    <title>{% block title %}{{ service_name }}{% endblock %}</title>
7
    <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/style.css"/>
8
    <link rel="stylesheet" type="text/css" media="print" href="{{ STATIC_URL }}css/print.css"/>
9
    <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/smoothness/jquery-ui-1.8.21.custom.css"/>
10
    <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/ajax_select.css"/>
11
    <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/calebasse.checkboxwidget.css" />
12
    <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/calebasse.divmenu.css" />
13
    <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/calebasse.datesel.css" />
14
    <script src="{{ STATIC_URL }}js/jquery-1.7.2.min.js"></script>
15
    <script src="{{ STATIC_URL }}js/jquery.cookie.js"></script>
16
    <script>$.cookie.json = true;</script>
17
    <script src="{{ STATIC_URL }}js/jquery-ui-1.8.21.custom.min.js"></script>
18
    <script src="{{ STATIC_URL }}js/jquery.form.js"></script>
19
    <script src="{{ STATIC_URL }}js/jquery.sortElements.js"></script>
20
    <script src="{{ STATIC_URL }}development-bundle/ui/i18n/jquery.ui.datepicker-fr.js"></script>
21
    <script src="{{ STATIC_URL }}js/ajax_select.js"></script>
22
    <script src="{{ STATIC_URL }}js/jquery.mousewheel.js"></script>
23
    <script src="{{ STATIC_URL }}js/calebasse.mousewheel.js"></script>
24
    <script src="{{ STATIC_URL }}js/calebasse.dialog.js"></script>
25
    <script src="{{ STATIC_URL }}js/calebasse.tables.js"></script>
26
    <script src="{{ STATIC_URL }}js/calebasse.text_input_wrapper.js"></script>
27
    <script src="{{ STATIC_URL }}/js/calebasse.checkboxwidget.js"></script>
28
    <script src="{{ STATIC_URL }}/js/calebasse.divmenu.js"></script>
29
    {% block extrascripts %}
30
    {% endblock %}
31
  </head>
32
  <body class="{% firstof service params.service %} {% block body-class %}{% endblock %}{% if popup %} popup{% endif %}">
33
  {% block wrapper %}
34
  <div id="wrap-large">
35
  {% endblock %}
36
    {% if not popup %}
37
    <div id="header">
38
      {% block header %}<h1><a href="/">APS 42</a></h1>{% endblock %}
39
    </div>
40
    <div id="splash" class="{{ service }}">
41
      <div id="user-links">
42
        {% block user-links %}
43
        <a href="{% url 'logout' %}">Déconnexion</a>
44
        {% endblock %}
45
      </div>
46

    
47
      {% block messages %}
48
      {% if messages %}
49
      <ul class="messages">
50
        {% for message in messages %}
51
        <li{% if message.tags %} class="{{ message.tags }}"{% endif %}>{{ message }}</li>
52
        {% endfor %}
53
      </ul>
54
      <script type="text/javascript">
55
        $('.messages').delay(1000*(1+{{ messages|length }})).fadeOut('slow');
56
      </script>
57
      {% endif %}
58
      {% endblock %}
59

    
60
    </div>
61
    {% endif %}
62
    <div id="content">
63

    
64
      <div id="appbar">
65
        {% block appbar %}
66
        {% endblock %}
67
      </div>
68
      {% block beforecontent %}
69
      {% endblock %}
70
      {% block content %}
71
      {% endblock %}
72
    </div>
73
    {% if not popup %}
74
    <div id="footer">
75
      {% block footer %}Logiciel Calebasse — Copyright © Entr'ouvert{% endblock %}
76
    </div>
77
    {% endif %}
78
  </div>
79

    
80
  <div id="dialogs">
81
  {% block dialogs %}
82
  {% endblock %}
83
  </div>
84
  {% block page-end %}
85
  {% endblock %}
86
  </body>
87
</html>
(3-3/8)