diff options
Diffstat (limited to 'templates/stats')
-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 %} |