mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-16 14:33:14 +00:00
PHRAS-771 #time 2h
report de PHRAS-750 (connect to ftp via a auth proxy)
This commit is contained in:
@@ -7,12 +7,26 @@
|
||||
<input class="formElem" type="text" name="proxy" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{{ 'task::ftp:proxy port' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="formElem" type="text" name="proxyport" />
|
||||
<div class="control-group">
|
||||
<label class="control-label">{{ 'task::ftp:proxy port' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="formElem" type="text" name="proxyport" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{{ 'task::ftp:proxy user' | trans }}</label>
|
||||
<div class="controls">
|
||||
<input class="formElem" type="text" name="proxyuser" autocomplete="off" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label">{{ 'task::ftp:proxy password' | trans }}</label>
|
||||
<div class="controls">
|
||||
<!-- input type=password is double because of chrome and autofill issue see http://stackoverflow.com/questions/10938891/disable-autofill-in-chrome-without-disabling-autocomplete -->
|
||||
<input class="formElem" type="text" name="proxypwd_fake" autocomplete="off" style="display:none" />
|
||||
<input class="formElem" type="text" name="proxypwd" autocomplete="off" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
||||
@@ -27,6 +41,8 @@
|
||||
var gform = document.forms['graphicForm'];
|
||||
gform.proxy.value = xml.find("proxy").text();
|
||||
gform.proxyport.value = xml.find("proxyport").text();
|
||||
gform.proxyuser.value = xml.find("proxyuser").text();
|
||||
gform.proxypwd.value = xml.find("proxypwd").text();
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
Reference in New Issue
Block a user