From abeb66b2d1ce6e9a517848ccfe6a7a4844a8eba6 Mon Sep 17 00:00:00 2001 From: duandongmei Date: Thu, 2 Aug 2018 14:38:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=97=A5=E5=BF=97=E5=A2=9E=E5=8A=A0=E6=97=A5?= =?UTF-8?q?=E5=BF=97=E8=AF=A6=E7=BB=86=E4=BF=A1=E6=81=AF=E6=9F=A5=E7=9C=8B?= =?UTF-8?q?=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../webapp/WEB-INF/views/log/ntc/ipList.jsp | 4 +++- .../webapp/static/global/css/components.css | 15 +++++++++++++ .../webapp/static/global/scripts/common.js | 21 +++++++++++++++++++ 3 files changed, 39 insertions(+), 1 deletion(-) diff --git a/src/main/webapp/WEB-INF/views/log/ntc/ipList.jsp b/src/main/webapp/WEB-INF/views/log/ntc/ipList.jsp index 6dc233cf5..95312df78 100644 --- a/src/main/webapp/WEB-INF/views/log/ntc/ipList.jsp +++ b/src/main/webapp/WEB-INF/views/log/ntc/ipList.jsp @@ -177,7 +177,9 @@ - ${_log.cfgId } + ${_log.cfgId } + + diff --git a/src/main/webapp/static/global/css/components.css b/src/main/webapp/static/global/css/components.css index c070f1272..7c2e90262 100644 --- a/src/main/webapp/static/global/css/components.css +++ b/src/main/webapp/static/global/css/components.css @@ -22235,7 +22235,22 @@ Color library demo padding-top:10px; } + .logInfo { + padding-left:25px; + + padding-top:10px; + + } +.logInfo label { + + padding-left: 5px; + + cursor: pointer; + + vertical-align: middle; + +} .customColumnList label { diff --git a/src/main/webapp/static/global/scripts/common.js b/src/main/webapp/static/global/scripts/common.js index 17e4657e7..239689f8d 100644 --- a/src/main/webapp/static/global/scripts/common.js +++ b/src/main/webapp/static/global/scripts/common.js @@ -1,4 +1,25 @@ $(function(){ + $("a[name=viewLogInfo]>i").on("click",function(){ + var html = "
"; + $(this).parents("tr").find("td").each(function(index,element){ + if(index >0){ + var text=""; + if($(element).find(".tooltips").length > 0){ + text=$(element).find(".tooltips").attr("data-original-title").trim(); + }else{ + text=$(element).text().trim() + } + html+="
"; + html+="
"; + html+="
"; + html+="
"; + + } + }) + html +="
"; + + top.$.jBox(html,{height:400,width:400,title:" Log Info",showIcon:false,opacity:0.5}); + }) var tree2 = $("select[name=lableTest]").treeMultiselect({ searchable: true, hideSidePanel:true,