From 01e0eca09c965283722664f76e0c38c0fdb6e7d5 Mon Sep 17 00:00:00 2001 From: jnoordsij Date: Wed, 25 Mar 2026 17:32:15 +0100 Subject: [PATCH 1/3] Update jquery-ui to 1.14.2 in elfinder common scripts --- resources/views/common_scripts.blade.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/common_scripts.blade.php b/resources/views/common_scripts.blade.php index cbae5a6..236c114 100644 --- a/resources/views/common_scripts.blade.php +++ b/resources/views/common_scripts.blade.php @@ -7,8 +7,8 @@ @endif {{-- jQuery UI and Smoothness theme --}} -@basset('https://raw.githubusercontent.com/jquery/jquery-ui/refs/tags/1.13.2/dist/jquery-ui.min.js', true, [ - 'integrity' => 'sha384-4D3G3GikQs6hLlLZGdz5wLFzuqE9v4yVGAcOH86y23JqBDPzj9viv0EqyfIa6YUL', +@basset('https://cdn.jsdelivr.net/npm/jquery-ui@1.14.2/dist/jquery-ui.min.js', true, [ + 'integrity' => 'sha384-tBcEcHGtNy7/Mx08+YxuvQ6v6s0N2jgehtFiT+bLtGwTj/txXtB/L5GqXfggm5sS', 'crossorigin' => 'anonymous' ]) From c482f188c2ef0b5e6770cc0ea843f1701c38db05 Mon Sep 17 00:00:00 2001 From: jnoordsij Date: Wed, 25 Mar 2026 17:32:29 +0100 Subject: [PATCH 2/3] Load jquery-ui smoothness theme for elFinder --- resources/views/common_styles.blade.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/resources/views/common_styles.blade.php b/resources/views/common_styles.blade.php index 9eac85c..26f2994 100644 --- a/resources/views/common_styles.blade.php +++ b/resources/views/common_styles.blade.php @@ -4,6 +4,10 @@ @basset(base_path('vendor/studio-42/elfinder/img/icons-big.svg')) @basset(base_path('vendor/studio-42/elfinder/img/logo.png')) @basset(base_path('vendor/studio-42/elfinder/css/elfinder.min.css')) +@basset('https://cdn.jsdelivr.net/npm/jquery-ui@1.14.2/dist/themes/smoothness/jquery-ui.min.css', true, [ + 'integrity' => 'sha384-e4Bm/JKXqLbEnnDNLZIbB0u9VBy3H9D+TNdLb22ybxTLsmtWgRhQ3/BKEgJ13zU2', + 'crossorigin' => 'anonymous', +]) @basset('https://cdn.jsdelivr.net/gh/RobiNN1/elFinder-Material-Theme@3.0.0/Material/css/theme.min.css') @basset('https://cdn.jsdelivr.net/gh/RobiNN1/elFinder-Material-Theme@3.0.0/Material/images/loading.svg', false) @basset('https://cdn.jsdelivr.net/gh/RobiNN1/elFinder-Material-Theme@3.0.0/Material/font/material.eot', false) From 3d9fcaa562e7a672521a06362a8301665bf951e5 Mon Sep 17 00:00:00 2001 From: Jesper Noordsij <45041769+jnoordsij@users.noreply.github.com> Date: Thu, 26 Mar 2026 10:46:47 +0100 Subject: [PATCH 3/3] Add custom styles to remove icon borders Co-authored-by: Pedro Martins --- resources/views/common_styles.blade.php | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/resources/views/common_styles.blade.php b/resources/views/common_styles.blade.php index 26f2994..6ff9e91 100644 --- a/resources/views/common_styles.blade.php +++ b/resources/views/common_styles.blade.php @@ -18,6 +18,20 @@ @basset('https://cdn.jsdelivr.net/gh/RobiNN1/elFinder-Material-Theme@3.0.0/Material/font/material.ttf', false) @basset('https://cdn.jsdelivr.net/gh/RobiNN1/elFinder-Material-Theme@3.0.0/Material/font/material.woff2', false) @basset('https://cdn.jsdelivr.net/gh/RobiNN1/elFinder-Material-Theme@3.0.0/Material/css/theme-gray.min.css', false) +@bassetBlock('elfinderCommonStyles.css') + +@endBassetBlock @bassetBlock('elfinderThemeSwitcherScript.js')