Add notification support
[bloat] / templates / thread.tmpl
1 {{template "header.tmpl"}}
2 {{template "navigation.tmpl" .NavbarData}}
3 <div class="page-title"> Thread </div>
4
5 {{range .Context.Ancestors}}
6 {{template "status.tmpl" .}}
7 {{end}}
8
9 {{template "status.tmpl" .Status}}
10 {{if .PostReply}}
11 <form class="timeline-post-form" action="/post" method="POST" enctype="multipart/form-data">
12         <input type="hidden" name="reply_to_id" value="{{.ReplyToID}}" />
13         <label for="post-content"> Reply to {{.Status.Account.DisplayName}} </label>
14         <br/>
15         <textarea id="post-content" name="content" class="post-content" cols="50" rows="5">{{.ReplyContent}}</textarea>
16         <br/>
17         Attachments <input id="post-file-picker" type="file" name="attachments" multiple>
18         <br/>
19         <button type="submit"> Post </button>
20 </form>
21 {{end}}
22
23 {{range .Context.Descendants}}
24 {{template "status.tmpl" .}}
25 {{end}}
26
27 {{template "footer.tmpl"}}