val
This commit is contained in:
parent
fa396ef6a3
commit
7ed703aa6d
File diff suppressed because it is too large
Load Diff
|
|
@ -1,63 +0,0 @@
|
|||
<?php
|
||||
// Versioning automatique pour le cache navigateur
|
||||
$version = date('YmdHi');
|
||||
|
||||
// $racineWeb est défini dans gabarit.php, on le garde
|
||||
// Exemple: $racineWeb = '/newdesignstationnaire/';
|
||||
?>
|
||||
<meta charset="UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
<!-- On garde la balise base avec $racineWeb -->
|
||||
<base href="<?= $racineWeb ?>">
|
||||
|
||||
<!-- Favicon - chemin relatif à la base -->
|
||||
<link rel="icon" href="Bootstrap_new/images/favicon.ico"/>
|
||||
|
||||
<!-- Google Fonts : Inter -->
|
||||
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet">
|
||||
<link href="https://fonts.gstatic.com" rel="preconnect">
|
||||
|
||||
<!-- Vendor CSS Files -->
|
||||
<link href="Bootstrap/vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="Bootstrap/vendor/bootstrap-icons/bootstrap-icons.css" rel="stylesheet">
|
||||
<link href="Bootstrap/vendor/boxicons/css/boxicons.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="Bootstrap_new/datatables/datatable.min.css" rel="stylesheet">
|
||||
<link href="https://cdn.jsdelivr.net/npm/sweetalert2@11.14.1/dist/sweetalert2.min.css" rel="stylesheet">
|
||||
|
||||
<!-- Font Awesome 6 -->
|
||||
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css">
|
||||
|
||||
<!-- Thème principal -->
|
||||
<link href="Bootstrap_new/css/theme-modern.css?ver=<?= $version ?>" rel="stylesheet">
|
||||
|
||||
<title><?= $_SESSION['descriptionVue'] ?? 'INTER SANTE' ?></title>
|
||||
|
||||
<!-- Chart.js -->
|
||||
<script src="https://cdn.jsdelivr.net/npm/chart.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/chartjs-plugin-datalabels@2.0.0"></script>
|
||||
|
||||
<style>
|
||||
/* Style de secours minimal en attendant le chargement du CSS */
|
||||
body {
|
||||
font-family: 'Inter', sans-serif;
|
||||
margin: 0;
|
||||
background: #f4f6f9;
|
||||
}
|
||||
.sidebar {
|
||||
width: 260px;
|
||||
background: #1a2b3c;
|
||||
color: white;
|
||||
position: fixed;
|
||||
height: 100vh;
|
||||
left: 0;
|
||||
top: 0;
|
||||
}
|
||||
.main {
|
||||
margin-left: 260px;
|
||||
padding: 20px;
|
||||
}
|
||||
</style>
|
||||
|
|
@ -1,36 +0,0 @@
|
|||
<?php
|
||||
// $contenu vient du contrôleur, on le garde
|
||||
if (!isset($contenu)) $contenu = '';
|
||||
?>
|
||||
|
||||
<!-- Inputs cachés essentiels -->
|
||||
<input type="hidden" id="vue" value="<?= $_SESSION['vue'] ?? '' ?>">
|
||||
<input type="hidden" id="racineWeb" value="<?= $racineWeb ?>">
|
||||
<input type="hidden" id="dureeSession" value="<?= $_SESSION['dureeSession'] ?? '' ?>">
|
||||
<input type="hidden" id="codeLangue" value="<?= $_SESSION['lang'] ?? 'fr_FR' ?>">
|
||||
|
||||
<!-- Navigation secondaire -->
|
||||
<?php if (!empty($menusvue)): ?>
|
||||
<div class="scrollmenu">
|
||||
<?php foreach ($menusvue as $menu): ?>
|
||||
<a href="<?= $menu['lienMenu'] ?>"
|
||||
class="<?= (explode('/', $menu['lienMenu'])[0] == $activeLink) ? 'active' : '' ?>">
|
||||
<?= _($menu['libeleMenu']) ?>
|
||||
</a>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
<?php endif; ?>
|
||||
|
||||
<!-- ================================================= -->
|
||||
<!-- CONTENU PRINCIPAL - NE PAS MODIFIER -->
|
||||
<!-- ================================================= -->
|
||||
<div class="page-content">
|
||||
<!-- Div pour AJAX -->
|
||||
<div id="div_test_gabarit" class="d-none"></div>
|
||||
|
||||
<!-- LE CONTENU DYNAMIQUE DES PAGES -->
|
||||
<?= $contenu ?>
|
||||
|
||||
<!-- Div pour entité -->
|
||||
<div id="div_entite" class="d-none"></div>
|
||||
</div>
|
||||
Loading…
Reference in New Issue
Block a user