mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-18 13:03:01 +00:00
43 lines
1.1 KiB
Cheetah
43 lines
1.1 KiB
Cheetah
{{with .Data}}
|
|
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
|
|
<div class="page-title-container">
|
|
<span class="page-title"> {{.Title}} </span>
|
|
<a class="page-refresh" href="{{$.Ctx.Referrer}}" accesskey="T" title="Refresh (T)">refresh</a>
|
|
</div>
|
|
|
|
{{if eq .Type "remote"}}
|
|
<form class="search-form" action="/timeline/remote" method="GET">
|
|
<span class="post-form-field">
|
|
<label for="instance"> Instance </label>
|
|
<input id="instance" name="instance" value="{{.Instance}}">
|
|
</span>
|
|
<button type="submit"> Submit </button>
|
|
</form>
|
|
{{end}}
|
|
{{if eq .Type "tag"}}
|
|
<form class="search-form" action="/timeline/tag" method="GET">
|
|
<span class="post-form-field">
|
|
<label for="tag"> Tag </label>
|
|
<input id="tag" name="tag" value="">
|
|
</span>
|
|
<button type="submit"> Submit </button>
|
|
</form>
|
|
{{end}}
|
|
|
|
|
|
{{range .Statuses}}
|
|
{{template "status.tmpl" (WithContext . $.Ctx)}}
|
|
{{end}}
|
|
|
|
<div class="pagination">
|
|
{{if .PrevLink}}
|
|
<a href="{{.PrevLink}}">[prev]</a>
|
|
{{end}}
|
|
{{if .NextLink}}
|
|
<a href="{{.NextLink}}">[next]</a>
|
|
{{end}}
|
|
</div>
|
|
|
|
{{template "footer.tmpl"}}
|
|
{{end}}
|