blob: 8de6705a270ecc7ab3febcef0b68fb5c13def95b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{{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}}
|