mirror of
https://git.freesoftwareextremist.com/bloat
synced 2024-11-09 16:14:11 +00:00
29 lines
725 B
Cheetah
29 lines
725 B
Cheetah
{{with .Data}}
|
|
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
|
|
<h1>{{.Title}} <a class="page-link" href="{{$.Ctx.Referrer}}" accesskey="T" title="Refresh (T)">refresh</a></h1>
|
|
|
|
{{if eq .Type "remote"}}
|
|
<form action="/timeline/remote" method="GET">
|
|
<span>
|
|
<label for="instance"> Instance </label>
|
|
<input type="text" id="instance" name="instance" value="{{.Instance}}">
|
|
</span>
|
|
<button type="submit"> Submit </button>
|
|
</form>
|
|
{{end}}
|
|
|
|
{{range .Statuses}}
|
|
{{template "status.tmpl" (WithContext . $.Ctx)}}
|
|
{{end}}
|
|
|
|
<nav class="pagination">
|
|
{{if .PrevLink}}
|
|
<a href="{{.PrevLink}}">[prev]</a>
|
|
{{end}}
|
|
{{if .NextLink}}
|
|
<a href="{{.NextLink}}">[next]</a>
|
|
{{end}}
|
|
</nav>
|
|
|
|
{{template "footer.tmpl"}}
|
|
{{end}}
|