github.com/Azareal/Gosora@v0.0.0-20210729070923-553e66b59003/templates/topic_alt_quick_reply.html (about)

     1  <div class="rowblock topic_reply_container">
     2  	<div class="userinfo"aria-label="{{lang "topic.your_information"}}">
     3  		<img class="aitem"src="{{.CurrentUser.Avatar}}"alt="Avatar">
     4  		<div class="user_meta">
     5  			<a href="{{.CurrentUser.Link}}"class="the_name"rel="author">{{.CurrentUser.Name}}</a>
     6  			<div class="tag_block">
     7  				<div class="tag_pre"></div>
     8  				{{if .CurrentUser.Tag}}<div class="post_tag">{{.CurrentUser.Tag}}{{else}}<div class="post_tag post_level">{{level .CurrentUser.Level}}{{end}}</div>
     9  				<div class="tag_post"></div>
    10  			</div>
    11  		</div>
    12  	</div>
    13  	<div class="rowblock topic_reply_form quick_create_form"aria-label="{{lang "topic.reply_aria"}}">
    14  		<form id="quick_post_form"enctype="multipart/form-data"action="/reply/create/?s={{.CurrentUser.Session}}"method="post"></form>
    15  		<input form="quick_post_form"name="tid"value='{{.Topic.ID}}'type="hidden">
    16  		<input form="quick_post_form"id="has_poll_input"name="has_poll"type="hidden"value=0>
    17  		<div class="formrow real_first_child">
    18  			<div class="formitem">
    19  				<textarea id="input_content"form="quick_post_form"name="content"placeholder="{{lang "topic.reply_content_alt"}}"required></textarea>
    20  			</div>
    21  		</div>
    22  		<div class="formrow poll_content_row auto_hide">
    23  			<div class="formitem">
    24  				<div class="pollinput"data-pollinput=0>
    25  					<input type="checkbox"disabled>
    26  					<label class="pollinputlabel"></label>
    27  					<input form="quick_post_form"name="pollinputitem[0]"class="pollinputinput"type="text"placeholder="{{lang "topic.reply_add_poll_option_first"}}">
    28  				</div>
    29  			</div>
    30  		</div>
    31  		<div class="formrow quick_button_row">
    32  			<div class="formitem">
    33  				<button form="quick_post_form"name="reply-button"class="formbutton">{{lang "topic.reply_button"}}</button>
    34  				<button form="quick_post_form"class="formbutton"id="add_poll_button">{{lang "topic.reply_add_poll_button"}}</button>
    35  				{{if .CurrentUser.Perms.UploadFiles}}
    36  				<input name="upload_files"form="quick_post_form"id="upload_files"multiple type="file"class="auto_hide">
    37  				<label for="upload_files"class="formbutton add_file_button">{{lang "topic.reply_add_file_button"}}</label>
    38  				<div id="upload_file_dock"></div>{{end}}
    39  			</div>
    40  		</div>
    41  	</div>
    42  </div>