blob: aab5b1af198cdb5813aaa1c27e2110936a6b60c1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
{% extends "base.j2" %}
{% block content %}
{{ breadcrumbs([{'text': 'pump'|lang}]) }}
<form action="pump.cgi" method="get">
<input type="hidden" name="set" value="{{ 'off' if status == 'on' else 'on' }}" />
{{ "pump_now_is"|lang }}
{% if status == 'on' %}
<span class="text-success"><b>{{ "pump_now_on"|lang }}</b></span>.<br><br>
<button type="submit" class="btn btn-primary">{{ "pump_turn_off"|lang }}</button>
{% else %}
<span class="text-danger"><b>{{ "pump_now_off"|lang }}</b></span>.<br><br>
<button type="submit" class="btn btn-primary">{{ "pump_turn_on"|lang }}</button>
{% endif %}
</form>
{% endblock %}
|