Gestion du theme
This commit is contained in:
parent
7bf7a603ff
commit
e591b3c209
|
@ -91,8 +91,9 @@
|
|||
|
||||
/* (2) On met à jour les informations de l'entrepot */
|
||||
$_SESSION['WAREHOUSE'] = [
|
||||
'id' => (int) $checkRoot->answer()[0]['id_warehouse'],
|
||||
'name' => $checkRoot->answer()[0]['name']
|
||||
'id' => (int) $checkRoot->answer()[0]['id_warehouse'],
|
||||
'name' => $checkRoot->answer()[0]['name'],
|
||||
'theme' => $checkRoot->answer()[0]['theme']
|
||||
];
|
||||
|
||||
/* (3) On récupère les modules de l'entrepot */
|
||||
|
|
|
@ -91,7 +91,7 @@
|
|||
}
|
||||
|
||||
</style>
|
||||
<body>
|
||||
<body style='background-color: #<?= $_SESSION['WAREHOUSE']['theme']; ?>;'>
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -35,8 +35,8 @@
|
|||
<div id='WRAPPER'>
|
||||
|
||||
<!-- HEADER DE LA PAGE -->
|
||||
<div id='HEADER'>
|
||||
<div class='icon'></div>
|
||||
<div id='HEADER' style='background-color: #<?= $_SESSION['WAREHOUSE']['theme']; ?>;border-bottom-color: #aaa; ?>;'>
|
||||
<div class='icon' style='background-color: #<?= $_SESSION['WAREHOUSE']['theme']; ?>;'></div>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue