2020-04-27 12:41:55 +00:00
|
|
|
<article class="rowblock post_container poll"aria-level="{{lang "topic.poll_aria"}}">
|
2020-08-19 05:39:45 +00:00
|
|
|
<div class="rowitem passive editable_parent post_item poll_item {{.Topic.ClassName}}"style="background-image:url({{.Topic.Avatar}}),url(/s/{{.Header.Theme.Name}}/post-avatar-bg.jpg);background-position:0px {{if le .Topic.ContentLines 5}}-1{{end}}0px;background-repeat:no-repeat,repeat-y;">
|
2019-04-10 07:40:47 +00:00
|
|
|
<div class="topic_content user_content">
|
|
|
|
{{range .Poll.QuickOptions}}
|
|
|
|
<div class="poll_option">
|
2020-04-27 12:41:55 +00:00
|
|
|
<input form="poll_{{$.Poll.ID}}_form"id="poll_option_{{.ID}}"name="poll_option_input"type="checkbox"value="{{.ID}}">
|
|
|
|
<label class="poll_option_label"for="poll_option_{{.ID}}">
|
2019-04-10 07:40:47 +00:00
|
|
|
<div class="sel"></div>
|
|
|
|
</label>
|
2020-04-27 12:41:55 +00:00
|
|
|
<span id="poll_option_text_{{.ID}}"class="poll_option_text">{{.Value}}</span>
|
2019-04-10 07:40:47 +00:00
|
|
|
</div>
|
|
|
|
{{end}}
|
|
|
|
<div class="poll_buttons">
|
|
|
|
<button form="poll_{{.Poll.ID}}_form" class="poll_vote_button">{{lang "topic.poll_vote"}}</button>
|
2020-04-27 12:41:55 +00:00
|
|
|
<button class="poll_results_button"data-poll-id="{{.Poll.ID}}">{{lang "topic.poll_results"}}</button>
|
2019-04-10 07:40:47 +00:00
|
|
|
<a href="#"><button class="poll_cancel_button">{{lang "topic.poll_cancel"}}</button></a>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-04-27 12:41:55 +00:00
|
|
|
<div id="poll_results_{{.Poll.ID}}"class="poll_results auto_hide">
|
2019-04-10 07:40:47 +00:00
|
|
|
<div class="topic_content user_content">
|
|
|
|
<div class="auto_hide poll_no_results">{{lang "topic.poll_no_results"}}</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</article>
|