mirror of https://github.com/Aidaho12/haproxy-wi
17 lines
693 B
HTML
17 lines
693 B
HTML
{% import 'languages/'+lang|default('en')+'.html' as lang %}
|
|
{% from 'include/input_macros.html' import input, checkbox, select %}
|
|
{% for s in smon %}
|
|
{% for s_service in smon_service %}
|
|
<tr class="newserver" id="smon-{{s.id}}">
|
|
{% if check_type == 'tcp' %}
|
|
{% include 'include/smon/smon_tcp_server.html' %}
|
|
{% elif check_type == 'ping' %}
|
|
{% include 'include/smon/smon_ping_server.html' %}
|
|
{% elif check_type == 'http' %}
|
|
{% include 'include/smon/smon_http_server.html' %}
|
|
{% elif check_type == 'dns' %}
|
|
{% include 'include/smon/smon_dns_server.html' %}
|
|
{% endif %}
|
|
{% endfor %}
|
|
{% endfor %}
|