Virer les icones de bouton + petites modifs

This commit is contained in:
Fred Tempez 2020-08-08 17:14:52 +02:00
parent 54b5efd1d8
commit 14e0499bc8
4 changed files with 6 additions and 10 deletions

View File

@ -22,9 +22,9 @@ $( document).ready(function() {
data: $("form").serialize(), data: $("form").serialize(),
complete: function(r, s){ complete: function(r, s){
$("body").removeClass("loading"); $("body").removeClass("loading");
$("body").append("<div id='notification' class='notificationSuccess'>Sauvegarde générée avec succès !</div>"); $("body").append("<div id='notification' class='notificationSuccess'>Sauvegarde réalisée avec succès !</div>");
$("#notification").delay("3000").fadeOut("1000"); $("#notification").delay("3000").fadeOut("1000");
}, }
}); });
}); });
}); });

View File

@ -10,8 +10,7 @@
</div> </div>
<div class="col2 offset8"> <div class="col2 offset8">
<?php echo template::submit('configBackupSubmit',[ <?php echo template::submit('configBackupSubmit',[
'value' => 'Sauvegarder', 'value' => 'Sauvegarder'
'ico' => 'download-cloud'
]); ?> ]); ?>
</div> </div>
<div class="modal"><!-- Emplacement pour l'animation --></div> <div class="modal"><!-- Emplacement pour l'animation --></div>

View File

@ -11,15 +11,13 @@
<div class="col2 offset4"> <div class="col2 offset4">
<?php echo template::button('configManageButton', [ <?php echo template::button('configManageButton', [
'href' => helper::baseUrl() . 'config/backup', 'href' => helper::baseUrl() . 'config/backup',
'value' => 'Sauvegarder', 'value' => 'Sauvegarder'
'ico' => 'download'
]); ?> ]); ?>
</div> </div>
<div class="col2"> <div class="col2">
<?php echo template::button('configManageButton', [ <?php echo template::button('configManageButton', [
'href' => helper::baseUrl() . 'config/manage', 'href' => helper::baseUrl() . 'config/manage',
'value' => 'Restaurer', 'value' => 'Restaurer'
'ico' => 'upload'
]); ?> ]); ?>
</div> </div>
<div class="col2"> <div class="col2">

View File

@ -10,8 +10,7 @@
</div> </div>
<div class="col2 offset8"> <div class="col2 offset8">
<?php echo template::submit('configManageSubmit',[ <?php echo template::submit('configManageSubmit',[
'value' => 'Restaurer', 'value' => 'Restaurer'
'ico' => 'upload'
]); ?> ]); ?>
</div> </div>
</div> </div>