From a9a241ad19449c29b68cd4a5b539bcbec816e341 Mon Sep 17 00:00:00 2001 From: Evgeny Sorokin Date: Wed, 17 Jan 2024 03:35:59 +0300 Subject: lws: pump page rewritten to python --- web/kbn_templates/pump.j2 | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 web/kbn_templates/pump.j2 (limited to 'web/kbn_templates/pump.j2') diff --git a/web/kbn_templates/pump.j2 b/web/kbn_templates/pump.j2 new file mode 100644 index 0000000..28d5c9d --- /dev/null +++ b/web/kbn_templates/pump.j2 @@ -0,0 +1,17 @@ +{% extends "base.j2" %} + +{% block content %} +{{ breadcrumbs([{'text': 'Насос'}]) }} + +
+ + Сейчас насос + {% if status == 'on' %} + включен.

+ + {% else %} + выключен.

+ + {% endif %} +
+{% endblock %} -- cgit v1.2.3