{% extends "base.html" %} {% block content %} {% if serv %} {% endif %}
{% for s in servers %} {% if serv %} {% endif %}
{% if s.5 != False %} {% else %} {% endif %} {% if not serv %} {{s.1}} {% else %} {{s.1}} {% endif %} {% if s.6|int() >= 1 %} = 1 %} src="/inc/images/shield.png" title="Auto start enabled" {% else %} src="/inc/images/shield-red.png" title="Auto start enabled, but keep alive service does not work" {% endif %} width=18 style="padding-left: 5px; margin-bottom: -3px;"> {% endif %} {% if role <= 1 %} start stop restart {% endif %}
{{s.3}} {% if s.5.0 is defined %}
{{s.5.0.0}} {{s.5.0.1}} {{s.5.0.2}} {% endif %}
{% if s.7 != None %} {% if "ls: cannot access" in s.7 %} Cannot find HAProxy config {% else %} Last edit: {{s.7}} {% endif %} {% else %} Cannot connect to HAProxy server {% endif %}
IP: {{s.2}}
{% if serv %} {% if s.8 is defined %}
Backends:
{% for b in s.8 %} {{b}} {% endfor %}
{% endif %} {% endif %}
{% endfor %}
{% if serv %}
Refresh
{% for s in servers %}
{% endfor %} {% endif %} {% endblock %}