From f85868677a3109696ccd0cbf1261f3abc05520f5 Mon Sep 17 00:00:00 2001 From: KONE SOREL Date: Mon, 2 Feb 2026 18:54:35 +0000 Subject: [PATCH] gabarit.php --- Js/fonctions.js | 20 +++- Vue/gabarit.php | 269 ++++++++++++++++++++++++++++++++---------------- Vue/head.php | 92 +++++++++++++---- 3 files changed, 269 insertions(+), 112 deletions(-) diff --git a/Js/fonctions.js b/Js/fonctions.js index 19c83460..5c740a4c 100755 --- a/Js/fonctions.js +++ b/Js/fonctions.js @@ -46020,9 +46020,23 @@ $(function(){ datafiltre(); filtreTab(); - $('.js-example-basic-single').select2(); - $('.selectpicker').selectpicker(); - + // Initialiser Select2 + $('.js-example-basic-single').select2(); + + // Initialiser Bootstrap Select avec vérification + if (typeof $.fn.selectpicker !== 'undefined') { + $('.selectpicker').selectpicker(); + } else { + console.warn("Bootstrap Select n'est pas disponible. Assurez-vous que bootstrap-select.min.js est chargé."); + // Fallback: transformer les select en select2 + $('.selectpicker').each(function() { + if (!$(this).hasClass('select2-hidden-accessible')) { + $(this).select2({ + theme: 'bootstrap-5' + }); + } + }); + } // Rafraîchir les notifications toutes les 2 secondes setInterval(raffraichier_gabarit, 2000); diff --git a/Vue/gabarit.php b/Vue/gabarit.php index 5042d272..0dbe6191 100755 --- a/Vue/gabarit.php +++ b/Vue/gabarit.php @@ -219,15 +219,13 @@ $retourVue = $infovue['lienRetour']; - + - - - - - - + + + + @@ -256,113 +254,203 @@ $retourVue = $infovue['lienRetour']; - + - + - +
- +
diff --git a/Vue/head.php b/Vue/head.php index 4377cbec..c53c196d 100755 --- a/Vue/head.php +++ b/Vue/head.php @@ -1,13 +1,14 @@ - + - + + @@ -59,7 +60,12 @@ rel="stylesheet"> - + + + + + + @@ -87,45 +94,86 @@ <?= htmlspecialchars($_SESSION['vue'] ?? 'Dashboard') ?> - INTER SANTÉ - + \ No newline at end of file