{% extends 'swimmonitor/base.html.twig' %} {% block title %}Wasservergleich · Details{% endblock %} {% block breadcrumb %}
  • Wasser
  • Wasservergleich
  • Details
  • {% endblock %} {% macro val(v) %}{{ v is null or v is same as('') ? '–' : v|number_format(2, ',', '.') }}{% endmacro %} {% macro delta(dev) %} {%- if dev is null -%} – {%- else -%} {{ dev.difference > 0 ? '+' }}{{ dev.difference|number_format(2, ',', '.') }} {%- endif -%} {% endmacro %} {% block page_head %}

    Vergleich im Detail

    {{ location ?: 'Alle Standorte' }} · letzte {{ days_back }} Tage

    Proben
    {{ statistics.total_lilian_measurements }}
    Mit Anlagenwert
    {{ statistics.measurements_with_influx }}
    Ohne
    {{ statistics.measurements_without_influx }}
    Ø Zeitabstand
    {{ statistics.average_time_diff }} s
    {% endblock %} {% block content %} {% import _self as m %}
    Zu den Diagrammen Δ grün: innerhalb der Toleranz · Δ gelb: außerhalb
    {% if comparison is not empty %}
    {% for item in comparison %} {% endfor %}
    Zeitpunkt Standort Anlagenwert pH manuell pH Anlage Δ pH Cl frei manuell Cl frei Anlage Δ Cl Zeitabstand
    {{ item.timestamp|date('d.m.Y H:i') }} {{ item.location }} {% if item.has_both %}gefunden{% else %}fehlt{% endif %} {{ m.val(item.lilian.ph ?? null) }} {{ m.val(item.influx.ph ?? null) }} {{ m.delta(item.deviations.ph ?? null) }} {{ m.val(item.lilian.chlorine_free ?? null) }} {{ m.val(item.influx.chlorine_free ?? null) }} {{ m.delta(item.deviations.chlorine_free ?? null) }} {{ item.time_diff_seconds ? item.time_diff_seconds ~ ' s' : '–' }}
    {% else %}
    Keine Proben im ZeitraumZeitraum oder Standort in der Übersicht ändern.
    {% endif %}
    {% endblock %}