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
ed24843a
Commit
ed24843a
authored
Jul 02, 2024
by
impfundev
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: profile menu layout
parent
0fa45dff
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
15 deletions
+18
-15
profile.html
dashboards/templates/profile.html
+18
-15
No files found.
dashboards/templates/profile.html
View file @
ed24843a
<div
class=
"dropdown"
>
<button
class=
"w-100 btn btn-primary"
type=
"button"
data-bs-toggle=
"dropdown"
>
<div
class=
"d-flex flex-column gap-2"
>
<button
class=
"w-100 btn btn-primary text-start d-flex justify-content-center gap-2"
type=
"button"
data-bs-toggle=
"dropdown"
>
<i
class=
"bi bi-person-circle"
></i>
{% if user %}
{{ user.name }}
{% endif %}
{% if user %}
<span
class=
"text-truncate"
>
{{ user.name }}
</span>
{% endif %}
</button>
<
ul
class=
"w-100 dropdown-menu shadow"
>
<li>
<a
class=
"dropdown-item"
href=
"#"
<
a
class=
"w-100 btn btn-outline-primary border-white text-white text-start"
href=
"#"
><i
class=
"bi bi-person-fill-gear"
></i>
settings
</a
>
</li>
<li>
<a
class=
"dropdown-item"
href=
"/auth/logout/"
<a
class=
"w-100 btn btn-outline-primary border-white text-white text-start"
href=
"/auth/logout/"
><i
class=
"bi bi-box-arrow-left"
></i>
logout
</a
>
</li>
</ul>
</div>
<hr
class=
"border-white"
/>
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