From d7fd209293986432c90ab0ccb60b838e4358d0f3 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Fri, 6 Mar 2026 18:19:42 +0000 Subject: [PATCH] fgh --- Js/fonctions.js | 11 +++++---- Vue/Tablesreference/index.php | 42 ++++++++++++++--------------------- 2 files changed, 24 insertions(+), 29 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 834fcdc9..f5c6b148 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -47563,7 +47563,7 @@ function afficheDonneesTableChoisie(fichier) { }); } -// Gère l'affichage des boutons en entête des formulaires +// Fonction pour initialiser les boutons d'entête function afficheBoutons($idData) { const racineWeb = $("#racineWeb").val(); const codeLangue = $("#codeLangue").val(); @@ -47574,13 +47574,16 @@ function afficheBoutons($idData) { type: 'post', data: donnees, success: function(data) { - // On injecte les boutons dans l'emplacement dédié $('#div_entete_table').html(data); - // Si on est en mode "Initial" ($idData == 0) + // On force le style Neutral Pro sur les boutons injectés + $('#div_entete_table button').addClass('btn btn-sm fw-bold shadow-xs px-3'); + $('#btn-action').addClass('btn-success'); + $('#btn-fermer').addClass('btn-light border'); + if($idData == 0) { - $('#btn-action').html(' ' + (codeLangue == "en_US" ? "Add" : "Ajouter")); $('#btn-fermer').hide(); + $('#btn-action').html(' ' + (codeLangue == "en_US" ? "Add" : "Ajouter")); } else { $('#btn-fermer').show(); $('#btn-action').html(' ' + (codeLangue == "en_US" ? "Save" : "Enregistrer")); diff --git a/Vue/Tablesreference/index.php b/Vue/Tablesreference/index.php index 39180f69..4d14160b 100755 --- a/Vue/Tablesreference/index.php +++ b/Vue/Tablesreference/index.php @@ -20,7 +20,7 @@
-
+
'General', 2 => 'Production', 3 => 'Medical and Claims', 5 => 'Accounting'] : @@ -39,47 +39,39 @@
-
- : +
+ :
-
+
+ +
-
-
+
+
+
+ +
+
-
+
-
+
-
-
-
- - \ No newline at end of file + + +
\ No newline at end of file