| Recorded At | Device | Type | Location | Value | Status |
|---|---|---|---|---|---|
| {% if row.recorded_at %} {{ row.recorded_at.strftime('%Y-%m-%d %H:%M:%S') }} {% else %}-{% endif %} | {{ row.device_id or '-' }} | {{ (row.device_type or '-')|upper }} | {{ row.location or '-' }} | {% set t = (row.device_type or '')|lower %} {% if t == 'tds' %} {{ row.value if row.value is not none else '-' }} ppm {% elif t == 'turbidity' %} {{ row.value if row.value is not none else '-' }} NTU {% elif t == 'temperature' %} {{ row.value if row.value is not none else '-' }} °C {% elif t == 'dissolved_oxygen' %} {{ row.value if row.value is not none else '-' }} mg/L {% elif t == 'conductivity' %} {{ row.value if row.value is not none else '-' }} µS/cm {% else %} {{ row.value if row.value is not none else '-' }} {% endif %} | {% if st == 'critical' %} Critical {% elif st == 'warning' %} Warning {% else %} Normal {% endif %} |
| No readings found | |||||