luci-mod-network: add missing css class btn
authorFlorian Eckert <redacted>
Fri, 7 Jun 2024 06:56:25 +0000 (08:56 +0200)
committerFlorian Eckert <redacted>
Fri, 7 Jun 2024 11:33:00 +0000 (13:33 +0200)
Signed-off-by: Florian Eckert <redacted>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js

index 35bb21b8faa399e6b983bc0f32bc778f438df2ee..1bdaf741cd70aaa8a3144bf0566f02604aa449cc 100644 (file)
@@ -177,7 +177,7 @@ function iface_updown(up, id, ev, force) {
                                        E('p', _('You appear to be currently connected to the device via the "%h" interface. Do you really want to shut down the interface?').format(id)),
                                        E('div', { 'class': 'right' }, [
                                                E('button', {
-                                                       'class': 'cbi-button cbi-button-neutral',
+                                                       'class': 'btn cbi-button cbi-button-neutral',
                                                        'click': function(ev) {
                                                                btns[1].classList.remove('spinning');
                                                                btns[1].disabled = false;
@@ -188,7 +188,7 @@ function iface_updown(up, id, ev, force) {
                                                }, _('Cancel')),
                                                ' ',
                                                E('button', {
-                                                       'class': 'cbi-button cbi-button-negative important',
+                                                       'class': 'btn cbi-button cbi-button-negative important',
                                                        'click': function(ev) {
                                                                dsc.setAttribute('disconnect', '');
                                                                dom.content(dsc, E('em', _('Interface is shutting down...')));
git clone https://git.99rst.org/PROJECT