From 1a8131236ad6dc4531f4125af8d4e86063d039f0 Mon Sep 17 00:00:00 2001 From: Kathleen Neumann Date: Thu, 5 Dec 2024 13:48:01 +0100 Subject: [PATCH 1/4] UBO-372 layout fixes in import list --- .../META-INF/resources/import-list.xed | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ubo-common/src/main/resources/META-INF/resources/import-list.xed b/ubo-common/src/main/resources/META-INF/resources/import-list.xed index 3be1d209..2f2b016c 100644 --- a/ubo-common/src/main/resources/META-INF/resources/import-list.xed +++ b/ubo-common/src/main/resources/META-INF/resources/import-list.xed @@ -59,11 +59,11 @@ - - + @@ -73,7 +73,7 @@ - @@ -89,11 +89,11 @@ - - + @@ -104,7 +104,7 @@ - @@ -116,8 +116,8 @@ - + @@ -127,7 +127,7 @@ - From 2d3e21fa4351ca1b87eaeb4c9e8842c1c66a1469 Mon Sep 17 00:00:00 2001 From: Kathleen Neumann Date: Thu, 12 Dec 2024 10:25:13 +0100 Subject: [PATCH 2/4] UBO-372 - add css for bootstrap-select - fix poper bug by adding data-display="static" - add layout configuration for bootstrap-select --- .../META-INF/resources/import-editor.xed | 44 +++++++++++-------- .../resources/import-from-evaluna.xed | 15 ++++++- .../META-INF/resources/import-list.xed | 8 ++++ .../META-INF/resources/js/ImportList.js | 11 ++++- .../META-INF/resources/scss/_ubo-common.scss | 6 +++ .../META-INF/resources/search-mdiss.xed | 24 +++++++--- .../resources/META-INF/resources/search.xed | 16 ++++++- 7 files changed, 95 insertions(+), 29 deletions(-) diff --git a/ubo-common/src/main/resources/META-INF/resources/import-editor.xed b/ubo-common/src/main/resources/META-INF/resources/import-editor.xed index bc063da8..d4495be2 100644 --- a/ubo-common/src/main/resources/META-INF/resources/import-editor.xed +++ b/ubo-common/src/main/resources/META-INF/resources/import-editor.xed @@ -22,9 +22,17 @@ diff --git a/ubo-common/src/main/resources/META-INF/resources/import-list.xed b/ubo-common/src/main/resources/META-INF/resources/import-list.xed index 2f2b016c..18611581 100644 --- a/ubo-common/src/main/resources/META-INF/resources/import-list.xed +++ b/ubo-common/src/main/resources/META-INF/resources/import-list.xed @@ -73,7 +73,11 @@ +<<<<<<< Upstream, based on d012ad70a15c87b15a15cc412bef21baf4878dbf +>>>>>>> 23de200 UBO-372 - add css for bootstrap-select @@ -93,7 +97,11 @@ +<<<<<<< Upstream, based on d012ad70a15c87b15a15cc412bef21baf4878dbf +======= + +>>>>>>> 23de200 UBO-372 - add css for bootstrap-select diff --git a/ubo-common/src/main/resources/META-INF/resources/js/ImportList.js b/ubo-common/src/main/resources/META-INF/resources/js/ImportList.js index 4b658132..a19a5135 100644 --- a/ubo-common/src/main/resources/META-INF/resources/js/ImportList.js +++ b/ubo-common/src/main/resources/META-INF/resources/js/ImportList.js @@ -1,5 +1,14 @@ $(document).ready(function () { - $('select[class*="autocomplete"]').selectpicker({liveSearch:true, liveSearchNormalize:true, virtualScroll:true, showSubtext:true, size:10}); + $('select[class*="autocomplete"]').selectpicker({ + liveSearch:true, + liveSearchNormalize:true, + virtualScroll:true, + showSubtext:true, + size:10, + width:'auto', + dropupAuto: false + }); + }); const UBOImportList = { diff --git a/ubo-common/src/main/resources/META-INF/resources/scss/_ubo-common.scss b/ubo-common/src/main/resources/META-INF/resources/scss/_ubo-common.scss index 71ffc7f3..065379a2 100644 --- a/ubo-common/src/main/resources/META-INF/resources/scss/_ubo-common.scss +++ b/ubo-common/src/main/resources/META-INF/resources/scss/_ubo-common.scss @@ -150,6 +150,12 @@ padding-left: 5px; } + .bootstrap-select { + .dropdown-menu { + width: 100%; + } + } + // Large devices (desktops) and below: <= 1200px @include media-breakpoint-down(lg) { // add/overwrite styles for responsive level lg and lower diff --git a/ubo-common/src/main/resources/META-INF/resources/search-mdiss.xed b/ubo-common/src/main/resources/META-INF/resources/search-mdiss.xed index 5cf84084..02a96a4c 100644 --- a/ubo-common/src/main/resources/META-INF/resources/search-mdiss.xed +++ b/ubo-common/src/main/resources/META-INF/resources/search-mdiss.xed @@ -41,30 +41,42 @@ -
+
- -
+
-
+
-
+
diff --git a/ubo-common/src/main/resources/META-INF/resources/search.xed b/ubo-common/src/main/resources/META-INF/resources/search.xed index ad1cbdc8..3319aa16 100644 --- a/ubo-common/src/main/resources/META-INF/resources/search.xed +++ b/ubo-common/src/main/resources/META-INF/resources/search.xed @@ -145,13 +145,25 @@ -
From 70ba45f1d301c9f849558394e036e519d9188fdd Mon Sep 17 00:00:00 2001 From: Kathleen Neumann Date: Thu, 12 Dec 2024 11:10:56 +0100 Subject: [PATCH 3/4] minor fixes --- .../main/resources/META-INF/resources/import-list.xed | 10 +--------- .../src/main/resources/META-INF/resources/search.xed | 2 +- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/ubo-common/src/main/resources/META-INF/resources/import-list.xed b/ubo-common/src/main/resources/META-INF/resources/import-list.xed index 18611581..1f9fe3dd 100644 --- a/ubo-common/src/main/resources/META-INF/resources/import-list.xed +++ b/ubo-common/src/main/resources/META-INF/resources/import-list.xed @@ -73,11 +73,7 @@ -<<<<<<< Upstream, based on d012ad70a15c87b15a15cc412bef21baf4878dbf ->>>>>>> 23de200 UBO-372 - add css for bootstrap-select @@ -97,11 +93,7 @@ -<<<<<<< Upstream, based on d012ad70a15c87b15a15cc412bef21baf4878dbf -======= - ->>>>>>> 23de200 UBO-372 - add css for bootstrap-select @@ -114,7 +106,7 @@
diff --git a/ubo-common/src/main/resources/META-INF/resources/search.xed b/ubo-common/src/main/resources/META-INF/resources/search.xed index 3319aa16..7ae6483c 100644 --- a/ubo-common/src/main/resources/META-INF/resources/search.xed +++ b/ubo-common/src/main/resources/META-INF/resources/search.xed @@ -145,7 +145,7 @@ - From 3fd358881be7e9ad317e6072a4d8fae08756d913 Mon Sep 17 00:00:00 2001 From: Kathleen Neumann Date: Thu, 12 Dec 2024 11:14:35 +0100 Subject: [PATCH 4/4] readd omitSubtext --- .../src/main/resources/META-INF/resources/import-list.xed | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubo-common/src/main/resources/META-INF/resources/import-list.xed b/ubo-common/src/main/resources/META-INF/resources/import-list.xed index 1f9fe3dd..2f2b016c 100644 --- a/ubo-common/src/main/resources/META-INF/resources/import-list.xed +++ b/ubo-common/src/main/resources/META-INF/resources/import-list.xed @@ -106,7 +106,7 @@