Commit 7a59cc8b authored by Ad Schellevis's avatar Ad Schellevis

proxy, temporary disable transparant mode.

parent 397c56aa
...@@ -248,6 +248,7 @@ maxheight: define max height of select box, default=170px to hold 5 items ...@@ -248,6 +248,7 @@ maxheight: define max height of select box, default=170px to hold 5 items
'label':'Enable Transparent HTTP proxy', 'label':'Enable Transparent HTTP proxy',
'type':'checkbox', 'type':'checkbox',
'help':'Enable transparent proxy mode to forward all requests for destination port 80 to the proxy server without any additional configuration.' 'help':'Enable transparent proxy mode to forward all requests for destination port 80 to the proxy server without any additional configuration.'
,'disable':true
], ],
['id': 'proxy.forward.addACLforInterfaceSubnets', ['id': 'proxy.forward.addACLforInterfaceSubnets',
'label':'Allow interface subnets', 'label':'Allow interface subnets',
...@@ -273,6 +274,7 @@ maxheight: define max height of select box, default=170px to hold 5 items ...@@ -273,6 +274,7 @@ maxheight: define max height of select box, default=170px to hold 5 items
'label':'Enable Transparent mode', 'label':'Enable Transparent mode',
'type':'checkbox', 'type':'checkbox',
'help':'Enable transparent ftp proxy mode to forward all requests for destination port 21 to the proxy server without any additional configuration.' 'help':'Enable transparent ftp proxy mode to forward all requests for destination port 21 to the proxy server without any additional configuration.'
,'disable':true
]} ]}
], ],
[ 'proxy-forward-acl','Access Control List', [ 'proxy-forward-acl','Access Control List',
......
...@@ -102,7 +102,9 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -102,7 +102,9 @@ POSSIBILITY OF SUCH DAMAGE.
</td> </td>
</tr> </tr>
{% for field in subtab[2]|default({})%} {% for field in subtab[2]|default({})%}
{{ partial("layout_partials/form_input_tr",field) }} {% if field['disable']|default(false) == false %}
{{ partial("layout_partials/form_input_tr",field) }}
{% endif %}
{% endfor %} {% endfor %}
<tr> <tr>
<td colspan="3"><button class="btn btn-primary" id="save_{{subtab[0]}}" type="button"><b>Apply </b><i id="frm_{{subtab[0]}}_progress" class=""></i></button></td> <td colspan="3"><button class="btn btn-primary" id="save_{{subtab[0]}}" type="button"><b>Apply </b><i id="frm_{{subtab[0]}}_progress" class=""></i></button></td>
...@@ -149,7 +151,9 @@ POSSIBILITY OF SUCH DAMAGE. ...@@ -149,7 +151,9 @@ POSSIBILITY OF SUCH DAMAGE.
</td> </td>
</tr> </tr>
{% for field in tab[2]|default({})%} {% for field in tab[2]|default({})%}
{{ partial("layout_partials/form_input_tr",field)}} {% if field['disable']|default(false) == false %}
{{ partial("layout_partials/form_input_tr",field)}}
{% endif %}
{% endfor %} {% endfor %}
<tr> <tr>
<td colspan="3"><button class="btn btn-primary" id="save_{{tab[0]}}" type="button"><b>Apply </b><i id="frm_{{tab[0]}}_progress" class=""></i></button></td> <td colspan="3"><button class="btn btn-primary" id="save_{{tab[0]}}" type="button"><b>Apply </b><i id="frm_{{tab[0]}}_progress" class=""></i></button></td>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment