mirror of https://github.com/Aidaho12/haproxy-wi
parent
873062d23a
commit
8fe6876c49
|
@ -861,7 +861,10 @@ if serv is not None and act == "showMap":
|
||||||
if "bind" in line or (line.startswith('listen') and ":" in line) or (
|
if "bind" in line or (line.startswith('listen') and ":" in line) or (
|
||||||
line.startswith('frontend') and ":" in line):
|
line.startswith('frontend') and ":" in line):
|
||||||
try:
|
try:
|
||||||
bind = line.split(":")
|
if "@" not in line:
|
||||||
|
bind = line.split(":")
|
||||||
|
else:
|
||||||
|
bind = line.split("@")
|
||||||
if str(stats_port) not in bind[1]:
|
if str(stats_port) not in bind[1]:
|
||||||
bind[1] = bind[1].strip(' ')
|
bind[1] = bind[1].strip(' ')
|
||||||
bind = bind[1].split("crt")
|
bind = bind[1].split("crt")
|
||||||
|
|
|
@ -268,7 +268,7 @@
|
||||||
{{ line }}
|
{{ line }}
|
||||||
</span><br />
|
</span><br />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{%- if "bind" in line -%}
|
{%- if "bind" in line and "@" not in line -%}
|
||||||
{%- set bind = line.split(':')[1] -%}
|
{%- set bind = line.split(':')[1] -%}
|
||||||
{%- set bind = bind.split(' ') -%}
|
{%- set bind = bind.split(' ') -%}
|
||||||
<script>
|
<script>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{{ input('new-username') }}
|
{{ input('new-username') }}
|
||||||
{% if ldap_enable == '1' %}
|
{% if ldap_enable == 1 %}
|
||||||
<a href="#" title="Search user in AD" id="search_ldap_user">Search user in AD</a>
|
<a href="#" title="Search user in AD" id="search_ldap_user">Search user in AD</a>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
|
Loading…
Reference in New Issue