Replace third party client libraries with CDN delivered versions (#709)

* Correct invalid html

* Add bundle files for CDN CSS and javascript

* Replace static javascript refs with bundles

* Change password reset templates to use a basefile

And switch to use bundles

* Remove third party libraries

* Remove awkward margin styling on navbars
This commit is contained in:
Basraah
2017-02-12 13:06:10 +10:00
committed by Adarnof
parent 8c82897a92
commit 58e121d10d
34 changed files with 175 additions and 15783 deletions

View File

@@ -8,7 +8,8 @@
{% block page_title %}{% trans "Timer Create" %}{% endblock page_title %}
{% block extra_css %}
<link href="{% static 'css/jquery.datetimepicker.css' %}" rel="stylesheet" type="text/css">{% endblock extra_css %}
{% include 'bundles/jquery-datetimepicker-css.html' %}
{% endblock extra_css %}
{% block content %}
<div class="col-lg-12">
@@ -30,6 +31,10 @@
{% endblock content %}
{% block extra_javascript %}
{% include 'bundles/jquery-datetimepicker-js.html' %}
{% endblock %}
{% block extra_script %}
$('#id_eve_time').datetimepicker({