annuler les aides

This commit is contained in:
Fred Tempez 2021-11-02 12:48:51 +01:00
parent 2d55016495
commit 2c49919d9a
3 changed files with 27 additions and 26 deletions

View File

@ -25,7 +25,7 @@
filter : brightness(125%); filter : brightness(125%);
} }
/** Div d'aide */ /** Div d'aide
.helpDisplayContainer { .helpDisplayContainer {
position: sticky; position: sticky;
@ -39,8 +39,9 @@
z-index: 30; z-index: 30;
} }
/** Bouton d'aide et croix de fermeture */ /** Bouton d'aide et croix de fermeture
.zwiico-cancel, .helpDisplayButton { .zwiico-cancel, .helpDisplayButton {
cursor: pointer; cursor: pointer;
} }
*/

View File

@ -175,41 +175,40 @@ $( document).ready(function() {
/** /**
* Boutons d'aide * Boutons d'aide
* Page des paramètres * Page des paramètres
*/
$("#setupHelpButton").on("click", function() { $("#setupHelpButton").on("click", function() {
$("#setupHelpContainer").slideDown();
}); });
$("#updateHelpButton").on("click", function() { $("#updateHelpButton").on("click", function() {
$("#updateHelpContainer").slideDown();
}); });
$("#maintenanceHelpButton").on("click", function() { $("#maintenanceHelpButton").on("click", function() {
$("#maintenanceHelpContainer").slideDown();
}); }); */
/** /**
* Boutons d'aide * Boutons d'aide
* Page des locales * Page des locales
*/
$("#localeHelpButton").on("click", function() { $("#localeHelpButton").on("click", function() {
$("#localeHelpContainer").slideDown();
}); });
$("#labelHelpButton").on("click", function() { $("#labelHelpButton").on("click", function() {
console.log("e");
$("#labelHelpContainer").slideDown();
}); });
$("#specialeHelpButton").on("click", function() { $("#specialeHelpButton").on("click", function() {
console.log("f"); console.log("f");
$("#specialeHelpContainer").slideDown();
});
/** Bouton de fermeture */ }); */
/** Bouton de fermeture
$(".zwiico-cancel").click(function() { $(".zwiico-cancel").click(function() {
$(".helpDisplayContainer").slideUp(); $(".helpDisplayContainer").slideUp();
}); });
*/
}); });
$( document).ready(function() { $( document).ready(function() {

View File

@ -8,7 +8,14 @@
'value' => 'Accueil' 'value' => 'Accueil'
]); ?> ]); ?>
</div> </div>
<div class="col2 offset8"> <div class="col2 ">
<?php echo template::button('translateAdvancedHelp', [
'class' => 'buttonHelp',
'ico' => 'help',
'value' => 'Aide'
]); ?>
</div>
<div class="col2 offset6">
<?php echo template::submit('Submit'); ?> <?php echo template::submit('Submit'); ?>
</div> </div>
</div> </div>
@ -44,46 +51,40 @@
</div> </div>
</div> </div>
<!-- SETUP --> <!-- SETUP
<div class="row helpDisplayContainer" id="setupHelpContainer"> <div class="row helpDisplayContainer" id="setupHelpContainer">
<div class="col12"> <div class="col12">
<?php echo template::ico('cancel'); ?> <?php echo template::ico('cancel'); ?>
<?php include ('core/module/config/view/setup/setup0.help.html') ?>
</div> </div>
</div> </div>
<div class="row helpDisplayContainer" id="updateHelpContainer"> <div class="row helpDisplayContainer" id="updateHelpContainer">
<div class="col12"> <div class="col12">
<?php echo template::ico('cancel'); ?> <?php echo template::ico('cancel'); ?>
<?php include ('core/module/config/view/setup/setup1.help.html') ?>
</div> </div>
</div> </div>
<div class="row helpDisplayContainer" id="maintenanceHelpContainer"> <div class="row helpDisplayContainer" id="maintenanceHelpContainer">
<div class="col12"> <div class="col12">
<?php echo template::ico('cancel'); ?> <?php echo template::ico('cancel'); ?>
<?php include ('core/module/config/view/setup/setup2.help.html') ?>
</div> </div>
</div> </div> -->
<?php include ('core/module/config/view/setup/setup.php') ?> <?php include ('core/module/config/view/setup/setup.php') ?>
<!-- LOCALISATION --> <!-- LOCALISATION
<div class="row helpDisplayContainer" id="localeHelpContainer"> <div class="row helpDisplayContainer" id="localeHelpContainer">
<div class="col12"> <div class="col12">
<?php echo template::ico('cancel'); ?> <?php echo template::ico('cancel'); ?>
<?php include ('core/module/config/view/locale/locale0.help.html') ?>
</div> </div>
</div> </div>
<div class="row helpDisplayContainer" id="labelHelpContainer"> <div class="row helpDisplayContainer" id="labelHelpContainer">
<div class="col12"> <div class="col12">
<?php echo template::ico('cancel'); ?> <?php echo template::ico('cancel'); ?>
<?php include ('core/module/config/view/locale/locale1.help.html') ?>
</div> </div>
</div> </div>
<div class="row helpDisplayContainer" id="specialeHelpContainer"> <div class="row helpDisplayContainer" id="specialeHelpContainer">
<div class="col12"> <div class="col12">
<?php echo template::ico('cancel'); ?> <?php echo template::ico('cancel'); ?>
<?php include ('core/module/config/view/locale/locale2.help.html') ?>
</div> </div>
</div> </div>-->
<?php include ('core/module/config/view/locale/locale.php') ?> <?php include ('core/module/config/view/locale/locale.php') ?>