diff options
author | Matthew Lemon <y@yulqen.org> | 2024-05-14 16:37:33 +0100 |
---|---|---|
committer | Matthew Lemon <y@yulqen.org> | 2024-05-14 16:37:33 +0100 |
commit | e7e57126b90208dadb39b2d4b67864a690cd81f4 (patch) | |
tree | 0be4170641c72a1e5be80f3f82d4060fea95bcf8 /pyblackbird_cc/templates/base.html | |
parent | e768f221ffbdd5f75c3818169dd5eefdd702e635 (diff) |
Adds bootstrap, rids us of the CDN and better styling on detail page
Diffstat (limited to 'pyblackbird_cc/templates/base.html')
-rw-r--r-- | pyblackbird_cc/templates/base.html | 22 |
1 files changed, 12 insertions, 10 deletions
diff --git a/pyblackbird_cc/templates/base.html b/pyblackbird_cc/templates/base.html index 4e06117..37f83af 100644 --- a/pyblackbird_cc/templates/base.html +++ b/pyblackbird_cc/templates/base.html @@ -19,13 +19,14 @@ {% endblock extra_css %} {% block css %} <!--Latest compiled and minified Bootstrap CSS --> - <link rel="stylesheet" - href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.3/css/bootstrap.min.css" - integrity="sha512-SbiR/eusphKoMVVXysTKG/7VseWii+Y3FdHrt0EpKgpToZeemhqHeZeLWLhJutz/2ut2Vw1uQEj2MbRF+TVBUA==" - crossorigin="anonymous" - referrerpolicy="no-referrer" /> + {# <link rel="stylesheet"#} + {# href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.3/css/bootstrap.min.css"#} + {# integrity="sha512-SbiR/eusphKoMVVXysTKG/7VseWii+Y3FdHrt0EpKgpToZeemhqHeZeLWLhJutz/2ut2Vw1uQEj2MbRF+TVBUA=="#} + {# crossorigin="anonymous"#} + {# referrerpolicy="no-referrer" />#} <!-- Your stuff: Third-party CSS libraries go here --> <!-- This file stores project-specific CSS --> + <link rel="stylesheet" href="{% static 'bootstrap/css/bootstrap.css' %}" /> <link href="{% static 'css/project.css' %}" rel="stylesheet" /> {# <link rel="stylesheet" href="{% static "css/wrapper.css" %}" type="text/css" media="screen" charset="utf-8" />#} {% endblock css %} @@ -34,14 +35,15 @@ {# Placed at the top of the document so pages load faster with defer #} {% block javascript %} <!-- Bootstrap JS --> - <script defer - src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.3/js/bootstrap.min.js" - integrity="sha512-1/RvZTcCDEUjY/CypiMz+iqqtaoQfAITmNSJY17Myp4Ms5mdxPS5UV7iOfdZoxcGhzFbOm6sntTKJppjvuhg4g==" - crossorigin="anonymous" - referrerpolicy="no-referrer"></script> + {# <script defer#} + {# src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.2.3/js/bootstrap.min.js"#} + {# integrity="sha512-1/RvZTcCDEUjY/CypiMz+iqqtaoQfAITmNSJY17Myp4Ms5mdxPS5UV7iOfdZoxcGhzFbOm6sntTKJppjvuhg4g=="#} + {# crossorigin="anonymous"#} + {# referrerpolicy="no-referrer"></script>#} <!-- Your stuff: Third-party javascript libraries go here --> <!-- place project specific Javascript in this file --> <script defer src="{% static 'js/project.js' %}"></script> + <script scr="{% static "bootstrap/js/bootstrap.js" %}"></script> <script src="{% static "js/htmx.min.js" %}"></script> {% endblock javascript %} </head> |