diff --git a/app/templates/ajax/config_show.html b/app/templates/ajax/config_show.html index 4b49f9ce..0e82ca1d 100644 --- a/app/templates/ajax/config_show.html +++ b/app/templates/ajax/config_show.html @@ -16,23 +16,23 @@ {% continue %} {% endif %} {% if line.startswith('defaults') %} - {{ line }}
+
{{ line }}
{% continue %} {% endif %} {% if line.startswith('listen') %} - {{ line }}
+
{{ line }}
{% continue %} {% endif %} {% if line.startswith('frontend') %} - {{ line }}
+
{{ line }}
{% continue %} {% endif %} {% if line.startswith('backend') %} - {{ line }}
+
{{ line }}
{% continue %} {% endif %} {% if line.startswith('cache') %} - {{ line }}
+
{{ line }}
{% continue %} {% endif %} {% if "acl" in line or "option" in line or "server" in line %} @@ -46,11 +46,15 @@ {% continue %} {% endif %} {% endif %} - - {% if line|length == 1 %} -
+ {% if line.startswith("#") %} + + + {{ i }} + + {{ line }} +
+ {% continue %} {% endif %} - {% if line|length > 1 %} {{ i }} @@ -58,7 +62,7 @@
{% endif %} {% endfor %} -
+
{% if configver %}