aboutsummaryrefslogtreecommitdiff
path: root/templates/statistics.html
blob: 21e8fcd2051282edd7dca83b43582811f54f6b12 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{% extends "base.html" %}

{% block title %}
  Statistiques
{% endblock title %}

{% block main %}

  <section class="g-Section">
    <div class="g-Chart">
      <canvas id="g-Chart__Canvas">
      </canvas>
    </div>
  </section>

  <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 %}