From 15ed7dcd55d3f458ff5ebab96723a45eae228d3f Mon Sep 17 00:00:00 2001 From: Florian Eckert Date: Fri, 7 Jun 2024 08:56:25 +0200 Subject: [PATCH] luci-mod-network: add missing css class btn Signed-off-by: Florian Eckert --- .../htdocs/luci-static/resources/view/network/interfaces.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js index 35bb21b8fa..1bdaf741cd 100644 --- a/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js +++ b/modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js @@ -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...'))); -- 2.30.2