Change place of arrows on poll results

This commit is contained in:
Marjolaine Vé 2018-02-18 12:50:07 +01:00 committed by Thomas Citharel
parent 4e2a48685a
commit 02fdf05786
4 changed files with 18 additions and 12 deletions

View File

@ -0,0 +1,11 @@
{* Scroll left and right *}
<div class="hidden row scroll-buttons" aria-hidden="true">
<div class="btn-group pull-right">
<button class="btn btn-sm btn-link scroll-left" title="{__('Poll results', 'Scroll to the left')}">
<span class="glyphicon glyphicon-chevron-left"></span>
</button>
<button class="btn btn-sm btn-link scroll-right" title="{__('Poll results', 'Scroll to the right')}">
<span class="glyphicon glyphicon-chevron-right"></span>
</button>
</div>
</div>

View File

@ -9,6 +9,10 @@
{/if} {/if}
</h3> </h3>
{include 'part/scroll_left_right.tpl'}
<div id="tableContainer" class="tableContainer"> <div id="tableContainer" class="tableContainer">
<form action="{if $admin}{poll_url id=$admin_poll_id admin=true}{else}{poll_url id=$poll_id}{/if}" method="POST" id="poll_form"> <form action="{if $admin}{poll_url id=$admin_poll_id admin=true}{else}{poll_url id=$poll_id}{/if}" method="POST" id="poll_form">
<input type="hidden" name="control" value="{$slots_hash}"/> <input type="hidden" name="control" value="{$slots_hash}"/>

View File

@ -10,6 +10,9 @@
</h3> </h3>
{include 'part/scroll_left_right.tpl'}
<div id="tableContainer" class="tableContainer"> <div id="tableContainer" class="tableContainer">
<form action="{if $admin}{poll_url id=$admin_poll_id admin=true}{else}{poll_url id=$poll_id}{/if}" method="POST" id="poll_form"> <form action="{if $admin}{poll_url id=$admin_poll_id admin=true}{else}{poll_url id=$poll_id}{/if}" method="POST" id="poll_form">
<input type="hidden" name="control" value="{$slots_hash}"/> <input type="hidden" name="control" value="{$slots_hash}"/>

View File

@ -39,18 +39,6 @@
{/if} {/if}
{/if} {/if}
{* Scroll left and right *}
<div class="hidden row scroll-buttons" aria-hidden="true">
<div class="btn-group pull-right">
<button class="btn btn-sm btn-link scroll-left" title="{__('Poll results', 'Scroll to the left')}">
<span class="glyphicon glyphicon-chevron-left"></span>
</button>
<button class="btn btn-sm btn-link scroll-right" title="{__('Poll results', 'Scroll to the right')}">
<span class="glyphicon glyphicon-chevron-right"></span>
</button>
</div>
</div>
{if !$accessGranted && $resultPubliclyVisible} {if !$accessGranted && $resultPubliclyVisible}
{include 'part/password_request.tpl' active=$poll->active} {include 'part/password_request.tpl' active=$poll->active}
{/if} {/if}