fix bug in proxy port #4

This commit is contained in:
zhong 2016-04-06 12:59:29 +08:00
parent fa56ab7ab3
commit 8853435ba5
1 changed files with 1 additions and 1 deletions

View File

@ -202,7 +202,7 @@
<button type="button" class="btn-xs btn-default">enable</button> <button type="button" class="btn-xs btn-default">enable</button>
<a href="/deleteproxy/{{ clustername }}/"><button type="button" class="btn-xs btn-danger">disable</button></a></p> <a href="/deleteproxy/{{ clustername }}/"><button type="button" class="btn-xs btn-danger">disable</button></a></p>
{% else %} {% else %}
<p>ip:<input type="text" id="proxy_ip" name="proxy_ip" value={{ clusterinfo["containers"][0]["ip"][:clusterinfo["containers"][0]["ip"].index("/")] }} />port:<input type="text" id="proxy_port" name="proxy_port" value="8000"/> <p>ip:<input type="text" id="proxy_ip" name="proxy_ip" value={{ clusterinfo["containers"][0]["ip"][:clusterinfo["containers"][0]["ip"].index("/")] }} />port:<input type="text" id="proxy_port" name="proxy_port" value="80"/>
<button type="submit" class="btn-xs btn-success">enable</button> <button type="submit" class="btn-xs btn-success">enable</button>
<button type="button" class="btn-xs btn-default">disable</button></p> <button type="button" class="btn-xs btn-default">disable</button></p>
{% endif %} {% endif %}