diff --git a/resource/template/theme-daynight/network.html b/resource/template/theme-daynight/network.html index ed0be4e..5976f85 100644 --- a/resource/template/theme-daynight/network.html +++ b/resource/template/theme-daynight/network.html @@ -20,101 +20,101 @@ -
- -
- -
-
-
-
-
    -
  • -

    @#server.Name#@

    -
  • -
  • -
+
+
-
-
-
+ -
- -
+ -
- -
+
+ +
- - + + - + - - - + + + - -{{end}} +{{end}} \ No newline at end of file diff --git a/resource/template/theme-default/network.html b/resource/template/theme-default/network.html index 56a30f9..d7490b6 100644 --- a/resource/template/theme-default/network.html +++ b/resource/template/theme-default/network.html @@ -28,9 +28,6 @@ const monitorInfo = JSON.parse('{{.MonitorInfos}}'); const initData = JSON.parse('{{.Servers}}').servers; let MaxTCPPingValue = {{.Conf.MaxTCPPingValue}}; - if (MaxTCPPingValue == null) { - MaxTCPPingValue = 1000; - } new Vue({ el: '#app', delimiters: ['@#', '#@'], diff --git a/resource/template/theme-mdui/network.html b/resource/template/theme-mdui/network.html index b9e19b5..5e9a6e3 100644 --- a/resource/template/theme-mdui/network.html +++ b/resource/template/theme-mdui/network.html @@ -55,9 +55,6 @@ const monitorInfo = JSON.parse('{{.MonitorInfos}}'); const initData = JSON.parse('{{.Servers}}').servers; let MaxTCPPingValue = {{.Conf.MaxTCPPingValue}}; - if (MaxTCPPingValue == null) { - MaxTCPPingValue = 1000; - } new Vue({ el: '#app', delimiters: ['@#', '#@'], diff --git a/resource/template/theme-server-status/network.html b/resource/template/theme-server-status/network.html index b9bd38f..1c2dea5 100644 --- a/resource/template/theme-server-status/network.html +++ b/resource/template/theme-server-status/network.html @@ -22,9 +22,6 @@ const monitorInfo = JSON.parse('{{.MonitorInfos}}'); const initData = JSON.parse('{{.Servers}}').servers; let MaxTCPPingValue = {{.Conf.MaxTCPPingValue}}; - if (MaxTCPPingValue == null) { - MaxTCPPingValue = 1000; - } new Vue({ el: '#app', delimiters: ['@#', '#@'],