diff --git a/src/opnsense/mvc/app/views/OPNsense/Core/firmware.volt b/src/opnsense/mvc/app/views/OPNsense/Core/firmware.volt index 2bee79ff8..448efa750 100644 --- a/src/opnsense/mvc/app/views/OPNsense/Core/firmware.volt +++ b/src/opnsense/mvc/app/views/OPNsense/Core/firmware.volt @@ -216,6 +216,7 @@ POSSIBILITY OF SUCH DAMAGE. message: "{{ lang._('The firewall will be rebooted directly after this firmware update.') }}", buttons: [{ label: "{{ lang._('OK') }}", + cssClass: 'btn-primary', action: function(dialogRef){ dialogRef.close(); upgrade(); @@ -471,15 +472,15 @@ POSSIBILITY OF SUCH DAMAGE. $('#checkupdate').click(updateStatus); $('#upgrade').click(upgrade_ui); $('#audit').click(audit); - // show upgrade message if there - if ($('#message').html() != '') { + $('#upgrade_maj').click(function () { BootstrapDialog.show({ type:BootstrapDialog.TYPE_WARNING, - title: "{{ lang._('End-of-Life Notice') }}", + title: "{{ lang._('Upgrade instructions') }}", message: $('#message').html(), buttons: [{ label: "{{ lang._('Upgrade') }}", + cssClass: 'btn-primary', action: function(dialogRef){ dialogRef.close(); $.upgrade_needs_reboot = 1; @@ -494,7 +495,7 @@ POSSIBILITY OF SUCH DAMAGE. } }] }); - } + }); // populate package information packagesInfo(true); @@ -620,7 +621,13 @@ POSSIBILITY OF SUCH DAMAGE.
+ + +