Pavel Loginov 2020-03-19 14:11:35 +01:00
parent 01fecb1fcb
commit 171c5934d9
3 changed files with 9 additions and 3 deletions

View File

@ -26,7 +26,9 @@
var hostnamea = []
{% for s in servers %}
ip.push("{{s[2]}}")
hostnamea.push("{{s[1]}}")
var host = "{{s[1]}}"
host = host.replace(/\./g, '\\.');
hostnamea.push(host)
{% endfor %}
</script>
<div id="up-pannel">

View File

@ -7,7 +7,9 @@
var hostnamea = []
{% for s in servers %}
ip.push("{{s[2]}}")
hostnamea.push("{{s[1]}}")
var host = "{{s[1]}}"
host = host.replace(/\./g, '\\.');
hostnamea.push(host)
{% endfor %}
</script>
<style>

View File

@ -14,7 +14,9 @@
var hostnamea = []
{% for s in servers_all %}
ip.push("{{s[2]}}")
hostnamea.push("{{s[1]}}")
var host = "{{s[1]}}"
host = host.replace(/\./g, '\\.');
hostnamea.push(host)
{% endfor %}
</script>
<table class="overview">