mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2025-05-02 10:04:22 +00:00
Add userinfo in navigation
This commit is contained in:
parent
16300c93c1
commit
a24d87ad20
4 changed files with 61 additions and 15 deletions
|
@ -1,6 +1,23 @@
|
|||
<div class="navigation">
|
||||
<a href="/timeline">home</a>
|
||||
<a href="/notifications">notifications{{if gt .NotificationCount 0}} ({{.NotificationCount}}){{end}}</a>
|
||||
<a href="/about">about</a>
|
||||
<a href="/signout">sign out</a>
|
||||
<div class="user-info">
|
||||
<div class="user-info-img-container">
|
||||
<a class="img-link" href="/timeline" title="home">
|
||||
<img class="user-info-img" src="{{.User.AvatarStatic}}" alt="profile-avatar" />
|
||||
</a>
|
||||
</div>
|
||||
<div class="user-info-details-container">
|
||||
<div>
|
||||
<span class="status-dname"> {{EmojiFilter .User.DisplayName .User.Emojis}} </span>
|
||||
<a class="nav-link" href="/user/{{.User.ID}}">
|
||||
<span class="status-uname"> {{.User.Acct}} </span>
|
||||
</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="nav-link" href="/timeline">home</a>
|
||||
<a class="nav-link" href="/notifications">notifications{{if gt .NotificationCount 0}}({{.NotificationCount}}){{end}}</a>
|
||||
<a class="nav-link" href="/about">about</a>
|
||||
</div>
|
||||
<div>
|
||||
<a class="nav-link" href="/signout">sign out</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue