mirror of
https://git.phreedom.club/localhost_frssoft/bloat.git
synced 2024-11-22 12:01:27 +00:00
24 lines
572 B
Cheetah
24 lines
572 B
Cheetah
{{template "header.tmpl"}}
|
|
<div class="page-title"> Timeline </div>
|
|
{{template "navigation.tmpl"}}
|
|
|
|
<form class="timeline-post-form" action="/post" method="POST">
|
|
<label for="post-content"> New Post </label>
|
|
<br/>
|
|
<textarea id="post-content" name="content" class="post-content" cols="50" rows="5"></textarea>
|
|
<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"}}
|