Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Poll templates to use blocks instead of additional template f…
…iles.
- Loading branch information
1 parent
3b05049
commit 7eb0b9d
Showing
16 changed files
with
114 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,44 @@ | ||
{# begin {templatelocation} #} | ||
|
||
<span class="floatright">{edit_icon}</span><div class="poll-topic">{poll_topic}{poll_topic_description}</div> | ||
<span class="uk-align-right">{edit_icon}</span><div class="poll-topic">{poll_topic}{poll_topic_description}</div> | ||
{poll_questions} | ||
<div class="pluginTinyText"> | ||
{notification} <a href="{site_url}/polls/index.php">{lang_polltopics}</a> | {num_votes} {lang_voters} {poll_comments} | ||
</div> | ||
|
||
<!-- BEGIN poll_question --> | ||
<div class="poll-questions"> | ||
<p class="poll-question">{lang_question}{lang_question_number}{poll_question_text}</p> | ||
<table class="uk-table uk-table-striped"> | ||
<tbody> | ||
{poll_votes} | ||
</tbody> | ||
</table> | ||
</div> | ||
<!-- END poll_question --> | ||
|
||
<!-- BEGIN poll_votes_bar --> | ||
<tr> | ||
<td class="uk-width-3-10">{answer_text}</td> | ||
<td class="uk-width-6-10"> | ||
<div class="uk-progress uk-margin-small uk-margin-bottom-remove"> | ||
<div class="uk-progress-bar" style="width: {bar_width}%;"></div> | ||
</div> | ||
{!if remark_text} | ||
<div>{remark_text}</div> | ||
{!endif} | ||
</td> | ||
<td class="uk-width-1-10"> | ||
{answer_num} ({answer_percent}%) | ||
</td> | ||
</tr> | ||
<!-- END poll_votes_bar --> | ||
|
||
<!-- BEGIN poll_votes_num --> | ||
<tr> | ||
<td class="poll_answer_text">{answer_text}</td> | ||
<td class="poll_answer_percent">{answer_percent}% </td> | ||
</tr> | ||
<!-- END poll_votes_num --> | ||
|
||
{# end {templatelocation} #} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters