avatar
This commit is contained in:
parent
99124be16f
commit
0085db6c2c
|
@ -1205,3 +1205,11 @@ div#footbar {
|
|||
transition: .5s ease-in-out;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
/* avatar */
|
||||
img.avatar {
|
||||
height: 24px;
|
||||
width: 24px;
|
||||
border-radius: 25px;
|
||||
margin-top: 1px;
|
||||
}
|
||||
|
|
BIN
public/s/img/ava/default.png
Normal file
BIN
public/s/img/ava/default.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 8.9 KiB |
|
@ -4,11 +4,13 @@
|
|||
<ul class="navbar-nav">
|
||||
<li class="nav-item dropdown">
|
||||
@if(session)
|
||||
<a class="nav-link" href="/admin" content="{{ session.user }}" data-toggle="dropdown">Admin</a>
|
||||
<a class="nav-link" href="#" content="{{ session.user }}" data-toggle="dropdown">
|
||||
<img src="/s/img/ava/default.png" class="avatar" /> {{ session.user }}
|
||||
</a>
|
||||
<ul class="dropdown-menu">
|
||||
<li><a href="/admin">adminpanel</a></li>
|
||||
<li><a href="/admin/sessions">sessions</a></li>
|
||||
<li><a href="/admin/test">search (wip)</a></li>
|
||||
<li><a href="/user/{{ session.user.toLowerCase() }}">my f0cks</a></li>
|
||||
<li><a href="/settings">settings</a></li>
|
||||
<li><a href="/about">About</a></li>
|
||||
<li><a href="/logout">logout</a></li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in New Issue
Block a user