diff options
author | Evgeny Zinoviev <me@ch1p.io> | 2022-05-21 01:45:56 +0300 |
---|---|---|
committer | Evgeny Zinoviev <me@ch1p.io> | 2022-05-21 01:45:56 +0300 |
commit | 6f53e6e997c9f4647a667bd58b11bc622fa3b47f (patch) | |
tree | 226bd65a04576de4f41bf8396af97cd43ca27829 /localwebsite/templates-web/sensors.twig | |
parent | 902a3bfbe2c4645e6725fb7583500d1a28026fad (diff) |
move local website to homekit's tree
Diffstat (limited to 'localwebsite/templates-web/sensors.twig')
-rw-r--r-- | localwebsite/templates-web/sensors.twig | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/localwebsite/templates-web/sensors.twig b/localwebsite/templates-web/sensors.twig new file mode 100644 index 0000000..354e4e7 --- /dev/null +++ b/localwebsite/templates-web/sensors.twig @@ -0,0 +1,12 @@ +<nav aria-label="breadcrumb"> + <ol class="breadcrumb"> + <li class="breadcrumb-item"><a href="/">Главная</a></li> + <li class="breadcrumb-item active" aria-current="page">Датчики</li> + </ol> +</nav> + +{% for key, sensor in sensors %} + <h6 class="text-primary{% if not loop.first %} mt-4{% endif %}">{{ sensor.name }}</h6> + <span class="text-secondary">Температура:</span> <b>{{ sensor.temp }}</b> °C<br> + <span class="text-secondary">Влажность:</span> <b>{{ sensor.humidity }}</b>% +{% endfor %} |