implemented Buttons to switch all Operation Modes

#7
This commit is contained in:
schrom01 2022-08-27 19:16:23 +02:00
parent d5a9e4781c
commit 0264375d3f
2 changed files with 3 additions and 0 deletions

View File

@ -71,6 +71,8 @@
<h3>{{ translater.getTranslation("irrigation zones") }}</h3>
<button onclick="switchZoneMode(false, 'all')">{{ translater.getTranslation("switch all to")}} {{ translater.getTranslation("manual mode") }}</button>
<button onclick="switchZoneMode(true, 'all')">{{ translater.getTranslation("switch all to")}} {{ translater.getTranslation("automatic mode") }}</button>
<div id="zones">
{% for zone in zoneManager.zones %}
<div id="zone_{{ zone.number }}" class="zone">

View File

@ -33,6 +33,7 @@ class Translater:
"cancel": "abbrechen",
"delete": "löschen",
"delete all jobs" : "alle Aufträge löschen",
"switch all to" : "stelle alle um auf",
}