pull/42/head
Aidaho12 2018-08-14 15:54:39 +06:00
parent af62ff0fc2
commit a225ca8d18
1 changed files with 14 additions and 10 deletions

View File

@ -16,23 +16,23 @@
{% continue %} {% continue %}
{% endif %} {% endif %}
{% if line.startswith('defaults') %} {% if line.startswith('defaults') %}
<span class="param"> {{ line }} </span><div> </div><span class="param"> {{ line }} </span><div>
{% continue %} {% continue %}
{% endif %} {% endif %}
{% if line.startswith('listen') %} {% if line.startswith('listen') %}
<span class="param"> {{ line }} </span><div> </div><span class="param"> {{ line }} </span><div>
{% continue %} {% continue %}
{% endif %} {% endif %}
{% if line.startswith('frontend') %} {% if line.startswith('frontend') %}
<span class="param"> {{ line }} </span><div> </div><span class="param"> {{ line }} </span><div>
{% continue %} {% continue %}
{% endif %} {% endif %}
{% if line.startswith('backend') %} {% if line.startswith('backend') %}
<span class="param"> {{ line }} </span><div> </div><span class="param"> {{ line }} </span><div>
{% continue %} {% continue %}
{% endif %} {% endif %}
{% if line.startswith('cache') %} {% if line.startswith('cache') %}
<span class="param"> {{ line }} </span><div> </div><span class="param"> {{ line }} </span><div>
{% continue %} {% continue %}
{% endif %} {% endif %}
{% if "acl" in line or "option" in line or "server" in line %} {% if "acl" in line or "option" in line or "server" in line %}
@ -46,11 +46,15 @@
{% continue %} {% continue %}
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if line.startswith("#") %}
{% if line|length == 1 %} <span class="comment">
</div> <span class="numRow">
{{ i }}
</span>
{{ line }}
</span><br />
{% continue %}
{% endif %} {% endif %}
{% if line|length > 1 %} {% if line|length > 1 %}
<span class="configLine"> <span class="configLine">
<span class="numRow">{{ i }}</span> <span class="numRow">{{ i }}</span>
@ -58,7 +62,7 @@
</span><br /> </span><br />
{% endif %} {% endif %}
{% endfor %} {% endfor %}
</div>
</div> </div>
</div> </div>
{% if configver %} {% if configver %}