From efe1d92c0da15be2841fa5a636c64335b59bc2d6 Mon Sep 17 00:00:00 2001 From: b1rdhous3 Date: Thu, 7 Feb 2019 00:59:52 +0100 Subject: [PATCH 1/2] Added Information Box for saving confirmation A Box was added which is shown for 5 seconds if the server responds with "cmd-condig-setconfig" --- assets/webconfig/i18n/de.json | 2 ++ assets/webconfig/i18n/en.json | 2 ++ assets/webconfig/index.html | 6 ++++++ assets/webconfig/js/content_index.js | 6 ++++++ 4 files changed, 16 insertions(+) diff --git a/assets/webconfig/i18n/de.json b/assets/webconfig/i18n/de.json index 135d67a8..9b6ee9fd 100644 --- a/assets/webconfig/i18n/de.json +++ b/assets/webconfig/i18n/de.json @@ -66,6 +66,8 @@ "dashboard_alert_message_confedit" : "Deine Hyperion Konfiguration wurde verändert. Um die Änderungen anzuwenden, starte Hyperion neu.", "dashboard_alert_message_disabled_t" : "Hyperion deaktiviert", "dashboard_alert_message_disabled" : "Hyperion ist momentan deaktiviert! Um Hyperion zu nutzen, musst du es zuerst wieder im Dashboard aktivieren.", + "dashboard_alert_message_confsave_success_t" : "Konfiguration gespeichert", + "dashboard_alert_message_confsave_success" : "Deine Hyperion Konfiguration wurde erfolgreich gespeichert. Deine Änderungen sind somit übernommen.", "main_menu_dashboard_token" : "Dashboard", "main_menu_configuration_token" : "Konfiguration", "main_menu_general_conf_token" : "Allgemein", diff --git a/assets/webconfig/i18n/en.json b/assets/webconfig/i18n/en.json index 5bd4b134..9067151e 100644 --- a/assets/webconfig/i18n/en.json +++ b/assets/webconfig/i18n/en.json @@ -66,6 +66,8 @@ "dashboard_alert_message_confedit" : "Your Hyperion configuration has been modified. To apply it, restart Hyperion.", "dashboard_alert_message_disabled_t" : "Hyperion disabled", "dashboard_alert_message_disabled" : "Hyperion is currently disabled! To use it again, enable it at the dashboard.", + "dashboard_alert_message_confsave_success_t" : "Configuration saved", + "dashboard_alert_message_confsave_success" : "Your Hyperion configuration has been saved successfully. Your changes are now active.", "main_menu_dashboard_token" : "Dashboard", "main_menu_configuration_token" : "Configuration", "main_menu_general_conf_token" : "General", diff --git a/assets/webconfig/index.html b/assets/webconfig/index.html index 650d5036..55e97eb3 100644 --- a/assets/webconfig/index.html +++ b/assets/webconfig/index.html @@ -202,6 +202,12 @@

+