File tree Expand file tree Collapse file tree 3 files changed +12
-4
lines changed
Expand file tree Collapse file tree 3 files changed +12
-4
lines changed Original file line number Diff line number Diff line change 22 form: .input-group ( data-hook ='refine-input-group' )
33 input.form-control.input-sm ( type ='text' , data-hook ='refine-input' )
44 span.input-group-btn
5- button.btn.btn-default.btn-sm ( type ='button' , data-hook ='refine-button' ) Refine
6- span.input-group-btn
5+ button.btn.btn-info.btn-sm ( type ='button' , data-hook ='refine-button' ) Apply
76 button.btn.btn-default.btn-sm ( type ='button' , data-hook ='reset-button' ) Reset
Original file line number Diff line number Diff line change @@ -25,10 +25,15 @@ module.exports = AmpersandView.extend({
2525 type : 'value' ,
2626 hook : 'refine-input'
2727 } ,
28- notEmpty : {
28+ notEmpty : [ {
2929 type : 'toggle' ,
3030 hook : 'reset-button'
31- } ,
31+ } , {
32+ type : 'booleanClass' ,
33+ hook : 'refine-button' ,
34+ yes : 'btn-info' ,
35+ no : 'btn-default'
36+ } ] ,
3237 valid : [
3338 // red input border while query is invalid
3439 {
Original file line number Diff line number Diff line change 1010 height : 28px ;
1111 & + .input-group-btn {
1212 padding-left : 10px ;
13+
14+ & :last-child > .btn {
15+ margin-left : 2px ;
16+ }
1317 }
1418 }
1519}
You can’t perform that action at this time.
0 commit comments