Change place of arrows on poll results
This commit is contained in:
parent
4e2a48685a
commit
02fdf05786
11
tpl/part/scroll_left_right.tpl
Normal file
11
tpl/part/scroll_left_right.tpl
Normal 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>
|
@ -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}"/>
|
||||||
|
@ -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}"/>
|
||||||
|
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user