2024-10-24 07:13:00 +00:00
|
|
|
<nav class="sb-topnav navbar navbar-expand navbar-light bg-light">
|
|
|
|
<!-- Navbar Brand-->
|
|
|
|
<a class="sidebar-brand-text navbar-brand ps-5" href="wlan0_info">RaspAP</a>
|
|
|
|
<!-- Sidebar Toggle-->
|
|
|
|
<button class="btn btn-link btn-sm order-1 order-lg-0 me-auto p-3 bd-highlight" id="sidebarToggle" href="#!"><i class="fas fa-bars"></i></button>
|
|
|
|
<!-- Navbar-->
|
|
|
|
<ul class="navbar-nav ms-auto ms-md-0 me-2 me-lg-4">
|
2024-10-24 17:33:40 +00:00
|
|
|
<!-- Display mode -->
|
2024-10-24 07:13:00 +00:00
|
|
|
<div class="form-check form-switch p-4 mt-1">
|
2024-10-26 10:15:43 +00:00
|
|
|
<input type="checkbox" class="form-check-input" id="night-mode" <?php echo getNightmode() ? 'checked' : null ; ?> >
|
|
|
|
<label class="form-check-label" for="night-mode"><i class="far fa-moon mr-1 text-muted"></i></label>
|
2024-10-24 07:13:00 +00:00
|
|
|
</div>
|
2024-10-24 17:33:40 +00:00
|
|
|
<!-- Auth user -->
|
|
|
|
<li class="nav-item mt-1">
|
2024-10-24 07:13:00 +00:00
|
|
|
<a class="nav-link" href="auth_conf">
|
2024-10-24 17:33:40 +00:00
|
|
|
<span class="mr-2 small nav-user"><?php echo htmlspecialchars($_SESSION['user_id'], ENT_QUOTES); ?></span>
|
|
|
|
<i class="fas fa-user-circle text-muted mt-2 fa-3x"></i>
|
2024-10-24 07:13:00 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</nav>
|