This is an automated email from the ASF dual-hosted git repository.
ilgrosso pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/master by this push:
new 31a8bdae42 AdminLTE v4.0.0-rc7
31a8bdae42 is described below
commit 31a8bdae42fa74c928fe9efdf1566bfc3c91e569
Author: Francesco Chicchiriccò <[email protected]>
AuthorDate: Mon Mar 16 15:06:01 2026 +0100
AdminLTE v4.0.0-rc7
---
.../syncope/client/ui/commons/themes/AdminLTE.java | 20 +-
.../themes/AdminLTECssResourceReference.java | 48 ----
.../ui-commons/css}/dataTables.bootstrap5.min.css | 0
.../client/ui/commons/themes/css/AdminLTE.css | 7 -
.../client/ui/commons/themes/css/adminlte.min.css | 7 +
.../ui/commons/themes/css/adminlte.min.css.map | 1 +
.../ui/commons/themes/js/AdminLTE-app.min.js | 7 -
.../client/ui/commons/themes/js/adminlte.min.js | 7 +
.../ui/commons/themes/js/adminlte.min.js.map | 1 +
.../syncope/client/console/pages/BasePage.html | 2 +-
.../client/console/panels/DirectoryPanel.html | 2 +-
.../AdminLTE_plugins/dataTables.bootstrap4.min.css | 1 -
.../AdminLTE_plugins/dataTables.bootstrap5.min.css | 5 -
.../META-INF/resources/css/accessibility.css | 44 ---
.../css/accessibility/accessibilityFont.css | 101 -------
.../css/accessibility/accessibilityHC.css | 297 ---------------------
.../META-INF/resources/js/accessibility.js | 228 ----------------
.../syncope/client/enduser/pages/BasePage.html | 2 +-
pom.xml | 3 +-
.../mapping/DefaultAttrReleaseMapper.java | 5 -
20 files changed, 25 insertions(+), 763 deletions(-)
diff --git
a/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/themes/AdminLTE.java
b/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/themes/AdminLTE.java
index 1dccc49dd6..08d8668c46 100644
---
a/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/themes/AdminLTE.java
+++
b/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/themes/AdminLTE.java
@@ -19,26 +19,14 @@
package org.apache.syncope.client.ui.commons.themes;
import de.agilecoders.wicket.core.settings.Theme;
-import java.util.ArrayList;
-import java.util.List;
-import org.apache.wicket.markup.head.CssHeaderItem;
-import org.apache.wicket.markup.head.HeaderItem;
-import org.apache.wicket.markup.head.JavaScriptHeaderItem;
+import org.apache.wicket.request.resource.CssResourceReference;
import org.apache.wicket.resource.JQueryPluginResourceReference;
public class AdminLTE extends Theme {
public AdminLTE() {
- super("adminLTE");
- }
-
- @Override
- public List<HeaderItem> getDependencies() {
- List<HeaderItem> references = new ArrayList<>();
- references.add(JavaScriptHeaderItem.forReference(
- new JQueryPluginResourceReference(AdminLTE.class,
"js/AdminLTE-app.min.js"), "adminltejs"));
-
references.add(CssHeaderItem.forReference(AdminLTECssResourceReference.INSTANCE));
- references.addAll(super.getDependencies());
- return references;
+ super("AdminLTE",
+ new JQueryPluginResourceReference(AdminLTE.class,
"js/adminlte.min.js"),
+ new CssResourceReference(AdminLTE.class,
"css/adminlte.min.css"));
}
}
diff --git
a/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/themes/AdminLTECssResourceReference.java
b/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/themes/AdminLTECssResourceReference.java
deleted file mode 100644
index f9e3617860..0000000000
---
a/client/idrepo/common-ui/src/main/java/org/apache/syncope/client/ui/commons/themes/AdminLTECssResourceReference.java
+++ /dev/null
@@ -1,48 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-package org.apache.syncope.client.ui.commons.themes;
-
-import de.agilecoders.wicket.core.Bootstrap;
-import java.util.ArrayList;
-import java.util.List;
-import org.apache.wicket.markup.head.CssHeaderItem;
-import org.apache.wicket.markup.head.HeaderItem;
-import org.apache.wicket.request.resource.CssResourceReference;
-
-public class AdminLTECssResourceReference extends CssResourceReference {
-
- private static final long serialVersionUID = -7658929012906790600L;
-
- /**
- * Singleton instance of this reference.
- */
- public static final AdminLTECssResourceReference INSTANCE = new
AdminLTECssResourceReference();
-
- public AdminLTECssResourceReference() {
- super(AdminLTECssResourceReference.class, "css/AdminLTE.css");
- }
-
- @Override
- public List<HeaderItem> getDependencies() {
- final List<HeaderItem> dependencies = new ArrayList<>();
-
dependencies.add(CssHeaderItem.forReference(Bootstrap.getSettings().getCssResourceReference()));
- dependencies.addAll(super.getDependencies());
- return dependencies;
- }
-}
diff --git
a/client/idrepo/console/src/main/resources/META-INF/resources/css/AdminLTE_plugins/dataTables.bootstrap5.min.css
b/client/idrepo/common-ui/src/main/resources/META-INF/resources/ui-commons/css/dataTables.bootstrap5.min.css
similarity index 100%
rename from
client/idrepo/console/src/main/resources/META-INF/resources/css/AdminLTE_plugins/dataTables.bootstrap5.min.css
rename to
client/idrepo/common-ui/src/main/resources/META-INF/resources/ui-commons/css/dataTables.bootstrap5.min.css
diff --git
a/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/css/AdminLTE.css
b/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/css/AdminLTE.css
deleted file mode 100644
index dca0f34d8a..0000000000
---
a/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/css/AdminLTE.css
+++ /dev/null
@@ -1,7 +0,0 @@
-@charset "UTF-8";/*!
- * AdminLTE v4.0.0-rc5
- * Author: Colorlib
- * Website: AdminLTE.io <https://adminlte.io>
- * License: Open source - MIT <https://opensource.org/licenses/MIT>
-
*/:root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--
[...]
-/*# sourceMappingURL=adminlte.min.css.map */
\ No newline at end of file
diff --git
a/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/css/adminlte.min.css
b/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/css/adminlte.min.css
new file mode 100644
index 0000000000..22cd4e9449
--- /dev/null
+++
b/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/css/adminlte.min.css
@@ -0,0 +1,7 @@
+@charset "UTF-8";/*!
+ * AdminLTE v4.0.0-rc7
+ * Author: Colorlib
+ * Website: AdminLTE.io <https://adminlte.io>
+ * License: Open source - MIT <https://opensource.org/licenses/MIT>
+
*/:root,[data-bs-theme=light]{--bs-blue:#0d6efd;--bs-indigo:#6610f2;--bs-purple:#6f42c1;--bs-pink:#d63384;--bs-red:#dc3545;--bs-orange:#fd7e14;--bs-yellow:#ffc107;--bs-green:#198754;--bs-teal:#20c997;--bs-cyan:#0dcaf0;--bs-black:#000;--bs-white:#fff;--bs-gray:#6c757d;--bs-gray-dark:#343a40;--bs-gray-100:#f8f9fa;--bs-gray-200:#e9ecef;--bs-gray-300:#dee2e6;--bs-gray-400:#ced4da;--bs-gray-500:#adb5bd;--bs-gray-600:#6c757d;--bs-gray-700:#495057;--bs-gray-800:#343a40;--bs-gray-900:#212529;--
[...]
+/*# sourceMappingURL=adminlte.min.css.map */
\ No newline at end of file
diff --git
a/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/css/adminlte.min.css.map
b/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/css/adminlte.min.css.map
new file mode 100644
index 0000000000..255b0e7775
--- /dev/null
+++
b/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/css/adminlte.min.css.map
@@ -0,0 +1 @@
+{"version":3,"sources":["../../src/scss/adminlte.scss","../../node_modules/bootstrap/scss/_root.scss","dist/css/adminlte.css","../../node_modules/bootstrap/scss/vendor/_rfs.scss","../../node_modules/bootstrap/scss/mixins/_color-mode.scss","../../node_modules/bootstrap/scss/_reboot.scss","../../node_modules/bootstrap/scss/mixins/_border-radius.scss","../../node_modules/bootstrap/scss/_type.scss","../../node_modules/bootstrap/scss/mixins/_lists.scss","../../node_modules/bootstrap/scss/_ima
[...]
\ No newline at end of file
diff --git
a/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/js/AdminLTE-app.min.js
b/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/js/AdminLTE-app.min.js
deleted file mode 100644
index b3d1678734..0000000000
---
a/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/js/AdminLTE-app.min.js
+++ /dev/null
@@ -1,7 +0,0 @@
-/*!
- * AdminLTE v4.0.0-rc6 (https://adminlte.io)
- * Copyright 2014-2025 Colorlib <https://colorlib.com>
- * Licensed under MIT
(https://github.com/ColorlibHQ/AdminLTE/blob/master/LICENSE)
- */
-!function(e,t){"object"==typeof exports&&"undefined"!=typeof
module?t(exports):"function"==typeof
define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof
globalThis?globalThis:e||self).adminlte={})}(this,function(e){"use
strict";const
t=[],n=e=>{"loading"===document.readyState?(t.length||document.addEventListener("DOMContentLoaded",()=>{for(const
e of t)e()}),t.push(e)):e()},i=(e,t=500)=>{e.style.transitionProperty="height,
margin, padding",e.style.transitionDuration=`${t}ms`,e [...]
-//# sourceMappingURL=adminlte.min.js.map
\ No newline at end of file
diff --git
a/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/js/adminlte.min.js
b/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/js/adminlte.min.js
new file mode 100644
index 0000000000..3d64233a7f
--- /dev/null
+++
b/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/js/adminlte.min.js
@@ -0,0 +1,7 @@
+/*!
+ * AdminLTE v4.0.0-rc7 (https://adminlte.io)
+ * Copyright 2014-2026 Colorlib <https://colorlib.com>
+ * Licensed under MIT
(https://github.com/ColorlibHQ/AdminLTE/blob/master/LICENSE)
+ */
+!function(e,t){"object"==typeof exports&&"undefined"!=typeof
module?t(exports):"function"==typeof
define&&define.amd?define(["exports"],t):t((e="undefined"!=typeof
globalThis?globalThis:e||self).adminlte={})}(this,function(e){"use
strict";const
t=[],n=e=>{"loading"===document.readyState?(t.length||document.addEventListener("DOMContentLoaded",()=>{for(const
e of
t)e()}),t.push(e)):e()},i=(e,t=500)=>{t<=1?e.style.display="none":(e.style.transitionProperty="height,
margin, padding",e.style. [...]
+//# sourceMappingURL=adminlte.min.js.map
\ No newline at end of file
diff --git
a/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/js/adminlte.min.js.map
b/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/js/adminlte.min.js.map
new file mode 100644
index 0000000000..89ee9a2801
--- /dev/null
+++
b/client/idrepo/common-ui/src/main/resources/org/apache/syncope/client/ui/commons/themes/js/adminlte.min.js.map
@@ -0,0 +1 @@
+{"version":3,"names":["domContentLoadedCallbacks","onDOMContentLoaded","callback","document","readyState","length","addEventListener","push","slideUp","target","duration","style","display","transitionProperty","transitionDuration","boxSizing","height","offsetHeight","overflow","globalThis","setTimeout","paddingTop","paddingBottom","marginTop","marginBottom","removeProperty","slideDown","getComputedStyle","CLASS_NAME_HOLD_TRANSITIONS","Layout","_element","_holdTransitionTimer","constructo
[...]
\ No newline at end of file
diff --git
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/pages/BasePage.html
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/pages/BasePage.html
index 5de595dc03..e147a5381f 100644
---
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/pages/BasePage.html
+++
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/pages/BasePage.html
@@ -30,7 +30,7 @@ under the License.
<link href="webjars/ionicons/${ionicons.version}/css/ionicons.min.css"
rel="stylesheet" type="text/css"/>
<link href="ui-commons/css/fonts.css" rel="stylesheet" type="text/css"/>
- <link href="css/AdminLTE_plugins/dataTables.bootstrap5.min.css"
rel="stylesheet" type="text/css"/>
+ <link href="ui-commons/css/dataTables.bootstrap5.min.css" rel="stylesheet"
type="text/css"/>
<link href="ui-commons/css/animations.css" rel="stylesheet"
type="text/css"/>
<link href="ui-commons/css/syncopeUI.css" rel="stylesheet"
type="text/css"/>
<link href="css/syncopeConsole.css" rel="stylesheet" type="text/css"/>
diff --git
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel.html
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel.html
index e03e8ca8c5..8c331989d0 100644
---
a/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel.html
+++
b/client/idrepo/console/src/main/resources/org/apache/syncope/client/console/panels/DirectoryPanel.html
@@ -18,7 +18,7 @@ under the License.
-->
<html xmlns="http://www.w3.org/1999/xhtml"
xmlns:wicket="http://wicket.apache.org">
<wicket:extend>
- <div wicket:id="searchContainer" class="dataTables_wrapper dt-bootstrap4">
+ <div wicket:id="searchContainer" class="dataTables_wrapper">
<div class="row">
<div class="col-sm-12 col-md-6">
<form wicket:id="paginator">
diff --git
a/client/idrepo/enduser/src/main/resources/META-INF/resources/css/AdminLTE_plugins/dataTables.bootstrap4.min.css
b/client/idrepo/enduser/src/main/resources/META-INF/resources/css/AdminLTE_plugins/dataTables.bootstrap4.min.css
deleted file mode 100644
index f1930be0e2..0000000000
---
a/client/idrepo/enduser/src/main/resources/META-INF/resources/css/AdminLTE_plugins/dataTables.bootstrap4.min.css
+++ /dev/null
@@ -1 +0,0 @@
-table.dataTable{clear:both;margin-top:6px !important;margin-bottom:6px
!important;max-width:none !important;border-collapse:separate
!important;border-spacing:0}table.dataTable td,table.dataTable
th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable
td.dataTables_empty,table.dataTable
th.dataTables_empty{text-align:center}table.dataTable.nowrap
th,table.dataTable.nowrap td{white-space:nowrap}div.dataTables_wrapper
div.dataTables_length label{font-weight:normal;text-ali [...]
diff --git
a/client/idrepo/enduser/src/main/resources/META-INF/resources/css/AdminLTE_plugins/dataTables.bootstrap5.min.css
b/client/idrepo/enduser/src/main/resources/META-INF/resources/css/AdminLTE_plugins/dataTables.bootstrap5.min.css
deleted file mode 100644
index d5a6f7ea48..0000000000
---
a/client/idrepo/enduser/src/main/resources/META-INF/resources/css/AdminLTE_plugins/dataTables.bootstrap5.min.css
+++ /dev/null
@@ -1,5 +0,0 @@
-:root{--dt-row-selected: 13, 110, 253;--dt-row-selected-text: 255, 255,
255;--dt-row-selected-link: 9, 10, 11;--dt-row-stripe: 0, 0, 0;--dt-row-hover:
0, 0, 0;--dt-column-ordering: 0, 0, 0;--dt-html-background:
white}:root.dark{--dt-html-background: rgb(33, 37, 41)}table.dataTable
td.dt-control{text-align:center;cursor:pointer}table.dataTable
td.dt-control:before{display:inline-block;color:rgba(0, 0, 0,
0.5);content:"►"}table.dataTable tr.dt-hasChild
td.dt-control:before{content:"▼"}html [...]
- *
- * ©2020 SpryMedia Ltd, all rights reserved.
- * License: MIT datatables.net/license/mit
- */table.dataTable{clear:both;margin-top:6px !important;margin-bottom:6px
!important;max-width:none !important;border-collapse:separate
!important;border-spacing:0}table.dataTable td,table.dataTable
th{-webkit-box-sizing:content-box;box-sizing:content-box}table.dataTable
td.dataTables_empty,table.dataTable
th.dataTables_empty{text-align:center}table.dataTable.nowrap
th,table.dataTable.nowrap
td{white-space:nowrap}table.dataTable.table-striped>tbody>tr:nth-of-type(2n+1)>*{box-shadow:none}
[...]
diff --git
a/client/idrepo/enduser/src/main/resources/META-INF/resources/css/accessibility.css
b/client/idrepo/enduser/src/main/resources/META-INF/resources/css/accessibility.css
deleted file mode 100644
index 21b9201ecb..0000000000
---
a/client/idrepo/enduser/src/main/resources/META-INF/resources/css/accessibility.css
+++ /dev/null
@@ -1,44 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-.btn-accessibility {
- position: absolute;
- right: 0;
- font-size: 12px;
- padding: 15px 15px 0 0;
-}
-
-.btn-accessibility i {
- font-size: 30px;
-}
-
-.btn-accessibility:hover {
- cursor:pointer;
-}
-
-.control-sidebar-menu a:focus {
- outline: 1px #949494 solid;
-}
-
-#change_contrast {
- top: 0;
-}
-#change_fontSize {
- top: 40px;
-}
diff --git
a/client/idrepo/enduser/src/main/resources/META-INF/resources/css/accessibility/accessibilityFont.css
b/client/idrepo/enduser/src/main/resources/META-INF/resources/css/accessibility/accessibilityFont.css
deleted file mode 100644
index da2645696e..0000000000
---
a/client/idrepo/enduser/src/main/resources/META-INF/resources/css/accessibility/accessibilityFont.css
+++ /dev/null
@@ -1,101 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-body,
-p {
- font-size: 200%;
-}
-
-.menu a,
-.treeview-menu a,
-.control-sidebar-subheading {
- font-size: 80% !important;
-}
-
-.box-header > .fa,
-.box-header > .glyphicon,
-.box-header > .ion, .box-header .box-title,
-.dropdown-toggle .filter-option,
-.dropdown-menu a,
-.menu-info span,
-.user-header,
-.header,
-.modal-title,
-.small-box p,
-.alert-widget,
-.alert-widget > a > .label,
-.alert h4,
-#mappings .fa,
-.popover-content,
-.box .dropdown-toggle .glyphicon,
-.box-header button,
-.toggle .toggle-group .btn,
-.input-group .form-control label {
- font-size: 120%;
-}
-
-input,
-select,
-.footer a,
-.modal-footer button,
-.dropdown-menu:not([role='menu']),
-.dropdown-menu > li.header,
-div#tablehandling ul.menu i,
-.content-header > .breadcrumb,
-.btn-primary:not(.btn-circle),
-.modal-content .box .dialog pre {
- font-size: 100% !important;
-}
-
-#topology .window {
- height: 90px;
-}
-
-.dataTables_length select {
- font-size: 85% !important;
-}
-
-button.close {
- font-size: 2em;
-}
-
-.details-footer .information {
- font-size: 12px;
-}
-
-.btn-file i,
-.btn-file span,
-.input-group-btn button.btn-primary {
- font-size: 20px !important;
-}
-
-.checkbox input[type=checkbox],
-.checkbox-inline input[type=checkbox],
-.radio input[type=radio],
-.radio-inline input[type=radio],
-input[type=checkbox],
-input[type=radio] {
- width: 20px;
- height: 20px;
-}
-
-.k-timepicker,
-.k-datepicker {
- width: 200px !important;
-}
diff --git
a/client/idrepo/enduser/src/main/resources/META-INF/resources/css/accessibility/accessibilityHC.css
b/client/idrepo/enduser/src/main/resources/META-INF/resources/css/accessibility/accessibilityHC.css
deleted file mode 100644
index fc7a482cc8..0000000000
---
a/client/idrepo/enduser/src/main/resources/META-INF/resources/css/accessibility/accessibilityHC.css
+++ /dev/null
@@ -1,297 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-/* General
-=============================================================================
*/
-.content-wrapper,
-.content-wrapper .box,
-.modal-content,
-.modal-header,
-.background-footer,
-input:not(:disabled):not([type="file"]),
-select,
-select option,
-button:not(.close),
-.table .sorting,
-.dataTables_paginate a,
-.modal-footer,
-.box-header,
-.dropdown-menu,
-.main-footer,
-.circular-actions a,
-.k-select,
-.file-caption.kv-fileinput-caption {
- color: #f7f7f7 !important;
- background-color: #0f1417 !important;
-}
-
-
-.dataTable thead th:after,
-.close {
- color: #f7f7f7 !important;
- opacity: 0.8 !important;
-}
-
-
-.input-group-addon a,
-.input-group-addon i,
-.dropdown-menu > li:not(.disabled) > a:hover,
-.dropdown-menu > li:not(.disabled) > a:hover span,
-.dropdown-menu > li:not(.disabled) > a:focus,
-.dropdown-menu > li:not(.disabled) > a:focus span,
-#startAtContainer .input-group-addon span,
-#startAtContainer .k-widget span,
-#startAtContainer .k-widget i,
-#startAtContainer .k-widget input,
-.modal-footer i,
-.navbar-nav > .user-menu > .dropdown-menu > .user-footer .btn-default,
-.content-wrapper .nav-tabs a,
-.wrapper .content-wrapper .nav.nav-tabs li.active a span,
-.wrapper .content-wrapper .nav.nav-tabs li.active a,
-.wrapper .content-wrapper .nav.nav-tabs li a:hover span,
-.wrapper .content-wrapper .nav.nav-tabs li a:hover,
-.wrapper .content-wrapper .nav.nav-tabs li a:active span,
-.wrapper .content-wrapper .nav.nav-tabs li a:active,
-.wrapper .content-wrapper .nav.nav-tabs li a:focus span,
-.wrapper .content-wrapper .nav.nav-tabs li a:focus,
-.wrapper .content-wrapper .tab-content .btn-primary .fa-download {
- color: #000000 !important;
-}
-
-
-.content-wrapper a:not(.btn-primary),
-.content-wrapper
span:not(.label-info):not([role="presentation"]):not([class^='cm-']),
-.content-wrapper p,
-.content-wrapper .box-title a,
-.realm-choice .dropdown-menu > li:not(.disabled) > a:hover,
-.realm-choice .dropdown-menu > li:not(.disabled) > a:hover span,
-.realm-choice .dropdown-menu > li:not(.disabled) > a:focus,
-.realm-choice .dropdown-menu > li:not(.disabled) > a:focus span,
-.box-header,
-.breadcrumb .active,
-table tbody tr:hover button span,
-.dropdown-menu > li > a,
-.modal-header button,
-.circular-actions a i,
-.wizard-form .input-group-addon i,
-#startAtContainer .input-group-addon i,
-.attribute .input-group-addon i {
- color: #f7f7f7 !important;
-}
-
-
-.box.box-primary {
- border-top-color: #f7f7f7;
-}
-
-
-img,
-.content-wrapper div.btn.btn-file span.hidden-xs {
- background-color: #f7f7f7;
- color: #000000 !important;
-}
-.btn-primary,
-.callout.callout-info,
-.alert-info,
-.label-info,
-.modal-info .modal-body {
- background-color: #f7f7f7 !important;
- color: #000000 !important;
-}
-
-
-.logo img,
-.modal-content .input-group .input-group-addon {
- background-color: transparent;
-}
-
-
-.modal-dialog {
- border: 2px solid white;
-}
-
-
-#veil:not(:required):after {
- -webkit-box-shadow: #f7f7f7 1.5em 0 0 0,
- #f7f7f7 1.1em 1.1em 0 0,
- #f7f7f7 0 1.5em 0 0,
- #f7f7f7 -1.1em 1.1em 0 0,
- rgba(0, 0, 0, 0.5) -1.5em 0 0 0,
- rgba(0, 0, 0, 0.5) -1.1em -1.1em 0 0,
- #f7f7f7 0 -1.5em 0 0,
- #f7f7f7 1.1em -1.1em 0 0;
- box-shadow: #f7f7f7 1.5em 0 0 0,
- #f7f7f7 1.1em 1.1em 0 0,
- #f7f7f7 0 1.5em 0 0,
- #f7f7f7 -1.1em 1.1em 0 0,
- #f7f7f7 -1.5em 0 0 0,
- #f7f7f7 -1.1em -1.1em 0 0,
- #f7f7f7 0 -1.5em 0 0,
- #f7f7f7 1.1em -1.1em 0 0;
-}
-
-
-.input-group input:disabled,
-.input-group input[disabled],
-.control-sidebar-dark .control-sidebar-menu > li > a:hover,
-.table-hover > tbody > tr:hover,
-.skin-blue .main-header .navbar .sidebar-toggle:hover,
-.main-header .navbar .sidebar-toggle:hover,
-.skin-blue .main-header .logo:hover,
-.main-header .logo:hover,
-div.toggle-menu ul li:hover,
-.skin-blue .main-header .navbar .nav > li > a:hover,
-.skin-blue .main-header .navbar .nav > li > a:active,
-.skin-blue .main-header .navbar .nav > li > a:focus,
-.skin-blue .main-header .navbar .nav .open > a:hover,
-.skin-blue .main-header .navbar .nav .open > a:focus,
-.skin-blue .sidebar-menu > li:hover > a,
-.skin-blue .sidebar-menu > li.active > a,
-.dropdown-menu > li > a:hover,
-.dropdown-menu > li > a:focus,
-.dropdown-menu > li > a:hover,
-.k-block,
-.k-draghandle,
-.k-grid-header,
-.k-grouping-header,
-.k-header,
-.k-pager-wrap,
-.k-toolbar,
-.k-treemap-tile,
-.k-picker-wrap,
-.k-state-disabled,
-.km-pane-wrapper .k-header {
- background-color: rgba(108, 115, 117, 0.55);
-}
-
-
-.sidebar-mini .main-header .navbar {
- background-color: #222d32; /* color from 'skin-blue' */
- border-bottom: 1px white solid;
- box-sizing: border-box;
-}
-.sidebar-mini .main-header .logo,
-div.toggle-menu,
-.skin-blue .main-header li.user-header {
- background-color: #222d32;
-}
-
-
-div.toggle-menu {
- border: 1px solid #f7f7f7;
-}
-
-
-a,
-.pagination > .active > a,
-.pagination > .active > a:focus,
-.pagination > .active > a:hover,
-.pagination > .active > span,
-.pagination > .active > span:focus,
-.pagination > .active > span:hover {
- border-color: #76abd9;
-}
-a {
- color: #76abd9;
-}
-
-
-.logs button.btn-primary {
- border-color: #f7f7f7;
-}
-.logs button.btn-primary:hover {
- border-color: #adadad;
-}
-div.infolabel,
-.input-group input:disabled,
-.input-group input[disabled] {
- color: #d2d2d2;
-}
-
-
-.text-bg-danger,
-.callout.callout-danger,
-.text-bg-danger,
-.bg-danger,
-.alert-error,
-.label-danger,
-.modal-danger .modal-body,
-.btn-danger.active,
-.btn-danger:active,
-.open>.dropdown-toggle.btn-danger {
- background-color: #942819 !important;
-}
-.text-bg-warning {
- background-color: #6F4706 !important;
-}
-.text-bg-success,
-.copy-clipboard-feedback,
-.btn-success,
-.callout.callout-success,
-.alert-success,
-.label-success,
-.modal-success .modal-body {
- background-color: #005C32 !important;
-}
-.bg-aqua {
- background-color: #004E61 !important;
-}
-.text-bg-warning,
-.callout.callout-warning,
-.alert-warning,
-.label-warning,
-.modal-warning .modal-body {
- background-color: #6F4706 !important;
-}
-.callout.callout-warning {
- border-color: #6F4706;
-}
-
-
-.bootstrap-select .btn.btn-default {
- background-color: rgba(101, 101, 101, 0.7) !important;
-}
-
-
-/* Login page
-=============================================================================
*/
-.login-body {
- background-image: linear-gradient(rgb(31, 109, 142), #004626);
-}
-
-.login-logo {
- background: transparent;
-}
-
-.btn-accessibility {
- color: #f7f7f7 !important;
-}
-
-.form-signin .btn-primary,
-.form-signin .btn-primary {
- border: 2px solid white;
-}
-.form-signin .btn-primary.focus,
-.form-signin .btn-primary:focus {
- border-color: #8c8c8c;
-}
-
-.login-card {
- background-color: #0f1417;
-}
\ No newline at end of file
diff --git
a/client/idrepo/enduser/src/main/resources/META-INF/resources/js/accessibility.js
b/client/idrepo/enduser/src/main/resources/META-INF/resources/js/accessibility.js
deleted file mode 100644
index b10a48e53b..0000000000
---
a/client/idrepo/enduser/src/main/resources/META-INF/resources/js/accessibility.js
+++ /dev/null
@@ -1,228 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing,
- * software distributed under the License is distributed on an
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
- * KIND, either express or implied. See the License for the
- * specific language governing permissions and limitations
- * under the License.
- */
-
-$(document).ready(function () {
-
- var locationDomain = window.location.origin + '/' +
window.location.pathname.split('/')[1];
-
- var initAssetsManager = function () {
- var AssetsManager = {};
-
- var createLink = function (id, url) {
- if (!$('link#' + id).length && !$('link[href="' + url + '"').length) {
- var link = document.createElement('link');
- link.rel = 'stylesheet';
- link.href = url;
- link.type = "text/css";
- $('head').append(link);
- }
- };
-
- var createScript = function (id, url) {
- if (!$('script#' + id).length && !$('script[src="' + url + '"').length) {
- var script = document.createElement('script');
- script.src = url;
- $('body').append(script);
- }
- };
-
- AssetsManager.checkAlreadyLoaded = function (url, type) {
- var elems = (type === 'css') ? document.styleSheets : ((type === 'js') ?
document.scripts : '');
- var attr = (type === 'js') ? 'src' : ((type === 'css') ? 'href' :
'none');
- for (var i in elems) {
- var attrUrl = elems[i][attr] || "";
- var assetName = attrUrl.split("/").slice(-1).join();
- if (attrUrl !== ""
- && (assetName === url.split("/").slice(-1).join() || assetName
=== url)) {
- return true;
- }
- }
- return false;
- };
-
- var removeLoaded = function (url, type) {
- var tag = (type === 'js') ? 'script' : ((type === 'css') ? 'link' : '');
- if (AssetsManager.checkAlreadyLoaded(url, type)) {
- $(tag + '[href~="' + url + '"]').remove();
- }
- };
-
- AssetsManager.inject = function (id, url, type) {
- switch (type) {
- case 'js':
- createScript(id, url);
- break;
-
- case 'css':
- createLink(id, url);
- break;
-
- default:
- break;
- }
- };
-
- AssetsManager.remove = function (url, type) {
- removeLoaded(url, type);
- };
-
- return AssetsManager;
- };
-
- var initAccessibilityController = function () {
- AccessibilityController = {};
-
- var AssetsManager = initAssetsManager();
-
- var fontSizeFiles = [
- locationDomain + '/css/accessibility/accessibilityFont.css'
- ];
-
- var darkThemeFiles = [
- locationDomain + '/css/AdminLTE_skins/skin-blue.css',
- locationDomain + '/css/accessibility/accessibilityHC.css'
- ];
-
- var darkThemeMainClass = 'skin-blue';
- var defaultThemeMainClass = 'skin-green-light';
-
- var doSwitch = function (check, files) {
- if (!check) {
- for (var i = 0; i < files.length; i++) {
- AssetsManager.remove(files[i], 'css');
- }
- } else {
- for (var i = 0; i < files.length; i++) {
- AssetsManager.inject('theme_css_' + i, files[i], 'css');
- }
- }
- };
-
- var doSwitchTheme = function (check, files) {
- doSwitch(check, files);
-
- if ($('body').hasClass(defaultThemeMainClass) && check) {
-
$('body').removeClass(defaultThemeMainClass).addClass(darkThemeMainClass);
- } else {
-
$('body').removeClass(darkThemeMainClass).addClass(defaultThemeMainClass);
- }
- };
-
- var savePreference = function (key, value) {
- window.localStorage.setItem(key, value);
- };
-
- var getPreference = function (key) {
- var storageValue = window.localStorage.getItem(key);
- if (storageValue === null) {
- savePreference(key, 'false');
- }
- return storageValue === 'true';
- };
-
- AccessibilityController.FONT_SIZE_PREF = 'font_size_pref';
- AccessibilityController.HC_THEME_PREF = 'hc_theme_pref';
-
- var isIncreasedFont =
getPreference(AccessibilityController.FONT_SIZE_PREF);
- var isHighContrast = getPreference(AccessibilityController.HC_THEME_PREF);
-
- AccessibilityController.checkPref = function (pref) {
- switch (pref) {
- case AccessibilityController.FONT_SIZE_PREF:
- doSwitch(isIncreasedFont, fontSizeFiles);
- break;
-
- case AccessibilityController.HC_THEME_PREF:
- doSwitchTheme(isHighContrast, darkThemeFiles);
- break;
-
- default:
- break;
- }
- };
-
- AccessibilityController.switchIncreasedFont = function () {
- isIncreasedFont = !isIncreasedFont;
- doSwitch(isIncreasedFont, fontSizeFiles);
- savePreference(AccessibilityController.FONT_SIZE_PREF, isIncreasedFont);
- };
-
- AccessibilityController.switchTheme = function () {
- isHighContrast = !isHighContrast;
- doSwitchTheme(isHighContrast, darkThemeFiles);
- savePreference(AccessibilityController.HC_THEME_PREF, isHighContrast);
- };
-
- return AccessibilityController;
- };
-
- var AccessibilityController = initAccessibilityController();
-
- AccessibilityController.checkPref(AccessibilityController.FONT_SIZE_PREF);
- AccessibilityController.checkPref(AccessibilityController.HC_THEME_PREF);
-
- $('#change_contrast').off('click.acc_hc');
- $('#change_contrast').on('click.acc_hc', function () {
- AccessibilityController.switchTheme();
- return false;
- });
-
- $('#change_contrast').off('keydown.key_acc_hc keypress.key_acc_hc');
- $('#change_contrast').on('keydown.key_acc_hc keypress.key_acc_hc', function
(event) {
- // check "enter" key pressed
- if (event.which === 13) {
- AccessibilityController.switchTheme();
-
- event.preventDefault();
- return false;
- }
- });
-
- $('#change_fontSize').off('click.acc_f');
- $('#change_fontSize').on('click.acc_f', function () {
- AccessibilityController.switchIncreasedFont();
- return false;
- });
-
- $('#change_fontSize').off('keydown.key_acc_f keypress.key_acc_f');
- $('#change_fontSize').on('keydown.key_acc_f keypress.key_acc_f', function
(event) {
- // check "enter" key pressed
- if (event.which === 13) {
- AccessibilityController.switchIncreasedFont();
-
- event.preventDefault();
- return false;
- }
- });
-
- $('body').off('keydown.acc_binding keypress.acc_binding');
- $('body').on('keydown.acc_binding keypress.acc_binding', function (event) {
- // alt - shift - F
- // alt - shift - H
- if (event.altKey && event.shiftKey) {
- if (event.keyCode === 72) {
- AccessibilityController.switchTheme();
- } else if (event.keyCode === 70) {
- AccessibilityController.switchIncreasedFont();
- }
- event.preventDefault();
- }
- });
-
-});
diff --git
a/client/idrepo/enduser/src/main/resources/org/apache/syncope/client/enduser/pages/BasePage.html
b/client/idrepo/enduser/src/main/resources/org/apache/syncope/client/enduser/pages/BasePage.html
index b4de4689d1..fde845f6e8 100644
---
a/client/idrepo/enduser/src/main/resources/org/apache/syncope/client/enduser/pages/BasePage.html
+++
b/client/idrepo/enduser/src/main/resources/org/apache/syncope/client/enduser/pages/BasePage.html
@@ -30,7 +30,7 @@ under the License.
<link href="webjars/ionicons/${ionicons.version}/css/ionicons.min.css"
rel="stylesheet" type="text/css"/>
<link href="ui-commons/css/fonts.css" rel="stylesheet" type="text/css"/>
- <link href="css/AdminLTE_plugins/dataTables.bootstrap5.min.css"
rel="stylesheet" type="text/css"/>
+ <link href="ui-commons/css/dataTables.bootstrap5.min.css" rel="stylesheet"
type="text/css"/>
<link href="ui-commons/css/animations.css" rel="stylesheet"
type="text/css"/>
<link href="ui-commons/css/syncopeUI.css" rel="stylesheet"
type="text/css"/>
<link href="css/syncopeEnduser.css" rel="stylesheet" type="text/css"/>
diff --git a/pom.xml b/pom.xml
index 2c622b9e7a..24c0bf2fe6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -2016,7 +2016,8 @@ under the License.
<exclude>**/META-INF/MANIFEST.MF</exclude>
<exclude>**/*.csv</exclude>
<exclude>**/archetype-resources/**</exclude>
- <exclude>**/AdminLTE*/**</exclude>
+ <exclude>**/adminlte*</exclude>
+ <exclude>**/dataTables.bootstrap5.min.css</exclude>
<exclude>**/goal.txt</exclude>
<exclude>**/rat.txt</exclude>
<exclude>**/build-copy-javadoc-files.xml</exclude>
diff --git
a/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/mapping/DefaultAttrReleaseMapper.java
b/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/mapping/DefaultAttrReleaseMapper.java
index 66c62957c0..6ead2e27b5 100644
---
a/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/mapping/DefaultAttrReleaseMapper.java
+++
b/wa/bootstrap/src/main/java/org/apache/syncope/wa/bootstrap/mapping/DefaultAttrReleaseMapper.java
@@ -171,7 +171,6 @@ public class DefaultAttrReleaseMapper implements
AttrReleaseMapper {
protected void buildForOIDCStandardScope(
final OIDCRPClientAppTO clientApp,
- final DefaultAttrReleasePolicyConf conf,
final Map<String, BaseOidcScopeAttributeReleasePolicy> policies,
final Supplier<BaseOidcScopeAttributeReleasePolicy>
attributeReleasePolicyCreator,
final OIDCStandardScope scope,
@@ -228,7 +227,6 @@ public class DefaultAttrReleaseMapper implements
AttrReleaseMapper {
if
(OidcProfileScopeAttributeReleasePolicy.ALLOWED_CLAIMS.contains(external.toString()))
{
buildForOIDCStandardScope(
clientApp,
- conf,
policies,
OidcProfileScopeAttributeReleasePolicy::new,
OIDCStandardScope.profile,
@@ -237,7 +235,6 @@ public class DefaultAttrReleaseMapper implements
AttrReleaseMapper {
} else if
(OidcEmailScopeAttributeReleasePolicy.ALLOWED_CLAIMS.contains(external.toString()))
{
buildForOIDCStandardScope(
clientApp,
- conf,
policies,
OidcEmailScopeAttributeReleasePolicy::new,
OIDCStandardScope.email,
@@ -246,7 +243,6 @@ public class DefaultAttrReleaseMapper implements
AttrReleaseMapper {
} else if
(OidcAddressScopeAttributeReleasePolicy.ALLOWED_CLAIMS.contains(external.toString()))
{
buildForOIDCStandardScope(
clientApp,
- conf,
policies,
OidcAddressScopeAttributeReleasePolicy::new,
OIDCStandardScope.address,
@@ -255,7 +251,6 @@ public class DefaultAttrReleaseMapper implements
AttrReleaseMapper {
} else if
(OidcPhoneScopeAttributeReleasePolicy.ALLOWED_CLAIMS.contains(external.toString()))
{
buildForOIDCStandardScope(
clientApp,
- conf,
policies,
OidcPhoneScopeAttributeReleasePolicy::new,
OIDCStandardScope.phone,