Project

General

Profile

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

calebasse / calebasse / templates / calebasse / base.html @ 505f729d

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

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

    
63
    </div>
64
    {% endif %}
65
    <div id="content">
66

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

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