Ajout d'un graphique sur la fréquentation en fonction de l'heure

This commit is contained in:
agerbaud
2017-08-10 17:28:52 +02:00
parent 34e2ac1183
commit a78df69762
4 changed files with 67 additions and 36 deletions

View File

@@ -15,11 +15,9 @@
{% block breadcrumbs %}
{{ block.super }}
<li>Tests</li>
<li>Fréquentation</li>
{% endblock %}
{% block page_content %}
{{ par_heure.as_html }}
<hr />
{{ par_heure_continu.as_html }}
{% endblock %}

View File

@@ -10,5 +10,10 @@
<span class="glyphicon glyphicon-adjust"></span>
</a>
</li>
<li role="presentation" {% active namespace="statistiques" viewname="frequentation" %}>
<a href="{% url "statistiques:frequentation" %}?year={{year|default:0}}{% if month %}&month={{month}}{% endif %}">Fréquentation&nbsp;
<span class="glyphicon glyphicon-adjust"></span>
</a>
</li>
</ul>
<hr />