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

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 41b2fe9f6b)
This commit is contained in:
Jo-Philipp Wich 2020-03-23 21:48:13 +01:00
parent c52361b226
commit 89ca03f3b1

View file

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