summaryrefslogtreecommitdiff
path: root/localwebsite/templates-web
diff options
context:
space:
mode:
authorEvgeny Sorokin <me@ch1p.io>2024-01-17 03:35:59 +0300
committerEvgeny Sorokin <me@ch1p.io>2024-01-17 03:35:59 +0300
commita9a241ad19449c29b68cd4a5b539bcbec816e341 (patch)
tree2ebfc73b206e4cec30fd94613bd6bf42ef5b269d /localwebsite/templates-web
parent8a89dd77be03ca8eb9cdc378ba8e912292494fa9 (diff)
lws: pump page rewritten to python
Diffstat (limited to 'localwebsite/templates-web')
-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