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