diff options
author | dartcafe <github@dartcafe.de> | 2017-11-04 10:49:42 +0300 |
---|---|---|
committer | dartcafe <github@dartcafe.de> | 2017-11-04 10:49:42 +0300 |
commit | 5fd9b3a2c3b9b37e2ee45b7de1a1a3aae5c4b6c8 (patch) | |
tree | 7b413f699dcf27da8556546e8520a689bfe86783 /templates | |
parent | b6d877b78befd7a1e2ac65ae0b3a193bc602c77d (diff) |
Some css fixes
Diffstat (limited to 'templates')
-rw-r--r-- | templates/goto.tmpl.php | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/templates/goto.tmpl.php b/templates/goto.tmpl.php index a48cb847..d73bb694 100644 --- a/templates/goto.tmpl.php +++ b/templates/goto.tmpl.php @@ -321,36 +321,33 @@ } ?> </ul> - <?php - $diffArray = $total['yes']; - for($i = 0 ; $i < count($diffArray) ; $i++) { - $diffArray[$i] = ($total['yes'][$i] - $total['no'][$i]); - } - $maxVotes = max($diffArray); - ?> </div> - <form class="finish_vote" name="finish_vote" action="<?php p($urlGenerator->linkToRoute('polls.page.insert_vote')); ?>" method="POST"> - <input type="hidden" name="pollId" value="<?php p($poll->getId()); ?>" /> - <input type="hidden" name="userId" value="<?php p($userId); ?>" /> - <input type="hidden" name="dates" value="<?php p($poll->getId()); ?>" /> - <input type="hidden" name="types" value="<?php p($poll->getId()); ?>" /> - <input type="hidden" name="receiveNotifications" /> - <input type="hidden" name="changed" /> - <input type="button" id="submit_finish_vote" class="button btn" value="<?php p($l->t('Vote!')); ?>" /> - </form> - <?php if (User::isLoggedIn()) : ?> - <span class="notification"> - <input type="checkbox" id="check_notif" class="checkbox" <?php if ($notification != null) print_unescaped(' checked'); ?> /> - <label for="check_notif"><?php p($l->t('Receive notification email on activity')); ?></label> - </span> - <?php endif; ?> + <div class="submit row"> + <div> + <form class="finish_vote" name="finish_vote" action="<?php p($urlGenerator->linkToRoute('polls.page.insert_vote')); ?>" method="POST"> + <input type="hidden" name="pollId" value="<?php p($poll->getId()); ?>" /> + <input type="hidden" name="userId" value="<?php p($userId); ?>" /> + <input type="hidden" name="dates" value="<?php p($poll->getId()); ?>" /> + <input type="hidden" name="types" value="<?php p($poll->getId()); ?>" /> + <input type="hidden" name="receiveNotifications" /> + <input type="hidden" name="changed" /> + <input type="button" id="submit_finish_vote" class="button btn" value="<?php p($l->t('Vote!')); ?>" /> + </form> + </div> + <?php if (User::isLoggedIn()) : ?> + <div class="notification"> + <input type="checkbox" id="check_notif" class="checkbox" <?php if ($notification != null) print_unescaped(' checked'); ?> /> + <label for="check_notif"><?php p($l->t('Receive notification email on activity')); ?></label> + </div> + <?php endif; ?> + </div> </div> <div id="app-sidebar" class="detailsView scroll-container"> <a id="closeDetails" class="close icon-close" href="#" alt="<?php $l->t('Close');?>"></a> - <div class="table "> + <div class="table"> <div class="row"> <div id="app-navigation-simulation"> <ul class="with-icons"> |