bloat/templates/thread.tmpl

24 lines
733 B
Cheetah
Raw Normal View History

2019-12-13 18:08:26 +00:00
{{template "header.tmpl"}}
2019-12-15 17:37:58 +00:00
{{template "navigation.tmpl" .NavbarData}}
<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-13 18:08:26 +00:00
<input type="hidden" name="reply_to_id" value="{{.ReplyToID}}" />
<label for="post-content"> Reply to {{.Status.Account.DisplayName}} </label>
<br/>
<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"}}