{% extends "template_1.html" %} {% block scripts %} {% endblock %} {% block content %}

{% if chart %}

Chart:

{{ name }} evolution
{% endif %} {% if data %}

Raw data:

{% for item in data %} {% if forloop.counter0|divisibleby:"2" %} {% else %} {% endif %} {% endfor %}
Month Usage time (hours)
{{ item|first|capfirst }} {{ item|last|floatformat:"3" }}
{% endif %}
{% endblock %}