Project

General

Profile

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

calebasse / calebasse / templates / calebasse / base.html @ 2c6641c8

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="all" href="{{ STATIC_URL }}css/font-awesome.min.css" />
10
    <link rel="stylesheet" type="text/css" media="print" href="{{ STATIC_URL }}css/print.css"/>
11
    <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/smoothness/jquery-ui-1.8.21.custom.css"/>
12
    <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/ajax_select.css"/>
13
    <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/calebasse.checkboxwidget.css" />
14
    <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/calebasse.divmenu.css" />
15
    <link rel="stylesheet" type="text/css" href="{{ STATIC_URL }}css/calebasse.datesel.css" />
16
    <script src="{{ STATIC_URL }}js/jquery-1.8.2.min.js"></script>
17
    <script src="{{ STATIC_URL }}js/jquery.cookie.js"></script>
18
    <script>$.cookie.json = true;</script>
19
    <script src="{{ STATIC_URL }}js/jquery-ui-1.9.1.min.js"></script>
20
    <script src="{{ STATIC_URL }}js/jquery.form.js"></script>
21
    <script src="{{ STATIC_URL }}js/jquery.sortElements.js"></script>
22
    <script src="{{ STATIC_URL }}development-bundle/ui/i18n/jquery.ui.datepicker-fr.js"></script>
23
    <script src="{{ STATIC_URL }}js/ajax_select.js"></script>
24
    <script src="{{ STATIC_URL }}js/jquery.mousewheel.js"></script>
25
    <script src="{{ STATIC_URL }}js/calebasse.mousewheel.js"></script>
26
    <script src="{{ STATIC_URL }}js/calebasse.tables.js"></script>
27
    <script src="{{ STATIC_URL }}js/calebasse.text_input_wrapper.js"></script>
28
    <script src="{{ STATIC_URL }}/js/calebasse.checkboxwidget.js"></script>
29
    <script src="{{ STATIC_URL }}/js/calebasse.divmenu.js"></script>
30
    {% block extrascripts %}
31
    <script src="{{ STATIC_URL }}js/calebasse.dialog.js"></script>
32
    {% endblock %}
33
    {% block extrastyles %}
34
    {% endblock %}
35
  </head>
36
  <body class="{% firstof service params.service %} {% block body-class %}{% endblock %}{% if popup %} popup{% endif %}">
37
  {% block wrapper %}
38
  <div id="wrap-large">
39
  {% endblock %}
40
    {% if not popup %}
41
    <div id="header">
42
      {% block header %}<h1><a href="/">APS 42</a></h1>{% endblock %}
43
    </div>
44
    <div id="splash" class="{{ service }}">
45
      <div id="user-links">
46
        {% block user-links %}
47
        <a href="{% url 'logout' %}">Déconnexion</a>
48
        {% endblock %}
49
      </div>
50

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

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

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

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