bloat/templates/timeline.tmpl

33 lines
830 B
Cheetah
Raw Permalink Normal View History

2020-01-14 16:57:16 +00:00
{{with .Data}}
2020-02-18 22:15:37 +00:00
{{template "header.tmpl" (WithContext .CommonData $.Ctx)}}
2022-01-27 11:50:54 +00:00
<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>
2019-12-13 18:08:26 +00:00
2021-01-23 08:44:05 +00:00
{{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}}
2019-12-13 18:08:26 +00:00
{{range .Statuses}}
2020-01-14 16:57:16 +00:00
{{template "status.tmpl" (WithContext . $.Ctx)}}
2019-12-13 18:08:26 +00:00
{{end}}
2019-12-15 06:55:13 +00:00
<div class="pagination">
2020-01-28 17:51:00 +00:00
{{if .PrevLink}}
2020-09-22 16:22:58 +00:00
<a href="{{.PrevLink}}">[prev]</a>
2019-12-15 06:55:13 +00:00
{{end}}
2020-01-28 17:51:00 +00:00
{{if .NextLink}}
2020-09-22 16:22:58 +00:00
<a href="{{.NextLink}}">[next]</a>
2019-12-15 06:55:13 +00:00
{{end}}
</div>
2020-01-14 16:57:16 +00:00
2019-12-13 18:08:26 +00:00
{{template "footer.tmpl"}}
2020-01-14 16:57:16 +00:00
{{end}}