bloat/templates/thread.tmpl

24 lines
733 B
Cheetah
Raw Normal View History

2019-12-13 20:08:26 +02:00
{{template "header.tmpl"}}
2019-12-15 19:37:58 +02:00
{{template "navigation.tmpl" .NavbarData}}
<div class="page-title"> Thread </div>
2019-12-13 20:08:26 +02:00
2019-12-19 00:14:02 +02:00
{{range .Statuses}}
2019-12-13 20:08:26 +02:00
{{template "status.tmpl" .}}
2019-12-19 00:14:02 +02:00
{{if eq .ID $.ReplyToID}}
2019-12-14 22:19:02 +02:00
<form class="timeline-post-form" action="/post" method="POST" enctype="multipart/form-data">
2019-12-13 20:08:26 +02: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 20:08:26 +02:00
<br/>
2019-12-14 22:19:02 +02:00
Attachments <input id="post-file-picker" type="file" name="attachments" multiple>
<br/>
2019-12-13 20:08:26 +02:00
<button type="submit"> Post </button>
</form>
{{end}}
{{end}}
{{template "footer.tmpl"}}