bloat/templates/nav.tmpl

38 lines
1.7 KiB
Cheetah
Raw Normal View History

2020-02-19 00:15:37 +02:00
{{with .Data}}
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
<div class="user-info">
<div class="user-info-img-container">
2020-10-19 09:06:41 +03:00
<a class="img-link" href="/timeline/home" title="Home (1)">
<img class="user-info-img" src="{{.User.AvatarStatic}}" alt="profile-avatar" height="64" />
2020-02-19 00:15:37 +02:00
</a>
</div>
<div class="user-info-details-container">
2020-10-19 08:20:57 +03:00
<div class="user-info-details-name">
2020-02-19 00:15:37 +02:00
<span class="status-dname"> {{EmojiFilter .User.DisplayName .User.Emojis}} </span>
2020-10-19 09:06:41 +03:00
<a class="nav-link" href="/user/{{.User.ID}}" accesskey="0" title="User profile (0)">
2020-09-22 18:42:16 +03:00
<span class="status-uname"> @{{.User.Acct}} </span>
2020-02-19 00:15:37 +02:00
</a>
</div>
2020-10-19 08:20:57 +03:00
<div class="user-info-details-nav">
2020-10-19 09:06:41 +03:00
<a class="nav-link" href="/timeline/home" accesskey="1" title="Home timeline (1)">home</a>
<a class="nav-link" href="/timeline/direct" accesskey="2" title="Direct timeline (2)">direct</a>
<a class="nav-link" href="/timeline/local" accesskey="3" title="Local timeline (3)">local</a>
<a class="nav-link" href="/timeline/twkn" accesskey="4" title="The Whole Known Netwwork (4)">twkn</a>
<a class="nav-link" href="/search" accesskey="5" title="Search (5)">search</a>
<a class="nav-link" href="/about" accesskey="6" title="About (6)">about</a>
2020-02-19 00:15:37 +02:00
</div>
<div>
2020-10-19 09:06:41 +03:00
<a class="nav-link" href="/settings" target="_top" accesskey="7" title="Settings (7)">settings</a>
2020-03-04 17:59:59 +02:00
<form class="signout" action="/signout" method="post" target="_top">
<input type="hidden" name="csrf_token" value="{{$.Ctx.CSRFToken}}">
2020-10-19 09:06:41 +03:00
<input type="submit" value="signout" class="btn-link nav-link" accesskey="8" title="Signout (8)">
2020-03-04 17:59:59 +02:00
</form>
2020-02-19 00:15:37 +02:00
</div>
</div>
</div>
{{template "postform.tmpl" (WithContext .PostContext $.Ctx)}}
{{template "footer.tmpl"}}
{{end}}