gosora/templates/topic_alt_quick_reply.html

42 lines
2.1 KiB
HTML
Raw Normal View History

<div class="rowblock topic_reply_container">
2020-04-05 03:18:36 +00:00
<div class="userinfo"aria-label="{{lang "topic.your_information"}}">
<img class="aitem"src="{{.CurrentUser.Avatar}}"alt="Avatar">
<div class="user_meta">
2020-04-05 03:18:36 +00:00
<a href="{{.CurrentUser.Link}}"class="the_name"rel="author">{{.CurrentUser.Name}}</a>
<div class="tag_block">
<div class="tag_pre"></div>
{{if .CurrentUser.Tag}}<div class="post_tag">{{.CurrentUser.Tag}}{{else}}<div class="post_tag post_level">{{level .CurrentUser.Level}}{{end}}</div>
<div class="tag_post"></div>
</div>
</div>
</div>
2020-04-05 03:18:36 +00:00
<div class="rowblock topic_reply_form quick_create_form"aria-label="{{lang "topic.reply_aria"}}">
<form id="quick_post_form"enctype="multipart/form-data"action="/reply/create/?s={{.CurrentUser.Session}}"method="post"></form>
<input form="quick_post_form"name="tid"value='{{.Topic.ID}}'type="hidden">
<input form="quick_post_form"id="has_poll_input"name="has_poll"type="hidden"value=0>
<div class="formrow real_first_child">
<div class="formitem">
<textarea id="input_content"form="quick_post_form"name="content"placeholder="{{lang "topic.reply_content_alt"}}"required></textarea>
</div>
</div>
<div class="formrow poll_content_row auto_hide">
<div class="formitem">
2020-04-05 03:18:36 +00:00
<div class="pollinput"data-pollinput=0>
<input type="checkbox"disabled>
<label class="pollinputlabel"></label>
2020-04-05 03:18:36 +00:00
<input form="quick_post_form"name="pollinputitem[0]"class="pollinputinput"type="text"placeholder="{{lang "topic.reply_add_poll_option_first"}}">
</div>
</div>
</div>
<div class="formrow quick_button_row">
<div class="formitem">
2020-04-05 03:18:36 +00:00
<button form="quick_post_form"name="reply-button"class="formbutton">{{lang "topic.reply_button"}}</button>
<button form="quick_post_form"class="formbutton"id="add_poll_button">{{lang "topic.reply_add_poll_button"}}</button>
{{if .CurrentUser.Perms.UploadFiles}}
<input name="upload_files"form="quick_post_form"id="upload_files"multiple type="file"class="auto_hide">
2020-04-05 03:18:36 +00:00
<label for="upload_files"class="formbutton add_file_button">{{lang "topic.reply_add_file_button"}}</label>
<div id="upload_file_dock"></div>{{end}}
</div>
</div>
</div>
</div>