From 2a4deb39b2b8a9f6cb125948c339dcfceb78f53e Mon Sep 17 00:00:00 2001 From: zhanghongqing Date: Sun, 16 Dec 2018 12:08:33 +0800 Subject: [PATCH] =?UTF-8?q?Revert=20"=E9=85=8D=E7=BD=AE=E5=AD=97=E7=AC=A6?= =?UTF-8?q?=E4=B8=B2=E5=A2=9E=E5=8A=A0=E9=95=BF=E5=BA=A6=E9=99=90=E5=88=B6?= =?UTF-8?q?4-1024"?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This reverts commit 2337e891b2c60821c972d2612191ffed22d16b31. --- .../WEB-INF/views/cfg/complexCfgForm.jsp | 2 +- .../views/dashboard/dashBoardIndex.jsp | 155 ++++++++++++++---- 2 files changed, 120 insertions(+), 37 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/cfg/complexCfgForm.jsp b/src/main/webapp/WEB-INF/views/cfg/complexCfgForm.jsp index 687157446..882cb7229 100644 --- a/src/main/webapp/WEB-INF/views/cfg/complexCfgForm.jsp +++ b/src/main/webapp/WEB-INF/views/cfg/complexCfgForm.jsp @@ -97,7 +97,7 @@ domainCheck " - type="text" minlength="4" maxlength="1024" + type="text" name="${cfgName}.cfgKeywords" value="${cfg.cfgKeywords}"> diff --git a/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp b/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp index 024f35b26..c60ba36cc 100644 --- a/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp +++ b/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp @@ -137,26 +137,27 @@
- +   
-
+
- +    +
-
+
- - +    +
@@ -183,18 +184,20 @@
- - +   <%-- --%> +
+ +
- - +   <%-- --%> +
@@ -217,7 +220,7 @@ --%>
-
+
@@ -227,8 +230,8 @@
- - +    +
@@ -237,8 +240,8 @@
- - + OS/BS    +
@@ -268,15 +271,96 @@ --%>
-
+
+ + +<%--
+
+
+ BS    + +
+
+
+ + + + + + + + + + + + + + +
+
+ +
+
1windows0
+
+
+ +
+
+
+ +
+
+
+
+
+
+
+    +
+
+ + + + + + + + + + + + + + + +
1baidu.com0
+
+
+ +
+
+    + +
+
+
+
+
--%> +
+ + + @@ -408,18 +492,18 @@ function ajaxinfo(){ $(".c2sNum").text(data.c2sNum); $(".s2cNum").text(100-data.c2sNum); if(data.c2sNum>c2s){ - //c2s增长 fa fa-arrow-circle-up - $("#c2sColor").addClass("fa fa-arrow-circle-up"); - $("#c2sColor").attr({style:"color:#5DC2C1"}); - $("#s2cColor").addClass("fa fa-arrow-circle-down"); + //c2s增长 fa fa-arrow-up + $("#c2sColor").addClass("fa fa-arrow-up"); + $("#c2sColor").attr({style:"color:green"}); + $("#s2cColor").addClass("fa fa-arrow-down"); $("#s2cColor").attr({style:"color:red"}); } //c2s下降 if(data.c2sNum"; + tr += ""+msg+""; $("#tbodyDataPort").prepend(tr); }, @@ -539,9 +623,9 @@ function portActiveList(){ tr += ""+itemObj.port+""; tr += ""+count+""; if(preCount"+""; + tr += ""+""+""; }else if(preCount>count){ - tr += ""+""+""; + tr += ""+""+""; }else{ tr += ""+"--"+""; } @@ -630,9 +714,9 @@ function systemList(){ tr += ""+n+""; tr += ""+os+""; if(preCount"+""; + tr += ""+""+""; }else if(preCount>count){ - tr += ""+""+""; + tr += ""+""+""; }else{ tr += ""+"--"+""; } @@ -741,9 +825,9 @@ function browserList() { tr += ""+n+""; tr += ""+bs+""; if(preCount"+""; + tr += ""+""+""; }else if(preCount>count){ - tr += ""+""+""; + tr += ""+""+""; }else{ tr += ""+"--"+""; } @@ -780,8 +864,8 @@ function websiteList() { $("#tbodyData2").html("") } - var tr = ""; - tr += ""+msg+""; + var tr = ""; + tr += ""+msg+""; $("#tbodyData2").prepend(tr); }, @@ -805,9 +889,9 @@ function websiteList() { tr += ""+n+""; tr += ""+web+""; if(itemObj.preCount"+""; + tr += ""+""+""; }else if(itemObj.preCount>itemObj.count){ - tr += ""+""+""; + tr += ""+""+""; }else{ tr += ""+"--"+""; } @@ -856,8 +940,7 @@ function topicAndDomainList(){ url: '${ctx}/dashboard/topicAndDomainList', type : "get" , dataType:"json", - cache:false,async:true, - timeout:60000,//超时时间设置,查询接口时间过长超时 + cache:false,async:true,timeout:60000,//超时时间设置,查询接口时间过长超时 success:function (rs) { //主题域名流量统计图 echart_topic_domain(rs);