arrowcounter/counter/templates/stats.html
Claudio Maggioni (maggicl) 4848698d63 Added translations in italian
2019-07-27 13:58:09 +02:00

22 lines
716 B
HTML

{# vim: set ts=2 sw=2 et tw=80: #}
{% extends 'base.html' %}
{% load i18n %}
{% load static %}
{% block title %}{% trans "Weekly stats" %}{% endblock %}
{% block scripts %}
<script id="data" type="application/json">
{% autoescape off %}{{ weeklyArrows }}{% endautoescape %}
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/Chart.js/2.7.2/Chart.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.22.2/moment.min.js"></script>
<script src="{% static 'js/dateformat.js' %}"></script>
<script src="{% static 'js/weeklystats.js' %}"></script>
{% endblock %}
{% block content %}
<h1 class="center">{% trans "Weekly stats" %}</h1>
<canvas id="chart"></canvas>
{% endblock %}