summaryrefslogtreecommitdiff
path: root/templates/layout.jinja
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2013-09-14 23:05:07 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2013-09-14 23:05:07 +0200
commit43459025bcac72318e4ef8a32c2d4455321bc191 (patch)
treedf364532e6b3526319ff916af7a687e28d89773b /templates/layout.jinja
parent8a1c2eab6d70bb6b8c3f49cbe49247f6934066ed (diff)
downloadkosten-43459025bcac72318e4ef8a32c2d4455321bc191.tar.gz
kosten-43459025bcac72318e4ef8a32c2d4455321bc191.tar.bz2
kosten-43459025bcac72318e4ef8a32c2d4455321bc191.zip
Draw pies using highcharts JS-lib
Diffstat (limited to '')
-rw-r--r--templates/layout.jinja14
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/layout.jinja b/templates/layout.jinja
index ee082f9..aa923d6 100644
--- a/templates/layout.jinja
+++ b/templates/layout.jinja
@@ -2,13 +2,6 @@
<html>
<head>
<meta charset=utf-8" >
- {% if not g.is_mobile %}
- {% block js %}
- <script type="text/javascript" src="{{ "js/jquery-1.10.2.js" | static_url }}"></script>
- <script type="text/javascript" src="{{ "js/kosten.js" | static_url }}"></script>
- {% if JSFunction %}<script type="text/javascript">{{ JSFunction }}()</script> {% endif %}
- {% endblock %}
- {% endif %}
<link rel="shortcut icon" href="{{ "images/currency.png" | static_url }}" type="image/icon">
<title>{{ title or "Kostenverwaltung" }}</title>
{% block style %}
@@ -54,5 +47,12 @@
</p>
{% endblock %}
</div>
+ {% if not g.is_mobile %}
+ {% block js %}
+ <script type="text/javascript" src="{{ "js/jquery-1.10.2.js" | static_url }}"></script>
+ <script type="text/javascript" src="{{ "js/kosten.js" | static_url }}"></script>
+ {% endblock %}
+ {% if JSFunction %}<script type="text/javascript">{{ JSFunction }}()</script> {% endif %}
+ {% endif %}
</body>
</html>