diff --git a/VERSION b/VERSION
index 53adb84..a7ee35a 100644
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-1.8.2
+1.8.3
diff --git a/addon/www/index.html b/addon/www/index.html
index ea48334..4c9ead8 100644
--- a/addon/www/index.html
+++ b/addon/www/index.html
@@ -83,6 +83,36 @@ along with this program. If not, see .
});
}
+ function show_reboot_dialog() {
+ $('#modal-reboot').modal({
+ onDeny: function(){
+ return true;
+ },
+ onApprove: function() {
+ rest('POST', '/system_reboot', null, function(data) {
+ display_message('success', i18next.t('system_is_rebooting'), 120000);
+ });
+ return true;
+ }
+ })
+ .modal('show');
+ }
+
+ function show_shutdown_dialog() {
+ $('#modal-shutdown').modal({
+ onDeny: function(){
+ return true;
+ },
+ onApprove: function() {
+ rest('POST', '/system_shutdown', null, function(data) {
+ display_message('success', i18next.t('system_is_shutting_down'), 120000);
+ });
+ return true;
+ }
+ })
+ .modal('show');
+ }
+
function disable_buttons() {
$('[data-install-firmware-version]').addClass('disabled');
$('[data-delete-firmware-version]').addClass('disabled');
@@ -464,6 +494,12 @@ along with this program. If not, see .
system_type: 'System type: {{system_type}}',
reboot_system: 'Reboot system',
shutdown_system: 'Shutdown system',
+ reboot: 'Reboot',
+ shutdown: 'Shutdown',
+ sure_to_reboot_system: 'Are you sure you want to reboot the system now?',
+ sure_to_shutdown_system: 'Are you sure you want to shutdown the system now?',
+ system_is_rebooting: 'System is going down for reboot now.',
+ system_is_shutting_down: 'System is going down for shutdown now.',
firmwares: 'Firmwares',
current_installed_version: 'Current installed version',
latest_available_version: 'Latest available version',
@@ -519,6 +555,12 @@ along with this program. If not, see .
system_type: 'System-Typ: {{system_type}}',
reboot_system: 'System neu starten',
shutdown_system: 'System herunterfahren',
+ reboot: 'Neu starten',
+ shutdown: 'Herunterfahren',
+ sure_to_reboot_system: 'Soll das System jetzt neu gestartet werden?',
+ sure_to_shutdown_system: 'Soll das System jetzt heruntergefahren werden?',
+ system_is_rebooting: 'Das System wird neu gestartet.',
+ system_is_shutting_down: 'Das System wird heruntergefahren.',
firmwares: 'Firmwares',
current_installed_version: 'Momentan installierte Version',
latest_available_version: 'Aktuellste verfügbare Version',
@@ -636,8 +678,8 @@ along with this program. If not, see .
-
-
+
+