From b2a9b0ed6d64a2e9bd4cb479890d4313955c8f66 Mon Sep 17 00:00:00 2001 From: Sereza7 Date: Tue, 16 Jan 2024 12:32:27 +0100 Subject: [PATCH] XWIKI-21774: Admin section: make the panel wizard section pass webstandard tests * Replaced inline styling with regular style for the panel wizard tooltip * Removed the comment from the test for the panel wizard --- .../src/main/resources/Panels/PanelWizard.xml | 3 ++- .../xwiki-platform-distribution-flavor-test/pom.xml | 3 +-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/xwiki-platform-core/xwiki-platform-panels/xwiki-platform-panels-ui/src/main/resources/Panels/PanelWizard.xml b/xwiki-platform-core/xwiki-platform-panels/xwiki-platform-panels-ui/src/main/resources/Panels/PanelWizard.xml index 58cb7ce6fd36..f4286dc47e02 100644 --- a/xwiki-platform-core/xwiki-platform-panels/xwiki-platform-panels-ui/src/main/resources/Panels/PanelWizard.xml +++ b/xwiki-platform-core/xwiki-platform-panels/xwiki-platform-panels-ui/src/main/resources/Panels/PanelWizard.xml @@ -193,7 +193,7 @@ #end #end #set ($panelsPerRow = 3) - (% id="dhtmltooltip" style="visibility: hidden;" %)((())) + (% id="dhtmltooltip" %)((())) #if ($request.place) #set ($ajaxurl = $xwiki.getDocument('Panels.PanelLayoutUpdate').getURL('get', "xpage=plain&outputSyntax=plain&place=$!{escapetool.url($request.place)}&prefsdoc=${escapetool.url($currentDoc)}&form_token=${escapetool.url($services.csrf.getToken())}")) #else @@ -632,6 +632,7 @@ } #dhtmltooltip { + display: none; background-color: $theme.highlightColor; border: 1px solid $theme.borderColor; padding: 2px 4px; diff --git a/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-test/pom.xml b/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-test/pom.xml index 7c18e7ae2986..f22ad55fa590 100644 --- a/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-test/pom.xml +++ b/xwiki-platform-distribution/xwiki-platform-distribution-flavor/xwiki-platform-distribution-flavor-test/pom.xml @@ -262,8 +262,7 @@ /xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=Themes /xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=menu.name - + /xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=Panels.PanelWizard /xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=panels.applications /xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=panels.navigation /xwiki/bin/admin/XWiki/XWikiPreferences?editor=globaladmin&section=Presentation