summaryrefslogtreecommitdiff
path: root/localwebsite/templates-web/sensors.twig
diff options
context:
space:
mode:
Diffstat (limited to 'localwebsite/templates-web/sensors.twig')
-rw-r--r--localwebsite/templates-web/sensors.twig15
1 files changed, 0 insertions, 15 deletions
diff --git a/localwebsite/templates-web/sensors.twig b/localwebsite/templates-web/sensors.twig
deleted file mode 100644
index 1005dc0..0000000
--- a/localwebsite/templates-web/sensors.twig
+++ /dev/null
@@ -1,15 +0,0 @@
-{% include 'bc.twig' with {
- history: [
- {text: "Датчики" }
- ]
-} %}
-
-{% for key, sensor in sensors %}
- <h6 class="text-primary{% if not loop.first %} mt-4{% endif %}">{{ sensor.name }}</h6>
- {% if sensor.hasTemperature() %}
- <span class="text-secondary">Температура:</span> <b>{{ sensor.temp }}</b> °C<br>
- {% endif %}
- {% if sensor.hasHumidity() %}
- <span class="text-secondary">Влажность:</span> <b>{{ sensor.humidity }}</b>%
- {% endif %}
-{% endfor %}