diff options
author | dartcafe <github@dartcafe.de> | 2018-12-01 12:44:13 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2018-12-01 12:44:13 +0300 |
commit | 94af7c7fed671e1f7e27cc22d1ee6c76e1bccfde (patch) | |
tree | e72d5d0699da08d6ebe4c52ee136f3f182169949 /templates | |
parent | 351511203d626f7aec31fd9b0a7fc742e992e200 (diff) |
Change actions in vote page
#420
Diffstat (limited to 'templates')
-rw-r--r-- | templates/vote.tmpl.php (renamed from templates/goto.tmpl.php) | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/templates/goto.tmpl.php b/templates/vote.tmpl.php index 50fcff66..c4edb898 100644 --- a/templates/goto.tmpl.php +++ b/templates/vote.tmpl.php @@ -270,7 +270,7 @@ print_unescaped(' <div class="toggle"></div>'); print_unescaped(' </div>'); print_unescaped('</div>'); - print_unescaped('<ul class="flex-row">'); + print_unescaped('<div class="flex-row">'); $i_tot = 0; foreach ($options as $optionElement) { @@ -293,11 +293,13 @@ $updatedPoll = true; } - print_unescaped('<li id="voteid_' . $optionElement->getId() . '" class="flex-column active poll-cell ' . $class . '" data-value="' . $optionElement->getPollOptionText() . '" data-unvoted="' . $dataUnvoted . '"></li>'); + print_unescaped('<div class="poll-cell">'); + print_unescaped(' <div id="voteid_' . $optionElement->getId() . '" class="flex-column poll-cell active ' . $class . '" data-value="' . $optionElement->getPollOptionText() . '" data-unvoted="' . $dataUnvoted . '"></div>'); + print_unescaped('</div>'); $i_tot++; } - print_unescaped('</ul>'); + print_unescaped('</div>'); print_unescaped('</li>'); } ?> |