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 = [] 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">

View File

@ -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>

View File

@ -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">