luci-mod-status: fix raw ipt counter buton style
authorJo-Philipp Wich <jo@mein.io>
Wed, 17 Mar 2021 08:12:09 +0000 (09:12 +0100)
committerJo-Philipp Wich <jo@mein.io>
Tue, 15 Feb 2022 23:47:54 +0000 (00:47 +0100)
Fixes: #4928
Fixes: b39b7fc0d2 ("luci-mod-status: allow displaying raw iptables counter values")
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 1dc16d9d3ffeee30d072c569e9a3c693d303e9fc)

modules/luci-mod-status/htdocs/luci-static/resources/view/status/iptables.js

index 0c9cf4ee9b7a9dcba6ce4fc03eadf8c9e4486f3b..951c31218d858e1f81ac8137778788cd2655613d 100644 (file)
@@ -332,6 +332,7 @@ return view.extend({
                                }, [ _('Hide empty chains') ]),
                                ' ',
                                E('button', {
+                                       'class': 'cbi-button',
                                        'data-raw-counters': false,
                                        'click': ui.createHandlerFn(this, 'handleRawCounters')
                                }, [ _('Show raw counters') ]),