diff options
author | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-15 08:49:37 +0100 |
---|---|---|
committer | Matthew Lemon <lemon@matthewlemon.com> | 2020-10-15 08:49:37 +0100 |
commit | 2fe19119ae271e0a6dc94fdf37c646d7bfb8e767 (patch) | |
tree | 0b51db561dfd982ace1a96db777252b319206276 /ctrack/templates/base.html | |
parent | bd3be4de2c6df800e795dfdeb2c49aa8b9797c05 (diff) |
new bootstrap static files, new datatables static files
Diffstat (limited to 'ctrack/templates/base.html')
-rw-r--r-- | ctrack/templates/base.html | 39 |
1 files changed, 22 insertions, 17 deletions
diff --git a/ctrack/templates/base.html b/ctrack/templates/base.html index 32ec1b3..ff396e9 100644 --- a/ctrack/templates/base.html +++ b/ctrack/templates/base.html @@ -18,15 +18,18 @@ {% block css %} <!-- Latest compiled and minified Bootstrap CSS --> - <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" - integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous"> + {# <link href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T" crossorigin="anonymous">#} + + <link rel="stylesheet" href="{% static "css/bootstrap_simplex.min.css" %}"> <!-- Your stuff: Third-party CSS libraries go here --> {# <link href="jumbotron.css" rel="stylesheet">#} <!-- This file stores project-specific CSS --> - {# <link rel="stylesheet" type="text/css" href="css/DataTables/datatables.min.css"/>#} - <link rel="stylesheet" type="text/css" href="https://cdn.datatables.net/v/dt/dt-1.10.20/af-2.3.4/b-1.6.1/b-print-1.6.1/cr-1.5.2/r-2.2.3/datatables.min.css"/> + <link rel="stylesheet" type="text/css" href="{% static "css/datatables.min.css" %}/> + +{# <link rel="stylesheet" type="text/css"#} +{# href="https://cdn.datatables.net/v/dt/dt-1.10.20/af-2.3.4/b-1.6.1/b-print-1.6.1/cr-1.5.2/r-2.2.3/datatables.min.css"/>#} <link href="{% static 'css/project.css' %}" rel="stylesheet"> {% endblock %} <style> @@ -109,25 +112,27 @@ {% block javascript %} <!-- Bootstrap JS and its dependencies--> - <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" - integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" - crossorigin="anonymous"></script> - <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js" - integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49" - crossorigin="anonymous"></script> - <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" - integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" - crossorigin="anonymous"></script> - + {# <script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"#} + {# integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"#} + {# crossorigin="anonymous"></script>#} + {# <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"#} + {# integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"#} + {# crossorigin="anonymous"></script>#} + {# <script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js"#} + {# integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM"#} + {# crossorigin="anonymous"></script>#} + + <script src="{% static "js/bootstrap.js" %}"></script> <!-- Your stuff: Third-party javascript libraries go here --> <!-- place project specific Javascript in this file --> <script src="{% static 'js/project.js' %}"></script> - {# <script src="{% static 'js/DataTables/datatables.min.js' %}"></script>#} - <script type="text/javascript" - src="https://cdn.datatables.net/v/dt/dt-1.10.20/af-2.3.4/b-1.6.1/b-print-1.6.1/cr-1.5.2/r-2.2.3/datatables.min.js"></script> + <script src="{% static 'js/dataTables.bootstrap4.js' %}"></script> + <script src="{% static "js/jquery.dataTables.js" %}"></script> + {# <script type="text/javascript"#} + {# src="https://cdn.datatables.net/v/dt/dt-1.10.20/af-2.3.4/b-1.6.1/b-print-1.6.1/cr-1.5.2/r-2.2.3/datatables.min.js"></script>#} {% endblock javascript %} |