mirror of
https://github.com/billz/raspap-webgui.git
synced 2023-10-10 13:37:24 +02:00
Update cookie cname, fix class to center sidebar toggler
This commit is contained in:
parent
e054a963f6
commit
c557a846f0
@ -47,7 +47,7 @@ if (!isset($_COOKIE['theme'])) {
|
|||||||
}
|
}
|
||||||
$theme_url = 'app/css/'.htmlspecialchars($theme, ENT_QUOTES);
|
$theme_url = 'app/css/'.htmlspecialchars($theme, ENT_QUOTES);
|
||||||
|
|
||||||
if ($_COOKIE['sidebar'] == 'true' ) {
|
if ($_COOKIE['sidebarToggled'] == 'true' ) {
|
||||||
$toggleState = "toggled";
|
$toggleState = "toggled";
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -170,7 +170,7 @@ if ($_COOKIE['sidebar'] == 'true' ) {
|
|||||||
<hr class="sidebar-divider d-none d-md-block">
|
<hr class="sidebar-divider d-none d-md-block">
|
||||||
|
|
||||||
<!-- Sidebar Toggler (Sidebar) -->
|
<!-- Sidebar Toggler (Sidebar) -->
|
||||||
<div class="text-center d-none d-md-inline">
|
<div class="text-center d-none d-md-block">
|
||||||
<button class="rounded-circle border-0" id="sidebarToggle"></button>
|
<button class="rounded-circle border-0" id="sidebarToggle"></button>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user