bloat/templates/timeline.tmpl
2019-12-14 20:19:02 +00:00

26 lines
692 B
Cheetah

{{template "header.tmpl"}}
<div class="page-title"> Timeline </div>
{{template "navigation.tmpl"}}
<form class="timeline-post-form" action="/post" method="POST" enctype="multipart/form-data">
<label for="post-content"> New Post </label>
<br/>
<textarea id="post-content" name="content" class="post-content" cols="50" rows="5"></textarea>
<br/>
Attachments <input id="post-file-picker" type="file" name="attachments" multiple>
<br/>
<button type="submit"> Post </button>
</form>
{{range .Statuses}}
{{template "status.tmpl" .}}
{{end}}
{{if .HasNext}}
<a href="{{.NextLink}}"> next </a>
{{end}}
{{if .HasPrev}}
<a href="{{.PrevLink}}"> next </a>
{{end}}
{{template "footer.tmpl"}}