Commit 2038f57b authored by impfundev's avatar impfundev

feat: dark sidebar

parent 409c88e0
...@@ -4,36 +4,40 @@ ...@@ -4,36 +4,40 @@
class="w-100 h-100 bg-body-secondary d-flex justify-content-end" class="w-100 h-100 bg-body-secondary d-flex justify-content-end"
> >
<div <div
class="w-100 p-4 d-flex flex-column gap-4 bg-body" class="w-100 p-4 d-flex flex-column gap-4 bg-dark"
style="max-width: 20vw" style="max-width: 20vw"
> >
{% include "profile.html" %} {% include "profile.html" %}
<div class="d-flex flex-column gap-2"> <div class="d-flex flex-column gap-2">
<a href="/dashboard" class="btn btn-outline-primary text-start w-100" <a
href="/dashboard"
class="btn {% if request.path == '/dashboard/' %}btn-primary{% else %}btn-outline-primary border-white text-white{% endif %} text-start w-100"
><i class="bi bi-bar-chart-line-fill"></i> Reports</a ><i class="bi bi-bar-chart-line-fill"></i> Reports</a
> >
<a <a
href="/dashboard/books" href="/dashboard/books"
class="btn btn-outline-primary text-start w-100" class="btn {% if request.path == '/dashboard/books/' %}btn-primary{% else %}btn-outline-primary border-white text-white{% endif %} text-start w-100"
><i class="bi bi-book-half"></i> Books</a ><i class="bi bi-book-half"></i> Books</a
> >
<a <a
href="/dashboard/members" href="/dashboard/members"
class="btn btn-outline-primary text-start w-100" class="btn {% if request.path == '/dashboard/members/' %}btn-primary{% else %}btn-outline-primary border-white text-white{% endif %} text-start w-100"
><i class="bi bi-person-vcard"></i> Members</a ><i class="bi bi-person-vcard"></i> Members</a
> >
<a <a
href="/dashboard/book-loans" href="/dashboard/book-loans"
class="btn btn-outline-primary text-start w-100" class="btn {% if request.path == '/dashboard/book-loans/' %}btn-primary{% else %}btn-outline-primary border-white text-white{% endif %} text-start w-100"
><i class="bi bi-calendar-week"></i> Book Loans</a ><i class="bi bi-calendar-week"></i> Book Loans</a
> >
<a <a
href="/dashboard/librarians" href="/dashboard/librarians"
class="btn btn-outline-primary text-start w-100" class="btn {% if request.path == '/dashboard/librarians/' %}btn-primary{% else %}btn-outline-primary border-white text-white{% endif %} text-start w-100"
><i class="bi bi-person-fill-lock"></i> Librarian</a ><i class="bi bi-person-fill-lock"></i> Librarian</a
> >
</div> </div>
</div> </div>
<div style="max-height: 100vh" class="w-100 overflow-y-auto">
{% block dashboard %}{% endblock dashboard %} {% block dashboard %}{% endblock dashboard %}
</div>
</main> </main>
{% endblock content %} {% endblock content %}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment