bloat/templates/nav.tmpl

46 lines
2.2 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)">
2021-04-07 09:55:11 +03:00
<img class="user-info-img" src="{{.User.Avatar}}" 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">
<bdi class="status-dname">{{EmojiFilter (HTML .User.DisplayName) .User.Emojis | Raw}}</bdi>
2020-10-19 09:06:41 +03:00
<a class="nav-link" href="/user/{{.User.ID}}" accesskey="0" title="User profile (0)">
<span class="status-uname">@{{.User.Acct}}</span>
2020-02-19 00:15:37 +02:00
</a>
2023-10-01 16:04:07 +03:00
<a class="profile-edit-link" href="/profile" title="edit profile" target="_top">
edit
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>
2022-02-11 13:18:02 +02:00
<a class="nav-link" href="/timeline/twkn" accesskey="4" title="The Whole Known Netwwork (4)">twkn</a>
<a class="nav-link" href="/timeline/remote" accesskey="5" title="Remote timeline (5)">remote</a>
2021-01-23 10:44:05 +02:00
<a class="nav-link" href="/search" accesskey="6" title="Search (6)">search</a>
2020-02-19 00:15:37 +02:00
</div>
<div>
<a class="nav-link" href="/timeline/tag">tag</a>
2022-02-11 13:18:02 +02:00
<a class="nav-link" href="/lists" accesskey="7" title="Lists (7)">lists</a>
<a class="nav-link" href="/settings" target="_top" accesskey="8" title="Settings (8)">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}}">
<input type="hidden" name="referrer" value="{{$.Ctx.Referrer}}">
2022-02-11 13:18:02 +02:00
<input type="submit" value="signout" class="btn-link nav-link" title="Signout">
2020-03-04 17:59:59 +02:00
</form>
2021-01-23 10:44:05 +02:00
<a class="nav-link" href="/about" accesskey="9" title="About (9)">about</a>
2022-10-12 13:34:41 +03:00
<a class="nav-link" href="/aboutinstance" title="Info about instance">instance</a>
2020-02-19 00:15:37 +02:00
</div>
</div>
</div>
{{template "postform.tmpl" (WithContext .PostContext $.Ctx)}}
{{template "footer.tmpl"}}
{{end}}