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:
Jo-Philipp Wich 2020-03-23 21:39:48 +01:00
parent 993b4f7950
commit 7c3b3018b3

View file

@ -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',