This commit is contained in:
2026-02-24 09:35:46 +00:00
parent 571f2add65
commit 192ca971bc
9 changed files with 344 additions and 492 deletions

View File

@@ -1,7 +1,12 @@
<?php
// Constantes pour la version des fichiers (cache busting)
define('CSS_VERSION', '2026.02.23.15');
define('JS_VERSION', '2026.02.23.15');
/**
* VERSIONING AUTOMATIQUE (CACHE BUSTING)
* Génère une version unique basée sur la minute actuelle (Ex: 202602241530)
* Permet de forcer la mise à jour des fichiers CSS/JS chez tous les utilisateurs.
*/
if (!defined('APP_VERSION')) {
define('APP_VERSION', date('Y.m.d.H.i'));
}
?>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
@@ -9,30 +14,25 @@ define('JS_VERSION', '2026.02.23.15');
<base href="<?= $racineWeb ?>">
<!-- Favicon -->
<link rel="icon" href="Bootstrap_new/images/favicon.ico">
<!-- Fonts modernes et légères -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:opsz@14..32&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap" rel="stylesheet">
<!-- Vendor CSS Files (Bootstrap Icons, FontAwesome, etc.) -->
<link href="Bootstrap/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
<link href="Bootstrap/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
<link href="Bootstrap/vendor/remixicon/remixicon.css" rel="stylesheet">
<!-- Libraries CSS -->
<link href="Bootstrap_new/css/datatables.min.css" rel="stylesheet">
<link href="Bootstrap_new/css/select2.min.css" rel="stylesheet">
<link href="Bootstrap_new/select/css/bootstrap-select.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/sweetalert2@11.14.1/dist/sweetalert2.min.css" rel="stylesheet">
<link href="Bootstrap/vendor/quill/quill.snow.css" rel="stylesheet">
<!-- Custom CSS (avec versioning) -->
<link href="Bootstrap/css/style.css?ver=<?= CSS_VERSION ?>" rel="stylesheet">
<link href="Bootstrap_new/css/custom.css?ver=<?= CSS_VERSION ?>" rel="stylesheet">
<link href="Bootstrap_new/css/theme-modern.css?ver=<?= CSS_VERSION ?>" rel="stylesheet">
<link href="Bootstrap/css/style.css?ver=<?= APP_VERSION ?>" rel="stylesheet">
<link href="Bootstrap_new/css/custom.css?ver=<?= APP_VERSION ?>" rel="stylesheet">
<link href="Bootstrap_new/css/theme-modern.css?ver=<?= APP_VERSION ?>" rel="stylesheet">
<title><?= $_SESSION['vue'] ?? 'INTER SANTE' ?></title>
<title><?= $_SESSION['descriptionVue'] ?? 'INTER SANTE' ?></title>