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