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
{% 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 %}
2022-08-15 08:50:29 +00:00
{% if s.restart != '' and s.setting == 'restart' %}
< tr >
< td class = "padding20 help_cursor" style = "width: 70%" title = "If enabled, the restart button disabled" > Disable restart< / td >
< td >
{% if s.value == '1' and s.setting == 'restart' %}
{{ checkbox('haproxy_restart', checked='checked', title='Restart option is disabled for this server') }}
{% elif s.setting == 'restart' %}
{{ checkbox('haproxy_restart', title='Only the reload button will be active') }}
{% 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 >
2022-08-15 08:50:29 +00:00
< tr >
< td class = "padding20 help_cursor" style = "width: 70%"
title="If enabled, the restart button disabled">Disable restart< / td >
< td >
{{ checkbox('haproxy_restart', title='Only the reload button will be active') }}
< / td >
< / tr >
2021-10-03 18:46:19 +00:00
{% 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%"
2022-04-20 08:08:36 +00:00
title="If you use NGINX inside Docker, check this. Roxy-WI is starting managing it as Docker container">NGINX dockerized< / td >
2021-10-03 18:46:19 +00:00
< 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 %}
2022-08-15 08:50:29 +00:00
{% if s.restart != '' and s.setting == 'restart' %}
< tr >
< td class = "padding20 help_cursor" style = "width: 70%" title = "If enabled, the restart button disabled" > Disable restart< / td >
< td >
{% if s.value == '1' and s.setting == 'restart' %}
{{ checkbox('nginx_restart', checked='checked', title='Restart option is disabled for this server') }}
{% elif s.setting == 'restart' %}
{{ checkbox('nginx_restart', title='Only the reload button will be active') }}
{% endif %}
< / td >
< / tr >
{% endif %}
2021-10-03 18:46:19 +00:00
{% endfor %}
{% else %}
< tr >
< td class = "padding20 help_cursor" style = "width: 70%"
2022-04-20 08:08:36 +00:00
title="If you use NGINX inside Docker, check this. Roxy-WI is starting managing it as Docker container">NGINX dockerized< / td >
2021-10-03 18:46:19 +00:00
< td >
{{ checkbox('nginx_dockerized', title='This server will be used as Docker container') }}
< / td >
< / tr >
2022-08-15 08:50:29 +00:00
< tr >
< td class = "padding20 help_cursor" style = "width: 70%" title = "If enabled, the restart button disabled" > Disable restart< / td >
< td >
{{ checkbox('nginx_restart', title='Only the reload button will be active') }}
< / td >
< / tr >
2021-09-15 05:40:51 +00:00
{% endif %}
{% endif %}
2022-04-15 09:49:00 +00:00
{% if service == 'apache' %}
{% 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 Apache inside Docker, check this. Roxy-WI is starting managing it as Docker container">Apache dockerized< / td >
< td >
{% if s.value == '1' and s.setting == 'dockerized' %}
{{ checkbox('apache_dockerized', checked='checked', title='This service is running inside a Docker container') }}
{% else %}
{{ checkbox('apache_dockerized', title='This server will be used as Docker container') }}
{% endif %}
< / td >
< / tr >
{% endif %}
2022-08-15 08:50:29 +00:00
{% if s.restart != '' and s.setting == 'restart' %}
< tr >
< td class = "padding20 help_cursor" style = "width: 70%" title = "If enabled, the restart button disabled" > Disable restart< / td >
< td >
{% if s.value == '1' and s.setting == 'restart' %}
{{ checkbox('apache_restart', checked='checked', title='Restart option is disabled for this server') }}
{% elif s.setting == 'restart' %}
{{ checkbox('apache_restart', title='Only the reload button will be active') }}
{% endif %}
< / td >
< / tr >
{% endif %}
2022-04-15 09:49:00 +00:00
{% endfor %}
{% else %}
< tr >
< td class = "padding20 help_cursor" style = "width: 70%"
title="If you use Apache inside Docker, check this. Roxy-WI is starting managing it as Docker container">Apache dockerized< / td >
< td >
{{ checkbox('apache_dockerized', title='This server will be used as Docker container') }}
< / td >
< / tr >
2022-08-15 08:50:29 +00:00
< tr >
< td class = "padding20 help_cursor" style = "width: 70%" title = "If enabled, the restart button disabled" > Disable restart< / td >
< td >
{{ checkbox('apache_restart', title='Only the reload button will be active') }}
< / td >
< / tr >
2022-04-15 09:49:00 +00:00
{% endif %}
{% endif %}
2022-08-15 08:50:29 +00:00
< / table >