luci-mod-network: diagnostics.css: use .btn CSS class for buttons

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
This commit is contained in:
Jo-Philipp Wich 2020-03-23 21:48:13 +01:00
parent 5d8970d76c
commit 41b2fe9f6b

View file

@ -79,8 +79,8 @@ return L.view.extend({
}, { }, {
'click': ui.createHandlerFn(this, 'handlePing'), 'click': ui.createHandlerFn(this, 'handlePing'),
'classes': { 'classes': {
'ping': 'cbi-button cbi-button-action', 'ping': 'btn cbi-button cbi-button-action',
'ping6': 'cbi-button cbi-button-action' 'ping6': 'btn cbi-button cbi-button-action'
} }
}).render() : E('button', { }).render() : E('button', {
'class': 'cbi-button cbi-button-action', 'class': 'cbi-button cbi-button-action',
@ -102,8 +102,8 @@ return L.view.extend({
}, { }, {
'click': ui.createHandlerFn(this, 'handleTraceroute'), 'click': ui.createHandlerFn(this, 'handleTraceroute'),
'classes': { 'classes': {
'traceroute': 'cbi-button cbi-button-action', 'traceroute': 'btn cbi-button cbi-button-action',
'traceroute6': 'cbi-button cbi-button-action' 'traceroute6': 'btn cbi-button cbi-button-action'
} }
}).render() : E('button', { }).render() : E('button', {
'class': 'cbi-button cbi-button-action', 'class': 'cbi-button cbi-button-action',