From 2c49919d9a8e471a462d836a7eb4c7af38f4d4f2 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 2 Nov 2021 12:48:51 +0100 Subject: [PATCH] annuler les aides --- core/module/config/view/index/index.css | 5 +++-- core/module/config/view/index/index.js.php | 25 +++++++++++----------- core/module/config/view/index/index.php | 23 ++++++++++---------- 3 files changed, 27 insertions(+), 26 deletions(-) diff --git a/core/module/config/view/index/index.css b/core/module/config/view/index/index.css index 9920a351..4648a078 100755 --- a/core/module/config/view/index/index.css +++ b/core/module/config/view/index/index.css @@ -25,7 +25,7 @@ filter : brightness(125%); } -/** Div d'aide */ +/** Div d'aide .helpDisplayContainer { position: sticky; @@ -39,8 +39,9 @@ z-index: 30; } -/** Bouton d'aide et croix de fermeture */ +/** Bouton d'aide et croix de fermeture .zwiico-cancel, .helpDisplayButton { cursor: pointer; } +*/ \ No newline at end of file diff --git a/core/module/config/view/index/index.js.php b/core/module/config/view/index/index.js.php index d13507ac..7bf7ffb8 100644 --- a/core/module/config/view/index/index.js.php +++ b/core/module/config/view/index/index.js.php @@ -175,41 +175,40 @@ $( document).ready(function() { /** * Boutons d'aide * Page des paramètres - */ + $("#setupHelpButton").on("click", function() { - $("#setupHelpContainer").slideDown(); + }); $("#updateHelpButton").on("click", function() { - $("#updateHelpContainer").slideDown(); + }); $("#maintenanceHelpButton").on("click", function() { - $("#maintenanceHelpContainer").slideDown(); - }); + + }); */ /** * Boutons d'aide * Page des locales - */ + $("#localeHelpButton").on("click", function() { - $("#localeHelpContainer").slideDown(); + }); $("#labelHelpButton").on("click", function() { - console.log("e"); - $("#labelHelpContainer").slideDown(); + }); $("#specialeHelpButton").on("click", function() { console.log("f"); - $("#specialeHelpContainer").slideDown(); - }); + + }); */ - /** Bouton de fermeture */ + /** Bouton de fermeture $(".zwiico-cancel").click(function() { $(".helpDisplayContainer").slideUp(); }); - + */ }); $( document).ready(function() { diff --git a/core/module/config/view/index/index.php b/core/module/config/view/index/index.php index 96a5ed7e..e77262dd 100644 --- a/core/module/config/view/index/index.php +++ b/core/module/config/view/index/index.php @@ -8,7 +8,14 @@ 'value' => 'Accueil' ]); ?> -
+
+ 'buttonHelp', + 'ico' => 'help', + 'value' => 'Aide' + ]); ?> +
+
@@ -44,46 +51,40 @@ - + - +