mirror of
https://gitea.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-22 12:49:21 +02:00
30 lines
687 B
Cheetah
30 lines
687 B
Cheetah
{{with .Data}}
|
|
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
|
|
<div class="page-title"> {{.Title}} </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}}
|
|
|
|
{{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}}
|