luci-mod-network: diagnostics.css: use .btn CSS class for buttons
authorJo-Philipp Wich <jo@mein.io>
Mon, 23 Mar 2020 20:48:13 +0000 (21:48 +0100)
committerJo-Philipp Wich <jo@mein.io>
Thu, 7 May 2020 17:40:49 +0000 (19:40 +0200)
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 41b2fe9f6bfa793329e722b2420d75339cbb0cda)

modules/luci-mod-network/htdocs/luci-static/resources/view/network/diagnostics.js

index cfd04e4f17e38efd90b501a84c6506f275a55687..a94cc6673f7a932d93b0bf33cce8c57b8f386f5b 100644 (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',