{% include "header.html" %}

{{ translater.getTranslation("Dashboard") }}

{{ translater.getTranslation("planed irrigationjobs") }}

{% for job in zoneManager.pipeLine %} {% endfor %}
ID {{ translater.getTranslation("Zone") }} {{ translater.getTranslation("planed duration") }}
{{ job.id }} {{ job.zone.number|string + ": " + job.zone.name }} {{ ((job.duration/60)|int)|string + " " + translater.getTranslation("minutes")}}

{{ translater.getTranslation("irrigation zones") }}

{% for zone in zoneManager.zones %}

{{ zone.name }}

{% if (zone.setState == 1 or zone.setState == 2) %} {% endif %} {% if zone.planedDuration > 0 %} {% endif %}
{{ translater.getTranslation("state") }}: {{ translater.getTranslation("switched on") if zone.state else translater.getTranslation("switched off") }}
{{translater.getTranslation("until") + zone.endTimeSetState|string}}
{{translater.getTranslation("irragation is planed for") + " " + ((zone.planedDuration/60)|int)|string + " " + translater.getTranslation("minutes") + "." }}
{{ translater.getTranslation("operating mode") }}: {{translater.getTranslation("automatic mode") if zone.autoMode else translater.getTranslation("manual mode")}}
{{ translater.getTranslation("actual humidity") }}: {{ zone.actualHumidity}}
{{ translater.getTranslation("desired humidity") }}: {{ zone.desiredHumidity }}

{{ zone.number }}

{% endfor %}