From 6cedf99e5e4dee5d9291d8ed3019ea0c46d7e5b9 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Thu, 16 Nov 2023 01:58:12 +0100 Subject: [PATCH] Upgrade bootstrap-multiselect to 1.1.2 and adapt css --- app/scodoc/html_sco_header.py | 4 +- app/scodoc/sco_groups_view.py | 10 +- app/static/css/scodoc.css | 233 ++--- .../bootstrap-multiselect.min.css | 44 + .../bootstrap-multiselect.min.js | 44 + .../bootstrap-multiselect.css | 1 - .../bootstrap-multiselect.js | 899 ------------------ 7 files changed, 221 insertions(+), 1014 deletions(-) create mode 100644 app/static/libjs/bootstrap-multiselect-1.1.2/bootstrap-multiselect.min.css create mode 100644 app/static/libjs/bootstrap-multiselect-1.1.2/bootstrap-multiselect.min.js delete mode 100644 app/static/libjs/bootstrap-multiselect/bootstrap-multiselect.css delete mode 100644 app/static/libjs/bootstrap-multiselect/bootstrap-multiselect.js diff --git a/app/scodoc/html_sco_header.py b/app/scodoc/html_sco_header.py index b6264ea0ed..7b84669775 100644 --- a/app/scodoc/html_sco_header.py +++ b/app/scodoc/html_sco_header.py @@ -45,14 +45,14 @@ import sco_version # Multiselect menus are used on a few pages and not loaded by default BOOTSTRAP_MULTISELECT_JS = [ "libjs/bootstrap/js/bootstrap.min.js", - "libjs/bootstrap-multiselect/bootstrap-multiselect.js", + "libjs/bootstrap-multiselect-1.1.2/bootstrap-multiselect.min.js", "libjs/purl.js", ] BOOTSTRAP_MULTISELECT_CSS = [ "libjs/bootstrap/css/bootstrap.min.css", "libjs/bootstrap/css/bootstrap-theme.min.css", - "libjs/bootstrap-multiselect/bootstrap-multiselect.css", + "libjs/bootstrap-multiselect-1.1.2/bootstrap-multiselect.min.css", ] diff --git a/app/scodoc/sco_groups_view.py b/app/scodoc/sco_groups_view.py index 2f20b6ce3a..d1c35ca7f2 100644 --- a/app/scodoc/sco_groups_view.py +++ b/app/scodoc/sco_groups_view.py @@ -116,7 +116,6 @@ def groups_view( # - ajouter du JS pour modifier les liens (arguments group_ids) quand le menu change # Tabs - # H.extend( ("""toto""",) ) H.extend( ( """