mirror of https://github.com/Aidaho12/haproxy-wi
parent
01fecb1fcb
commit
171c5934d9
|
@ -26,7 +26,9 @@
|
||||||
var hostnamea = []
|
var hostnamea = []
|
||||||
{% for s in servers %}
|
{% for s in servers %}
|
||||||
ip.push("{{s[2]}}")
|
ip.push("{{s[2]}}")
|
||||||
hostnamea.push("{{s[1]}}")
|
var host = "{{s[1]}}"
|
||||||
|
host = host.replace(/\./g, '\\.');
|
||||||
|
hostnamea.push(host)
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</script>
|
</script>
|
||||||
<div id="up-pannel">
|
<div id="up-pannel">
|
||||||
|
|
|
@ -7,7 +7,9 @@
|
||||||
var hostnamea = []
|
var hostnamea = []
|
||||||
{% for s in servers %}
|
{% for s in servers %}
|
||||||
ip.push("{{s[2]}}")
|
ip.push("{{s[2]}}")
|
||||||
hostnamea.push("{{s[1]}}")
|
var host = "{{s[1]}}"
|
||||||
|
host = host.replace(/\./g, '\\.');
|
||||||
|
hostnamea.push(host)
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</script>
|
</script>
|
||||||
<style>
|
<style>
|
||||||
|
|
|
@ -14,7 +14,9 @@
|
||||||
var hostnamea = []
|
var hostnamea = []
|
||||||
{% for s in servers_all %}
|
{% for s in servers_all %}
|
||||||
ip.push("{{s[2]}}")
|
ip.push("{{s[2]}}")
|
||||||
hostnamea.push("{{s[1]}}")
|
var host = "{{s[1]}}"
|
||||||
|
host = host.replace(/\./g, '\\.');
|
||||||
|
hostnamea.push(host)
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</script>
|
</script>
|
||||||
<table class="overview">
|
<table class="overview">
|
||||||
|
|
Loading…
Reference in New Issue