diff --git a/css/style.css b/css/style.css index 718ebea3a0702bb3a82d2b114aaa89e7e78b2ab1..e106ee1577a4caf79e8950e67f2774972910eedf 100644 --- a/css/style.css +++ b/css/style.css @@ -142,6 +142,11 @@ caption { font-weight:bold; } +.results a.btn-default.btn-sm { + padding: 3px 7px; + font-size: 0.7em; +} + /* adminstuds.php */ #title-form h3 .btn-edit, #email-form .btn-edit, diff --git a/tpl/part/vote_table_classic.tpl b/tpl/part/vote_table_classic.tpl index 840f4bd10224424b06a70eac8b10dc9b3a4f0a33..cec9be9b1c03183134b895b3d21b074715ad5572 100644 --- a/tpl/part/vote_table_classic.tpl +++ b/tpl/part/vote_table_classic.tpl @@ -95,12 +95,12 @@ {if $active && !$expired && ($poll->editable == constant('Framadate\Editable::EDITABLE_BY_ALL') or $admin)} <td> - <a href="{if $admin}{poll_url id=$poll->admin_id vote_id=$vote->uniqId admin=true}{else}{poll_url id=$poll->id vote_id=$vote->uniqId}{/if}" class="btn btn-link btn-sm" title="{__('Poll results', 'Edit the line:')|html} {$vote->name|html}"> + <a href="{if $admin}{poll_url id=$poll->admin_id vote_id=$vote->uniqId admin=true}{else}{poll_url id=$poll->id vote_id=$vote->uniqId}{/if}" class="btn btn-default btn-sm" title="{__('Poll results', 'Edit the line:')|html} {$vote->name|html}"> <span class="glyphicon glyphicon-pencil"></span><span class="sr-only">{__('Generic', 'Edit')}</span> </a> {if $admin} <a href="{poll_url id=$admin_poll_id admin=true action='delete_vote' action_value=$vote->id}" - class="btn btn-link btn-sm" + class="btn btn-default btn-sm" title="{__('Poll results', 'Remove the line:')} {$vote->name|html}"> <span class="glyphicon glyphicon-remove text-danger"></span><span class="sr-only">{__('Generic', 'Remove')}</span> </a> diff --git a/tpl/part/vote_table_date.tpl b/tpl/part/vote_table_date.tpl index 047208804256217f3da65ff4fca6b9ecb4429c20..986e3b5d52949f683fbc89a633d608bb637f2e27 100644 --- a/tpl/part/vote_table_date.tpl +++ b/tpl/part/vote_table_date.tpl @@ -144,12 +144,12 @@ {if $active && !$expired && ($poll->editable == constant('Framadate\Editable::EDITABLE_BY_ALL') or $admin)} <td> - <a href="{if $admin}{poll_url id=$poll->admin_id vote_id=$vote->uniqId admin=true}{else}{poll_url id=$poll->id vote_id=$vote->uniqId}{/if}" class="btn btn-link btn-sm" title="{__('Poll results', 'Edit the line:')|escape} {$vote->name|html}"> + <a href="{if $admin}{poll_url id=$poll->admin_id vote_id=$vote->uniqId admin=true}{else}{poll_url id=$poll->id vote_id=$vote->uniqId}{/if}" class="btn btn-default btn-sm" title="{__('Poll results', 'Edit the line:')|escape} {$vote->name|html}"> <span class="glyphicon glyphicon-pencil"></span><span class="sr-only">{__('Generic', 'Edit')}</span> </a> {if $admin} <a href="{poll_url id=$admin_poll_id admin=true action='delete_vote' action_value=$vote->id}" - class="btn btn-link btn-sm" + class="btn btn-default btn-sm" title="{__('Poll results', 'Remove the line:')} {$vote->name|html}"> <span class="glyphicon glyphicon-remove text-danger"></span><span class="sr-only">{__('Generic', 'Remove')}</span> </a>