Update and add profile link
This commit is contained in:
parent
e18c31999a
commit
1538f088d6
1 changed files with 9 additions and 1 deletions
|
@ -10,10 +10,18 @@
|
|||
{% endif %}
|
||||
{% if user %}
|
||||
<div class="dropdown right">
|
||||
<a href="/users/{{ user.id }}" class="link">
|
||||
<a href="/users/{{ user.name }}" class="link">
|
||||
<span>{{ user.username }}</span> <img src="{{ user.avatar }}">
|
||||
</a>
|
||||
<nav class="dropdown-content">
|
||||
<a href="/users/{{ user.name }}" class="link">
|
||||
<span>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="icon">
|
||||
<path stroke-linecap="round" stroke-linejoin="round" d="M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z" />
|
||||
</svg>
|
||||
Profile
|
||||
</span>
|
||||
</a>
|
||||
<span class="link" onclick="showServers()">
|
||||
<span>
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" class="icon">
|
||||
|
|
Loading…
Add table
Reference in a new issue