Pavel Loginov 2020-09-27 00:28:53 +06:00
parent b5b9bff29b
commit b304130eeb
3 changed files with 9 additions and 9 deletions

View File

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

View File

@ -54,10 +54,10 @@
</div> </div>
{% else %} {% else %}
<center> <center>
<h4 style="font-size: 25px">Welcome and let's get started!</h4> <br />
You do not have installed Backends checker. <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> 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> </center>
{% endif %} {% endif %}
{% endif %} {% endif %}

View File

@ -19,10 +19,10 @@ th, tr, td {
{% if services == '* is not installed' %} {% if services == '* is not installed' %}
<center> <center>
<h4 style="font-size: 25px">Welcome and let's get started!</h4> <br />
You do not have installed Metrics service. <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> 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> </center>
{% else %} {% else %}
{% if servers|length == 0 %} {% if servers|length == 0 %}