From 2337e891b2c60821c972d2612191ffed22d16b31 Mon Sep 17 00:00:00 2001 From: zhanghongqing Date: Sun, 16 Dec 2018 12:08:01 +0800 Subject: [PATCH] =?UTF-8?q?=E9=85=8D=E7=BD=AE=E5=AD=97=E7=AC=A6=E4=B8=B2?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E9=95=BF=E5=BA=A6=E9=99=90=E5=88=B64-1024?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../WEB-INF/views/cfg/complexCfgForm.jsp | 2 +- .../views/dashboard/dashBoardIndex.jsp | 155 ++++-------------- 2 files changed, 37 insertions(+), 120 deletions(-) diff --git a/src/main/webapp/WEB-INF/views/cfg/complexCfgForm.jsp b/src/main/webapp/WEB-INF/views/cfg/complexCfgForm.jsp index 882cb7229..687157446 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" + type="text" minlength="4" maxlength="1024" 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 c60ba36cc..024f35b26 100644 --- a/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp +++ b/src/main/webapp/WEB-INF/views/dashboard/dashBoardIndex.jsp @@ -137,27 +137,26 @@
-    +
-
+
-    - +
-
+
-    - + +
@@ -184,20 +183,18 @@
-   <%-- --%> - + +
- -
-   <%-- --%> - + +
@@ -220,7 +217,7 @@ --%>
-
+
@@ -230,8 +227,8 @@
-    - + +
@@ -240,8 +237,8 @@
- OS/BS    - + +
@@ -271,96 +268,15 @@ --%>
-
+
- - -<%--
-
-
- BS    - -
-
-
- - - - - - - - - - - - - - -
-
- -
-
1windows0
-
-
- -
-
-
- -
-
-
-
-
-
-
-    -
-
- - - - - - - - - - - - - - - -
1baidu.com0
-
-
- -
-
-    - -
-
-
-
-
--%> -
- - - @@ -492,18 +408,18 @@ function ajaxinfo(){ $(".c2sNum").text(data.c2sNum); $(".s2cNum").text(100-data.c2sNum); if(data.c2sNum>c2s){ - //c2s增长 fa fa-arrow-up - $("#c2sColor").addClass("fa fa-arrow-up"); - $("#c2sColor").attr({style:"color:green"}); - $("#s2cColor").addClass("fa fa-arrow-down"); + //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"); $("#s2cColor").attr({style:"color:red"}); } //c2s下降 if(data.c2sNum"; + tr += ""+msg+""; $("#tbodyDataPort").prepend(tr); }, @@ -623,9 +539,9 @@ function portActiveList(){ tr += ""+itemObj.port+""; tr += ""+count+""; if(preCount"+""; + tr += ""+""+""; }else if(preCount>count){ - tr += ""+""+""; + tr += ""+""+""; }else{ tr += ""+"--"+""; } @@ -714,9 +630,9 @@ function systemList(){ tr += ""+n+""; tr += ""+os+""; if(preCount"+""; + tr += ""+""+""; }else if(preCount>count){ - tr += ""+""+""; + tr += ""+""+""; }else{ tr += ""+"--"+""; } @@ -825,9 +741,9 @@ function browserList() { tr += ""+n+""; tr += ""+bs+""; if(preCount"+""; + tr += ""+""+""; }else if(preCount>count){ - tr += ""+""+""; + tr += ""+""+""; }else{ tr += ""+"--"+""; } @@ -864,8 +780,8 @@ function websiteList() { $("#tbodyData2").html("") } - var tr = ""; - tr += ""+msg+""; + var tr = ""; + tr += ""+msg+""; $("#tbodyData2").prepend(tr); }, @@ -889,9 +805,9 @@ function websiteList() { tr += ""+n+""; tr += ""+web+""; if(itemObj.preCount"+""; + tr += ""+""+""; }else if(itemObj.preCount>itemObj.count){ - tr += ""+""+""; + tr += ""+""+""; }else{ tr += ""+"--"+""; } @@ -940,7 +856,8 @@ 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);