mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-03-01 02:03:22 +00:00
Fix "clear all" button spacing in inventory
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
%label{for: 'query', ng: {class: '{disabled: !hub_id}'} }=t('admin.quick_search')
|
||||
%br
|
||||
%input.fullwidth{type: "text", id: 'query', ng: {model: 'query', disabled: '!hub_id'} }
|
||||
.one.columns
|
||||
.filter_select.three.columns
|
||||
%label{for: 'hub_id', ng: {bind: "hub_id ? '#{t('admin.shop')}' : '#{t('admin.variant_overrides.index.select_a_shop')}'" } }
|
||||
%br
|
||||
@@ -25,7 +24,7 @@
|
||||
-# %label{ :for => 'order_cycle_filter' }Order Cycle
|
||||
-# %br
|
||||
-# %select{ :class => "three columns alpha", :id => 'order_cycle_filter', 'select2-min-search' => 5, 'ng-model' => 'orderCycleFilter', 'ng-options' => 'oc.id as oc.name for oc in orderCycles', 'confirm-change' => "confirmRefresh()", 'ng-change' => 'refreshData()'}
|
||||
.filter_clear.two.columns.omega
|
||||
.filter_clear.three.columns.omega
|
||||
%label{ :for => 'clear_all_filters' }
|
||||
%br
|
||||
%input.red.fullwidth{ :type => 'button', :id => 'clear_all_filters', :value => "#{t('admin.clear_all')}", ng: { click: "resetSelectFilters()", disabled: '!hub_id'} }
|
||||
|
||||
Reference in New Issue
Block a user