bloat/templates/thread.tmpl

25 lines
775 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-19 15:12:35 +00:00
<input type="hidden" name="reply_to_id" value="{{$.ReplyToID}}" />
2019-12-19 16:19:44 +00:00
<label for="post-content"> reply to {{.Account.DisplayName}} </label>
<div class="post-form-content-container">
<textarea id="post-content" name="content" class="post-content" cols="50" rows="5">{{$.ReplyContent}}</textarea>
</div>
<div>
Attachments <input id="post-file-picker" type="file" name="attachments" multiple>
</div>
2019-12-13 18:08:26 +00:00
<button type="submit"> Post </button>
</form>
{{end}}
{{end}}
{{template "footer.tmpl"}}