2019-12-13 18:08:26 +00:00
|
|
|
{{template "header.tmpl"}}
|
2019-12-15 17:37:58 +00:00
|
|
|
{{template "navigation.tmpl" .NavbarData}}
|
2019-12-13 20:04:28 +00:00
|
|
|
<div class="page-title"> Thread </div>
|
2019-12-13 18:08:26 +00:00
|
|
|
|
2019-12-18 22:14:02 +00:00
|
|
|
{{range .Statuses}}
|
2019-12-13 18:08:26 +00:00
|
|
|
{{template "status.tmpl" .}}
|
|
|
|
|
2019-12-18 22:14:02 +00:00
|
|
|
{{if eq .ID $.ReplyToID}}
|
2019-12-14 20:19:02 +00:00
|
|
|
<form class="timeline-post-form" action="/post" method="POST" enctype="multipart/form-data">
|
2019-12-19 15:12:35 +00:00
|
|
|
<input type="hidden" name="reply_to_id" value="{{$.ReplyToID}}" />
|
|
|
|
<label for="post-content"> Reply to {{.Account.DisplayName}} </label>
|
2019-12-13 18:08:26 +00:00
|
|
|
<br/>
|
2019-12-19 15:12:35 +00:00
|
|
|
<textarea id="post-content" name="content" class="post-content" cols="50" rows="5">{{$.ReplyContent}}</textarea>
|
2019-12-13 18:08:26 +00:00
|
|
|
<br/>
|
2019-12-14 20:19:02 +00:00
|
|
|
Attachments <input id="post-file-picker" type="file" name="attachments" multiple>
|
|
|
|
<br/>
|
2019-12-13 18:08:26 +00:00
|
|
|
<button type="submit"> Post </button>
|
|
|
|
</form>
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{end}}
|
|
|
|
|
|
|
|
{{template "footer.tmpl"}}
|