Include chart.js in static
This commit is contained in:
parent
3d6f8c8ed9
commit
b2e330de7b
|
@ -4,7 +4,7 @@
|
|||
|
||||
{% block title %}Borg Summary{% endblock %}
|
||||
{% block script %}
|
||||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
||||
<script src="{% static 'js/chart-3.2.1.min.js' %}"></script>
|
||||
{{ hour_list|json_script:"hour_list" }}
|
||||
<script src="{% static 'js/index.js' %}"></script>
|
||||
{% endblock %}
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
{% load static %}
|
||||
{% block script %}
|
||||
{{block.super}}
|
||||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
||||
<script src="{% static 'js/chart-3.2.1.min.js' %}"></script>
|
||||
{{ hour_list|json_script:"hour_list" }}
|
||||
{# <script src="{% static 'js/index.js' %}"></script>#}
|
||||
{% endblock %}
|
||||
|
|
13
borgweb/static/js/chart-3.2.1.min.js
vendored
Normal file
13
borgweb/static/js/chart-3.2.1.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user