Gestion du theme
This commit is contained in:
parent
7bf7a603ff
commit
e591b3c209
|
@ -92,7 +92,8 @@
|
||||||
/* (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