fix bug in proxy port #4
This commit is contained in:
parent
fa56ab7ab3
commit
8853435ba5
|
@ -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 %}
|
||||||
|
|
Loading…
Reference in New Issue