From 8e3601f9209bffb5938df2f0df2a8c7562377994 Mon Sep 17 00:00:00 2001 From: Stan Grishin Date: Mon, 8 Feb 2021 17:37:13 +0000 Subject: luci-app-advanced-reboot: add missing btn class to buttons Signed-off-by: Stan Grishin --- .../htdocs/luci-static/resources/view/system/advanced_reboot.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view') diff --git a/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js b/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js index 794ac8565e..c9cc20bec0 100644 --- a/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js +++ b/applications/luci-app-advanced-reboot/htdocs/luci-static/resources/view/system/advanced_reboot.js @@ -51,7 +51,7 @@ return view.extend({ 'click': ui.hideModal }, _('Cancel')), ' ', E('button', { - 'class': 'cbi-button cbi-button-positive important', + 'class': 'btn cbi-button cbi-button-positive important', 'click': L.bind(this.callPowerOff, this) }, _('Proceed')) ]) @@ -134,7 +134,7 @@ return view.extend({ 'click': ui.hideModal }, _('Cancel')), ' ', E('button', { - 'class': 'cbi-button cbi-button-positive important', + 'class': 'btn cbi-button cbi-button-positive important', 'click': L.bind(this.handleTogglePartition, this) }, _('Proceed')) ]) @@ -161,7 +161,7 @@ return view.extend({ _(partition.state), partition.os.replace("Unknown", _("Unknown")).replace("Compressed", _("Compressed")), E('button', { - 'class': 'cbi-button cbi-button-apply important', + 'class': 'btn cbi-button cbi-button-apply important', 'click': ui.createHandlerFn(this, func) }, text) ]) @@ -220,7 +220,7 @@ return view.extend({ body.appendChild(E('hr')); body.appendChild( poweroff_supported ? E('button', { - 'class': 'cbi-button cbi-button-apply important', + 'class': 'btn cbi-button cbi-button-apply important', 'click': ui.createHandlerFn(this, 'handlePowerOff') }, _('Perform power off...')) -- cgit v1.2.3