{% extends "base.html" %} {% block content %}

This is HTML for sensor list

Sensor without set location:

{% if sensor_id_list_nonset %} {% for sensor_id in sensor_id_list_nonset %} {% endfor %}
Sensor_id Hostname Sensor type
{{ sensor_id }} {{ hostname_dict|get_item:sensor_id }} {{ sensor_type_dict|get_item:sensor_id }} Add location Sensor info
{% else %}

There are no sensors without set location

{% endif %}

Sensors with set location:

{% if sensor_id_list_set %} {% for sensor_id in sensor_id_list_set %} {% if sensor_id.room %} {% else %} {% endif %} {% endfor %}
Sensor_id Hostname Location Room
{{ sensor_id.sensor_id }} {{ sensor_id.hostname }} {{ sensor_id.location }} {{ sensor_id.room }} Edit Sensor info Remove
{% else %}

There are no sensors with set location

{% endif %}

Boilers:

{% if boiler_list %} {% for sensor_id in boiler_list %} {% endfor %}
Sensor_id Hostname Location
{{ sensor_id.sensor_id }} {{ sensor_id.hostname }} {{ sensor_id.location }} Edit Sensor info Remove
{% else %}

There are no sensors with set location

{% endif %}
Back to room list Back to main menu
{% endblock %}