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%);
}
/** 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;
}
*/

View File

@ -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() {

View File

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