Pavel Loginov 4 years ago
parent b5b9bff29b
commit b304130eeb

@ -176,19 +176,19 @@
{% if role <= 2 %}
{% set id = 'alert-' + s.8.0.0|string() %}
{% if s.8.0.8 == 1 %}
{{ checkbox(id, title='Alerting is enabled', value='1', desc='Alert', checked='checked') }}
{{ checkbox(id, title='Alerting enabled', value='1', desc='Alert', checked='checked') }}
{% else %}
{{ checkbox(id, title='Enable alerting', value='1', desc='Alert') }}
{% endif %}
{% set id = 'metrics-' + s.8.0.0|string() %}
{% if s.8.0.9 == 1 %}
{{ checkbox(id, title='Collecting metrics is enabled', value='1', desc='Metrics', checked='checked') }}
{{ checkbox(id, title='Collecting metrics enabled', value='1', desc='Metrics', checked='checked') }}
{% else %}
{{ checkbox(id, title='Enable collect metrics', value='1', desc='Metrics') }}
{% endif %}
{% set id = 'active-' + s.8.0.0|string() %}
{% if s.8.0.12 == 1 %}
{{ checkbox(id, title='Auto Start is enabled', value='1', desc='Auto Start', checked='checked') }}
{{ checkbox(id, title='Auto Start enabled', value='1', desc='Auto Start', checked='checked') }}
{% else %}
{{ checkbox(id, title='Enable Auto Start', value='1', desc='Auto Start') }}
{% endif %}

@ -54,10 +54,10 @@
</div>
{% else %}
<center>
<h4 style="font-size: 25px">Welcome and let's get started!</h4>
You do not have installed Backends checker.
<br />
<h3>You do not have installed Backends checker
Read <a href="https://haproxy-wi.org/services.py?service=checker#installation" title="Checker installation" style="color: #5d9ceb;" target="_blank">hear</a>
how to install it
how to install Checker service</h3>
</center>
{% endif %}
{% endif %}

@ -19,10 +19,10 @@ th, tr, td {
{% if services == '* is not installed' %}
<center>
<h4 style="font-size: 25px">Welcome and let's get started!</h4>
You do not have installed Metrics service.
<br />
<h3>You do not have installed Metrics service
Read <a href="https://haproxy-wi.org/services.py?service=metrics#installation" title="Metrics installation" style="color: #5d9ceb;" target="_blank">hear</a>
how to install it
how to install Metrics service</h3>
</center>
{% else %}
{% if servers|length == 0 %}

Loading…
Cancel
Save