luci-base: luci.js: tweak CSS classes
- use .btn CSS class for Save & Apply button - use .control-group CSS class for page action buttons Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
parent
993b4f7950
commit
7c3b3018b3
1 changed files with 3 additions and 3 deletions
|
@ -2984,14 +2984,14 @@
|
|||
1: [ _('Apply unchecked') ]
|
||||
}, {
|
||||
classes: {
|
||||
0: 'cbi-button cbi-button-apply important',
|
||||
1: 'cbi-button cbi-button-negative important'
|
||||
0: 'btn cbi-button cbi-button-apply important',
|
||||
1: 'btn cbi-button cbi-button-negative important'
|
||||
},
|
||||
click: L.ui.createHandlerFn(this, 'handleSaveApply')
|
||||
}).render() : E([]);
|
||||
|
||||
if (this.handleSaveApply || this.handleSave || this.handleReset) {
|
||||
footer.appendChild(E('div', { 'class': 'cbi-page-actions' }, [
|
||||
footer.appendChild(E('div', { 'class': 'cbi-page-actions control-group' }, [
|
||||
saveApplyBtn, ' ',
|
||||
this.handleSave ? E('button', {
|
||||
'class': 'cbi-button cbi-button-save',
|
||||
|
|
Loading…
Reference in a new issue