{% extends "sensor.html" %}
{% block body %}
<h1>Capteurs</h1>
{% if sensors is not None %}
{% for sensor in sensors%}
<div class="ui middle aligned animated list">
    <a class="item" href="/sensor/{{ url_escape(sensor.name) }}">
        <i class="settings icon"></i>
        <div class="content">
            <div class="header">{{sensor.name}}</div>
            <div class="description">
                Voir
            </div>
        </div>
    </a>
</div>
{% end %}
{% else %}
<h2>Pas de configuration à l'heure actuelle.</h2>
{% end %}
{% end %}
