arrowcounter/counter/templates/stats.html

20 lines
637 B
HTML
Raw Normal View History

2018-09-11 20:50:54 +00:00
{% extends 'base.html' %}
{% load static %}
{% block title %}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>
2018-09-11 20:50:54 +00:00
{% endblock %}
{% block content %}
<h1 class="center">Weekly stats</h1>
<canvas id="chart"></canvas>
{% endblock %}