haproxy-wi/app/templates/ajax/overviewServers.html

46 lines
946 B
HTML
Raw Normal View History

2018-08-01 08:06:09 +00:00
{% for service in service_status %}
<div class="server-info">
{% if page != 'hapservers.py' %}
2018-08-01 08:06:09 +00:00
<a name="{{ service.0 }}"></a>
2018-09-23 09:16:16 +00:00
{% if service.5 != "None" %}
<h4 title="IP {{ service.1 }} {{ service.5 }}"> {{ service.0 }} :</h4>
2018-09-23 09:16:16 +00:00
{% else %}
<h4 title="IP {{ service.1 }}"> {{ service.0 }} :</h4>
2018-09-23 09:16:16 +00:00
{% endif %}
{% endif %}
<div class="haproxy-info">
2018-08-01 08:06:09 +00:00
{{ service.2 }}
</div>
<div class="top-info">
<pre>
2018-08-01 08:06:09 +00:00
{{ service.3 }}
</pre>
</div>
{% if page != 'hapservers.py' %}
<span style="padding-left: 0px; margin: 0;">
{% if 'Unknown command' in service.4 %}
Too old version HAProxy
{% else %}
{% for s in service.4 %}
{% if role <= 2 %}
<a href="/app/sections.py?serv={{service.1}}&section={{ s }}" title="Edit {{s}} section" target="_blanck">
{{s}}
</a>
{% else %}
{{ s }}
{% endif %}
<br />
{% endfor %}
{% endif %}
</span>
{% endif %}
</div>
2018-08-01 08:06:09 +00:00
{% endfor %}