diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2016-05-01 14:32:19 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2016-05-01 14:32:19 +0200 |
commit | d66ef2928b913b6eccb0ab05c95996dbea922773 (patch) | |
tree | cdc8d752274fdf1e0f2b28303fb4bbb1951ab9d2 /templates/stats | |
parent | 78b318d350e404d2fccf174242638bcf4aca2f57 (diff) | |
download | kosten-d66ef2928b913b6eccb0ab05c95996dbea922773.tar.gz kosten-d66ef2928b913b6eccb0ab05c95996dbea922773.tar.bz2 kosten-d66ef2928b913b6eccb0ab05c95996dbea922773.zip |
Overhaul js handling
Diffstat (limited to 'templates/stats')
-rw-r--r-- | templates/stats/show.jinja | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/templates/stats/show.jinja b/templates/stats/show.jinja index 1de1dcc..859a80b 100644 --- a/templates/stats/show.jinja +++ b/templates/stats/show.jinja @@ -1,12 +1,7 @@ {% extends "layout.jinja" %} {% set JSFunction = "statJS" %} - -{% block js %} - {{ super() }} - <script type="text/javascript" src="{{ "js/highstock-2.1.5.js" | static_url }}"></script> - <script type="text/javascript" src="{{ "jqueryui/jquery-ui.js" | static_url }}"></script> -{% endblock %} +{% set additionalJS = ["highstock", "jqueryui"] %} {% block style %} {{ super() }} |