diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2014-08-28 00:55:22 +0200 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2014-08-28 00:55:22 +0200 |
commit | 91f69a2754b38ea4583ef240f589d4da97f55c9d (patch) | |
tree | f6cda5c7ecdf224fb7b896a14131fc2e34d0118c /templates/stats | |
parent | 93cd07c81463959b7281a10557ea1d9471b97322 (diff) | |
download | kosten-91f69a2754b38ea4583ef240f589d4da97f55c9d.tar.gz kosten-91f69a2754b38ea4583ef240f589d4da97f55c9d.tar.bz2 kosten-91f69a2754b38ea4583ef240f589d4da97f55c9d.zip |
Add clickable stat points
Diffstat (limited to '')
-rw-r--r-- | templates/stats/const_dialog.jinja | 8 | ||||
-rw-r--r-- | templates/stats/show.jinja | 6 |
2 files changed, 14 insertions, 0 deletions
diff --git a/templates/stats/const_dialog.jinja b/templates/stats/const_dialog.jinja new file mode 100644 index 0000000..9f059b8 --- /dev/null +++ b/templates/stats/const_dialog.jinja @@ -0,0 +1,8 @@ + +<ul class="arrow"> + {% for c in consts -%} + <li><a href="{{ url_for("consts.show", id = c.id) }}">{{c.description}}</a> + ({{c.monthly | eur}}) + </li> + {% endfor %} +</ul> diff --git a/templates/stats/show.jinja b/templates/stats/show.jinja index f57a119..53985a7 100644 --- a/templates/stats/show.jinja +++ b/templates/stats/show.jinja @@ -5,6 +5,12 @@ {% block js %} {{ super() }} <script type="text/javascript" src="{{ "js/highstock-2.0.3.js" | static_url }}"></script> + <script type="text/javascript" src="{{ "jqueryui/jquery-ui.js" | static_url }}"></script> +{% endblock %} + +{% block style %} + {{ super() }} + <link href="{{ "jqueryui/css/ui-darkness/jquery-ui.css" | static_url }}" rel="stylesheet" type="text/css"> {% endblock %} {% block heading %} |