Add license
[bloat] / templates / timeline.tmpl
1 {{template "header.tmpl"}}
2 <div class="page-title"> Timeline </div>
3 {{template "navigation.tmpl"}}
4
5 <form class="timeline-post-form" action="/post" method="POST">
6         <label for="post-content"> New Post </label>
7         <br/>
8         <textarea id="post-content" name="content" class="post-content" cols="50" rows="5"></textarea>
9         <br/>
10         <button type="submit"> Post </button>
11 </form>
12
13 {{range .Statuses}}
14 {{template "status.tmpl" .}}
15 {{end}}
16
17 {{if .HasNext}}
18         <a href="{{.NextLink}}"> next </a>
19 {{end}}
20 {{if .HasPrev}}
21         <a href="{{.PrevLink}}"> next </a>
22 {{end}}
23 {{template "footer.tmpl"}}