unassigned-sensors.html 823 Bytes
Newer Older
1 2 3 4 5 6 7
{% extends "bmsapp/base.html" %}

{% block pagetitle %}Unassigned Sensors{% endblock %}

{% block title %}Sensors not Assigned to a Building{% endblock %}

{% block content %}
8 9 10 11 12 13 14
<p>This is a list of sensors that are either:</p>

<ul>
    <li>Not entered into the Admin Sensor list, or</li>
    <li>They are entered in the list of Sensors but they are not assigned to a building.</li>
</ul>

15 16 17 18 19 20 21 22 23 24 25 26 27 28
<table>
    <thead><tr><th>Sensor ID</th><th>Last Reading</th><th>When</th><th>Sensor Name, if available</th></tr></thead>
    <tbody>
    {% for sensor in sensor_list %}
        <tr><td>{{ sensor.id }}</td>
            <td class="number">{{ sensor.cur_value }}</td>
            <td>{{ sensor.minutes_ago }} minutes ago</td>
            <td>{{ sensor.title }}</td>
        </tr>
    {% endfor %}
    </tbody>
</table>

{% endblock %}