From 53e0bce82f4a606a2991b237e4e6d25b05181578 Mon Sep 17 00:00:00 2001 From: Paul Frank Date: Sat, 20 Jul 2024 19:54:59 +0000 Subject: [PATCH] improve display --- src/translations/de.json | 5 +- src/translations/en.json | 5 +- src/views/settings/EditDeviceConfig.vue | 97 ++++++++++++++++++------- 3 files changed, 79 insertions(+), 28 deletions(-) diff --git a/src/translations/de.json b/src/translations/de.json index 0b0908b..481fece 100644 --- a/src/translations/de.json +++ b/src/translations/de.json @@ -91,7 +91,10 @@ "forecast_value_too_small": "Der Wert ist zu klein.", "forecast_field_required": "Bitte einen Wert eingeben.", "edit_action": "Bearbeiten", - "save": "Speichern" + "save": "Speichern", + "name": "Name", + "nominal_power": "Verbrauch", + "switch_on_delay": "Einschaltverzögerung" }, "close": "Schliessen" } diff --git a/src/translations/en.json b/src/translations/en.json index c33f5fb..1b35aca 100644 --- a/src/translations/en.json +++ b/src/translations/en.json @@ -91,7 +91,10 @@ "forecast_value_too_small": "The value is too small.", "forecast_field_required": "Field is required", "edit_action": "Edit", - "save": "Save" + "save": "Save", + "name": "Name", + "nominal_power": "Consumption", + "switch_on_delay": "Switch on delay" }, "close": "Close" } diff --git a/src/views/settings/EditDeviceConfig.vue b/src/views/settings/EditDeviceConfig.vue index 95ed183..39d0078 100644 --- a/src/views/settings/EditDeviceConfig.vue +++ b/src/views/settings/EditDeviceConfig.vue @@ -1,33 +1,75 @@ -