Compare commits

..

No commits in common. "d5c6cad09658992a4c75ceea51a2efe58f5b7cd1" and "e9e844863d78a88c6be020922f1fa307a3aa0518" have entirely different histories.

2 changed files with 2 additions and 6 deletions

View File

@ -1,12 +1,12 @@
<!-- Sidebar --> <!-- Sidebar -->
<div class="sidebar p-3" id="sidebar"> <div class="sidebar p-3" id="sidebar">
<!-- <h5>Sidebar</h5> --> <!-- <h5>Sidebar</h5> -->
<ul class="navbar-nav flex-column pb-5"> <ul class="nav flex-column pb-5">
% for item in menu: % for item in menu:
% if any(role in item['roles'] for role in user_roles): % if any(role in item['roles'] for role in user_roles):
<li class="nav-item"> <li class="nav-item">
<a class="nav-link text-white ${'active' if item['name'] == active_page else ''}" href="${item['href']}" target="${item['target']}"> <a class="nav-link text-white ${'active' if item['name'] == active_page else ''}" href="${item['href']}" target="${item['target']}">
<i class="${item['icon']} me-3"></i> ${item['name']} <i class="${item['icon']}"></i> ${item['name']}
</a> </a>
</li> </li>
% endif % endif

View File

@ -20,10 +20,6 @@ body {
overflow-y: auto; /* Make sidebar scrollable */ overflow-y: auto; /* Make sidebar scrollable */
} }
.sidebar .navbar-nav .nav-item .active {
font-weight: bold;
}
.sidebar.minimized { .sidebar.minimized {
transform: translateX(-100%); transform: translateX(-100%);
} }