Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
library-app-django
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ilham Maulana
library-app-django
Commits
2038f57b
Commit
2038f57b
authored
Jul 02, 2024
by
impfundev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: dark sidebar
parent
409c88e0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
layout.html
dashboards/templates/layout.html
+11
-7
No files found.
dashboards/templates/layout.html
View file @
2038f57b
...
...
@@ -4,36 +4,40 @@
class=
"w-100 h-100 bg-body-secondary d-flex justify-content-end"
>
<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"
>
{% include "profile.html" %}
<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
>
<a
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
>
<a
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
>
<a
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
>
<a
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
>
</div>
</div>
{% block dashboard %}{% endblock dashboard %}
<div
style=
"max-height: 100vh"
class=
"w-100 overflow-y-auto"
>
{% block dashboard %}{% endblock dashboard %}
</div>
</main>
{% endblock content %}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment