2021-09-15 05:40:51 +00:00
{% from 'include/input_macros.html' import checkbox %}
< table class = "overview" >
{% if service == 'haproxy' %}
{% if settings %}
{% for s in settings %}
2021-10-03 18:46:19 +00:00
{{s.dockerized}}
{% if s.haproxy_enterprise != '' and s.setting == 'haproxy_enterprise' %}
2021-09-15 05:40:51 +00:00
< tr >
2021-10-03 18:46:19 +00:00
< td class = "padding20 help_cursor" style = "width: 70%"
title="If you use enterprise HAProxy, check this. The name of the service will be changed as it is required for the commercial version">HAProxy Enterprise< / td >
2021-09-15 05:40:51 +00:00
< td >
{% if s.value == '1' and s.setting == 'haproxy_enterprise' %}
{{ checkbox('haproxy_enterprise', checked='checked', title='This server uses HAProxy enterprise') }}
2021-10-03 18:46:19 +00:00
{% elif s.setting == 'haproxy_enterprise' %}
2021-09-15 05:40:51 +00:00
{{ checkbox('haproxy_enterprise', title='This server uses HAProxy community') }}
{% endif %}
< / td >
< / tr >
{% endif %}
2021-10-03 18:46:19 +00:00
{% if s.dockerized != '' and s.setting == 'dockerized' %}
< tr >
< td class = "padding20 help_cursor" style = "width: 70%"
title="If you use HAProxy inside Docker, check this. Roxy-WI is starting managing it as Docker container">HAProxy dockerized< / td >
< td >
{% if s.value == '1' and s.setting == 'dockerized' %}
{{ checkbox('haproxy_dockerized', checked='checked', title='This service is running inside a Docker container') }}
{% elif s.setting == 'dockerized' %}
{{ checkbox('haproxy_dockerized', title='This server will be used as Docker container') }}
{% endif %}
< / td >
< / tr >
{% endif %}
2021-09-15 05:40:51 +00:00
{% endfor %}
{% else %}
< tr >
2021-10-03 18:46:19 +00:00
< td class = "padding20 help_cursor" style = "width: 70%"
title="If you use enterprise HAProxy, check this. The name of the service will be changed as it is required for the commercial version">HAProxy Enterprise< / td >
2021-09-15 05:40:51 +00:00
< td >
{{ checkbox('haproxy_enterprise', title='This server uses HAProxy community') }}
< / td >
< / tr >
2021-10-03 18:46:19 +00:00
< tr >
< td class = "padding20 help_cursor" style = "width: 70%"
title="If you use HAProxy inside Docker, check this. Roxy-WI is starting managing it as Docker container">HAProxy dockerized< / td >
< td >
{{ checkbox('haproxy_dockerized', title='This server will be used as Docker container') }}
< / td >
< / tr >
{% endif %}
{% endif %}
{% if service == 'nginx' %}
{% if settings %}
{% for s in settings %}
{% if s.dockerized != '' and s.setting == 'dockerized' %}
< tr >
< td class = "padding20 help_cursor" style = "width: 70%"
title="If you use Nginx inside Docker, check this. Roxy-WI is starting managing it as Docker container">Nginx dockerized< / td >
< td >
{% if s.value == '1' and s.setting == 'dockerized' %}
{{ checkbox('nginx_dockerized', checked='checked', title='This service is running inside a Docker container') }}
{% else %}
{{ checkbox('nginx_dockerized', title='This server will be used as Docker container') }}
{% endif %}
< / td >
< / tr >
{% endif %}
{% endfor %}
{% else %}
< tr >
< td class = "padding20 help_cursor" style = "width: 70%"
title="If you use Nginx inside Docker, check this. Roxy-WI is starting managing it as Docker container">Nginx dockerized< / td >
< td >
{{ checkbox('nginx_dockerized', title='This server will be used as Docker container') }}
< / td >
< / tr >
2021-09-15 05:40:51 +00:00
{% endif %}
{% endif %}
< / table >