summaryrefslogtreecommitdiffhomepage
path: root/modules/luci-mod-network
diff options
context:
space:
mode:
authorFlorian Eckert <fe@dev.tdt.de>2024-06-07 08:56:25 +0200
committerFlorian Eckert <fe@dev.tdt.de>2024-06-07 13:33:00 +0200
commit15ed7dcd55d3f458ff5ebab96723a45eae228d3f (patch)
treed774ed9c4561762316b595f0a5bafc77a45519fb /modules/luci-mod-network
parent5ae09a4ce16bc705a0a6c907434a461c0984910c (diff)
luci-mod-network: add missing css class btn
Signed-off-by: Florian Eckert <fe@dev.tdt.de>
Diffstat (limited to 'modules/luci-mod-network')
-rw-r--r--modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js4
1 files 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...')));