[+] BO : Filter button default css class style
This commit is contained in:
1 parent
a29fa2dd09
commit
174dfa9a6b
2 files changed
+2
-1
No files matched your search
@@ -80,7 +80,7 @@
|
|||||||
{if $show_filters}
|
{if $show_filters}
|
||||||
<input type="hidden" id="submitFilter{$table}" name="submitFilter{$table}" value="0"/>
|
<input type="hidden" id="submitFilter{$table}" name="submitFilter{$table}" value="0"/>
|
||||||
<span class="pull-right">
|
<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'}
|
<i class="icon-eraser"></i> {l s='Reset'}
|
||||||
</button>
|
</button>
|
||||||
<button type="submit" id="submitFilterButton{$table}" name="submitFilter" class="btn btn-default btn-small" />
|
<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(
|
$this->header_tpl->assign(array_merge($this->tpl_vars, array(
|
||||||
'title' => $this->title,
|
'title' => $this->title,
|
||||||
'show_filters' => (count($this->_list) <= 1 && !$has_value) ? false : true,
|
'show_filters' => (count($this->_list) <= 1 && !$has_value) ? false : true,
|
||||||
|
'filters_has_value' => $has_value,
|
||||||
'show_toolbar' => $this->show_toolbar,
|
'show_toolbar' => $this->show_toolbar,
|
||||||
'toolbar_scroll' => $this->toolbar_scroll,
|
'toolbar_scroll' => $this->toolbar_scroll,
|
||||||
'toolbar_btn' => $this->toolbar_btn,
|
'toolbar_btn' => $this->toolbar_btn,
|
||||||
|
|||||||
Reference in new issue
Block a user