diff options
Diffstat (limited to 'templates/statistics.html')
-rw-r--r-- | templates/statistics.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/statistics.html b/templates/statistics.html new file mode 100644 index 0000000..badbc6d --- /dev/null +++ b/templates/statistics.html @@ -0,0 +1,29 @@ +{% extends "base.html" %} + +{% block title %} + Statistiques +{% endblock title %} + +{% block main %} + + <div class="g-Chart"> + <canvas id="g-Chart__Canvas"> + </canvas> + </div> + + <div id="categories" hidden> + {{ json_categories }} + </div> + + <div id="incomes" hidden> + {{ json_incomes }} + </div> + + <div id="payments" hidden> + {{ json_payments }} + </div> + + <script src="{{ assets | get(key="chart.js") }}"> + </script> + +{% endblock main %} |