[+] BO : Filter button default css class style
This commit is contained in:
@@ -80,7 +80,7 @@
|
||||
{if $show_filters}
|
||||
<input type="hidden" id="submitFilter{$table}" name="submitFilter{$table}" value="0"/>
|
||||
<span class="pull-right">
|
||||
<button type="submit" name="submitReset{$table}" class="btn btn-default btn-small">
|
||||
<button type="submit" name="submitReset{$table}" class="btn {if !$filters_has_value}btn-default{else}btn-primary{/if} btn-small"{if !$filters_has_value} disabled="disabled"{/if}>
|
||||
<i class="icon-eraser"></i> {l s='Reset'}
|
||||
</button>
|
||||
<button type="submit" id="submitFilterButton{$table}" name="submitFilter" class="btn btn-default btn-small" />
|
||||
|
||||
@@ -600,6 +600,7 @@ class HelperListCore extends Helper
|
||||
$this->header_tpl->assign(array_merge($this->tpl_vars, array(
|
||||
'title' => $this->title,
|
||||
'show_filters' => (count($this->_list) <= 1 && !$has_value) ? false : true,
|
||||
'filters_has_value' => $has_value,
|
||||
'show_toolbar' => $this->show_toolbar,
|
||||
'toolbar_scroll' => $this->toolbar_scroll,
|
||||
'toolbar_btn' => $this->toolbar_btn,
|
||||
|
||||
Reference in New Issue
Block a user