[+] BO : Add active class to list view button
This commit is contained in:
@@ -2,11 +2,11 @@
|
|||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col-lg-12">
|
<div class="col-lg-12">
|
||||||
<div class="btn-group pull-right">
|
<div class="btn-group pull-right">
|
||||||
<a class="btn btn-default" href="index.php?controller={$smarty.get.controller|htmlentities}&token={$smarty.get.token|htmlentities}">
|
<a class="btn btn-default btn-small{if !isset($smarty.get.select)} active{/if}" href="index.php?controller={$smarty.get.controller|htmlentities}&token={$smarty.get.token|htmlentities}">
|
||||||
<i class="icon-list"></i>
|
<i class="icon-list"></i>
|
||||||
{l s='Normal view'}
|
{l s='Normal view'}
|
||||||
</a>
|
</a>
|
||||||
<a class="btn btn-default" href="index.php?controller={$smarty.get.controller|htmlentities}&token={$smarty.get.token|htmlentities}&select=favorites">
|
<a class="btn btn-default btn-small{if $smarty.get.select == 'favorites'} active{/if}" href="index.php?controller={$smarty.get.controller|htmlentities}&token={$smarty.get.token|htmlentities}&select=favorites">
|
||||||
<i class="icon-star"></i>
|
<i class="icon-star"></i>
|
||||||
{l s='Favorites view'}
|
{l s='Favorites view'}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
@@ -32,11 +32,11 @@
|
|||||||
</th>
|
</th>
|
||||||
<th colspan="3">
|
<th colspan="3">
|
||||||
<div class="btn-group pull-right">
|
<div class="btn-group pull-right">
|
||||||
<a class="btn btn-default btn-small" href="index.php?controller={$smarty.get.controller|htmlentities}&token={$smarty.get.token|htmlentities}">
|
<a class="btn btn-default btn-small{if !isset($smarty.get.select)} active{/if}" href="index.php?controller={$smarty.get.controller|htmlentities}&token={$smarty.get.token|htmlentities}">
|
||||||
<i class="icon-list"></i>
|
<i class="icon-list"></i>
|
||||||
{l s='Normal view'}
|
{l s='Normal view'}
|
||||||
</a>
|
</a>
|
||||||
<a class="btn btn-default btn-small" href="index.php?controller={$smarty.get.controller|htmlentities}&token={$smarty.get.token|htmlentities}&select=favorites">
|
<a class="btn btn-default btn-small{if $smarty.get.select == 'favorites'} active{/if}" href="index.php?controller={$smarty.get.controller|htmlentities}&token={$smarty.get.token|htmlentities}&select=favorites">
|
||||||
<i class="icon-star"></i>
|
<i class="icon-star"></i>
|
||||||
{l s='Favorites view'}
|
{l s='Favorites view'}
|
||||||
</a>
|
</a>
|
||||||
|
|||||||
Reference in New Issue
Block a user