Merge pull request #22 from zhongyehong/proxybug

fix bug in proxy port #4
This commit is contained in:
zhong yehong 2016-04-06 13:40:59 +08:00
commit d14bda426b
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 %}