ui: Switch to using bootstrap 5

Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: Veiko Aasa <veiko17@disroot.org>
This commit is contained in:
Sunil Mohan Adapa 2024-11-13 06:46:26 -08:00 committed by Veiko Aasa
parent 85b6e00001
commit 47d9894e67
No known key found for this signature in database
GPG Key ID: 478539CAE680674E
2 changed files with 4 additions and 4 deletions

4
debian/control vendored
View File

@ -17,7 +17,7 @@ Build-Depends:
docbook-xsl,
e2fsprogs,
gir1.2-nm-1.0,
libjs-bootstrap4,
libjs-bootstrap5,
pybuild-plugin-pyproject,
python3-all:any,
python3-apt,
@ -98,7 +98,7 @@ Depends:
ldapscripts,
# For gdbus used to call hooks into service
libglib2.0-bin,
libjs-bootstrap4,
libjs-bootstrap5,
libjs-jquery,
lsof,
netcat-openbsd,

View File

@ -51,7 +51,7 @@
<link rel="apple-touch-icon" sizes="114x114" href="{% static 'theme/img/apple-touch-icon-114px-precomposed.png' %}"/>
<!-- Stylesheets -->
<link rel="stylesheet" href="{% static '/javascript/bootstrap4/css/bootstrap.min.css' %}"/>
<link rel="stylesheet" href="{% static '/javascript/bootstrap5/css/bootstrap.min.css' %}"/>
<link rel="stylesheet" href="{% static '/javascript/fork-awesome/css/fork-awesome.css' %}"/>
<link rel="stylesheet" href="{% static 'theme/css/main.css' %}"/>
{% if user_css %}
@ -62,7 +62,7 @@
<!-- TODO Deferring jQuery is causing scripts to be loaded before jQuery is available -->
<script type="text/javascript" src="{% static '/javascript/jquery/jquery.min.js' %}"></script>
<!-- Local link to system Bootstrap JS -->
<script type="text/javascript" src="{% static '/javascript/bootstrap4/js/bootstrap.bundle.min.js' %}" defer></script>
<script type="text/javascript" src="{% static '/javascript/bootstrap5/js/bootstrap.bundle.min.js' %}" defer></script>
<script type="text/javascript" src="{% static 'theme/js/main.js' %}" defer></script>