summaryrefslogtreecommitdiff
path: root/localwebsite/templates-web/pump.twig
diff options
context:
space:
mode:
Diffstat (limited to 'localwebsite/templates-web/pump.twig')
-rw-r--r--localwebsite/templates-web/pump.twig17
1 files changed, 0 insertions, 17 deletions
diff --git a/localwebsite/templates-web/pump.twig b/localwebsite/templates-web/pump.twig
deleted file mode 100644
index 3bce0e2..0000000
--- a/localwebsite/templates-web/pump.twig
+++ /dev/null
@@ -1,17 +0,0 @@
-{% include 'bc.twig' with {
- history: [
- {text: "Насос" }
- ]
-} %}
-
-<form action="/pump/" method="get">
- <input type="hidden" name="set" value="{{ status == 'on' ? 'off' : 'on' }}" />
- Сейчас насос
- {% if status == 'on' %}
- <span class="text-success"><b>включен</b></span>.<br><br>
- <button type="submit" class="btn btn-primary">Выключить</button>
- {% else %}
- <span class="text-danger"><b>выключен</b></span>.<br><br>
- <button type="submit" class="btn btn-primary">Включить</button>
- {% endif %}
-</form> \ No newline at end of file