diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-03-23 21:39:48 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-03-23 21:41:16 +0100 |
commit | 7c3b3018b333deb3db00b28245e291b3a03640c0 (patch) | |
tree | 92ddd1a28103d4127bf80a7711c0dba3337a3250 /modules/luci-base/htdocs/luci-static/resources/luci.js | |
parent | 993b4f79506c99357dc77eeaa74b0fd9149b1cf1 (diff) |
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>
Diffstat (limited to 'modules/luci-base/htdocs/luci-static/resources/luci.js')
-rw-r--r-- | modules/luci-base/htdocs/luci-static/resources/luci.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/modules/luci-base/htdocs/luci-static/resources/luci.js b/modules/luci-base/htdocs/luci-static/resources/luci.js index 8d056ec03d..fd4c584886 100644 --- a/modules/luci-base/htdocs/luci-static/resources/luci.js +++ b/modules/luci-base/htdocs/luci-static/resources/luci.js @@ -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', |