base.html 2 KB
Newer Older
1 2 3 4 5 6 7
{% load url from future %}
{% load i18n %}
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8"/>
    <title>{% block page-title %}Panik DB{% endblock %}</title>
8 9 10 11 12

    <script type="text/javascript" src="{{ STATIC_URL }}js/jquery.js"></script>
    <script type="text/javascript" src="{{ STATIC_URL }}js/bootstrap.js"></script>
    <link href="{{ STATIC_URL }}css/bootstrap.css" rel="stylesheet" type="text/css"/>

fred's avatar
fred committed
13
    <script src="{{ STATIC_URL }}js/jquery-ui.js"></script>
fred's avatar
fred committed
14 15 16
    <script src="{{ STATIC_URL }}js/jquery.fileupload.js"></script>
    <script src="{{ STATIC_URL }}js/jquery.iframe-transport.js"></script>
    <script src="{{ STATIC_URL }}js/qommon.fileupload.js"></script>
fred's avatar
fred committed
17
    <script src="{{ STATIC_URL }}select2/select2.min.js"></script>
18

fred's avatar
fred committed
19
    <link href="{{ STATIC_URL }}select2/select2.css" rel="stylesheet" type="text/css"/>
20 21 22 23 24
    <link href="{{ STATIC_URL }}css/datetimepicker.css" rel="stylesheet" type="text/css"/>
    <script type="text/javascript" src="{{ STATIC_URL }}js/bootstrap-datetimepicker.js"></script>

    <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/style.css"/>

25
    <!-- <script src="{{ STATIC_URL }}js/qommon.ahah.js"></script> -->
fred's avatar
fred committed
26
    <link rel="stylesheet" type="text/css" media="all" href="{{ STATIC_URL }}css/smoothness/jquery-ui-1.10.0.custom.css"/>
27

28 29 30 31 32 33 34 35 36
    {% block extrascripts %}
    {% endblock %}
  </head>
  <body>
  {% block wrapper %}
  <div id="wrap">
  {% endblock %}
    {% if not popup %}
    <div id="header">
fred's avatar
fred committed
37
      <h1><a href="{% url 'home' %}">Panik DB</a></h1>
38 39 40 41 42
    </div>
    <div id="splash">
    </div>
    {% endif %}
    <div id="content">
43 44 45 46
      <div id="appbar">
        {% block appbar %}
        {% endblock %}
      </div>
47 48 49 50 51 52 53
      {% block beforecontent %}
      {% endblock %}
      {% block content %}
      {% endblock %}
    </div>
  </div>
  {% block page-end %}
fred's avatar
fred committed
54 55 56 57 58 59
<script>
$(document).ready(function() {
  $('select[multiple=multiple]').select2();
  $('select[multiple=multiple]').next('.helptext').hide();
});
</script>
60 61 62
  {% endblock %}
  </body>
</html>