Revert "load bootswatch less locally #1217"

This reverts commit 3a9a7267ea8734ba0a5cf1d0fea632eb2276d45c.
This commit is contained in:
Ariel Rin
2020-09-11 04:13:01 +00:00
parent 17ef3dd07a
commit af3527e64f
25 changed files with 91 additions and 73 deletions

View File

@@ -36,9 +36,15 @@
{% block extra_script %}
$('#id_start').datetimepicker({
lang: '{{ LANGUAGE_CODE }}',
maskInput: true,
format: 'Y-m-d H:i',minDate:0
setlocale: '{{ LANGUAGE_CODE }}',
{% if NIGHT_MODE %}
theme: 'dark',
{% else %}
theme: 'default',
{% endif %}
mask: true,
format: 'Y-m-d H:i',
minDate: 0
});
{% endblock extra_script %}

View File

@@ -41,7 +41,7 @@
{% include 'bundles/moment-js.html' with locale=True %}
<script src="{% static 'js/timers.js' %}"></script>
<script type="text/javascript">
<script type="application/javascript">
// Data
var timers = [
{% for op in optimer %}
@@ -53,7 +53,7 @@
{% endfor %}
];
</script>
<script type="text/javascript">
<script type="application/javascript">
timedUpdate();
setAllLocalTimes();

View File

@@ -44,9 +44,15 @@
{% block extra_script %}
$('#id_start').datetimepicker({
lang: '{{ LANGUAGE_CODE }}',
maskInput: true,
format: 'Y-m-d H:i',minDate:0
setlocale: '{{ LANGUAGE_CODE }}',
{% if NIGHT_MODE %}
theme: 'dark',
{% else %}
theme: 'default',
{% endif %}
mask: true,
format: 'Y-m-d H:i',
minDate: 0
});
{% endblock extra_script %}