1.处理配置列表展示关键字换行问题
2.处理日志url 前缀http问题(http,https,ftp直接展示不判断添加http)
This commit is contained in:
@@ -211,7 +211,11 @@ $(document).ready(function(){
|
|||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<c:if test="${fn:startsWith(log.ftpUrl, 'ftp')}">
|
<a href="${log.ftpUrl}" data-original-title="${log.ftpUrl}" target="_blank"
|
||||||
|
class="tooltips" data-flag="false" data-html="true" data-placement="top">
|
||||||
|
${fn:substring(log.ftpUrl,0,42) }
|
||||||
|
</a>
|
||||||
|
<%-- <c:if test="${fn:startsWith(log.ftpUrl, 'ftp')}">
|
||||||
<a href="${log.ftpUrl}" data-original-title="${log.ftpUrl}" target="_blank"
|
<a href="${log.ftpUrl}" data-original-title="${log.ftpUrl}" target="_blank"
|
||||||
class="tooltips" data-flag="false" data-html="true" data-placement="top">
|
class="tooltips" data-flag="false" data-html="true" data-placement="top">
|
||||||
${fn:substring(log.ftpUrl,0,20) }
|
${fn:substring(log.ftpUrl,0,20) }
|
||||||
@@ -222,7 +226,7 @@ $(document).ready(function(){
|
|||||||
class="tooltips" data-flag="false" data-html="true" data-placement="top">
|
class="tooltips" data-flag="false" data-html="true" data-placement="top">
|
||||||
ftp://${fn:substring(log.ftpUrl,0,20) }
|
ftp://${fn:substring(log.ftpUrl,0,20) }
|
||||||
</a>
|
</a>
|
||||||
</c:if>
|
</c:if> --%>
|
||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@@ -172,7 +172,7 @@
|
|||||||
<th><spring:message code="found_time"/></th>
|
<th><spring:message code="found_time"/></th>
|
||||||
<th><spring:message code="entrance"/></th>
|
<th><spring:message code="entrance"/></th>
|
||||||
|
|
||||||
<th>URL</th>
|
<th> URL </th>
|
||||||
<th><spring:message code="req_hdr_key"/></th>
|
<th><spring:message code="req_hdr_key"/></th>
|
||||||
<th><spring:message code="req_hdr_file"/></th>
|
<th><spring:message code="req_hdr_file"/></th>
|
||||||
<th><spring:message code="req_body_key"/></th>
|
<th><spring:message code="req_body_key"/></th>
|
||||||
@@ -226,12 +226,13 @@
|
|||||||
</td>
|
</td>
|
||||||
|
|
||||||
<td>
|
<td>
|
||||||
<c:if test="${fn:startsWith(log.url, 'http')}">
|
${log.url}
|
||||||
|
<%-- <c:if test="${fn:startsWith(log.url, 'http')}">
|
||||||
${log.url}
|
${log.url}
|
||||||
</c:if>
|
</c:if>
|
||||||
<c:if test="${!fn:startsWith(log.url, 'http') and !empty log.url}">
|
<c:if test="${!fn:startsWith(log.url, 'http') and !empty log.url}">
|
||||||
http://${log.url}
|
http://${log.url}
|
||||||
</c:if>
|
</c:if> --%>
|
||||||
</td>
|
</td>
|
||||||
<td>${log.reqHdrKey }</td>
|
<td>${log.reqHdrKey }</td>
|
||||||
<td>
|
<td>
|
||||||
|
|||||||
@@ -151,7 +151,7 @@
|
|||||||
<th><spring:message code="cfg_id"/></th>
|
<th><spring:message code="cfg_id"/></th>
|
||||||
<th><spring:message code="found_time"/></th>
|
<th><spring:message code="found_time"/></th>
|
||||||
<th><spring:message code="entrance"/></th>
|
<th><spring:message code="entrance"/></th>
|
||||||
<th>URL</th>
|
<th> URL </th>
|
||||||
<th><spring:message code="clj_ip"/></th>
|
<th><spring:message code="clj_ip"/></th>
|
||||||
<th><spring:message code="protocol"/></th>
|
<th><spring:message code="protocol"/></th>
|
||||||
<th><spring:message code="server_ip"/></th>
|
<th><spring:message code="server_ip"/></th>
|
||||||
@@ -186,12 +186,13 @@
|
|||||||
</c:forEach>
|
</c:forEach>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<c:if test="${fn:startsWith(log.url, 'http')}">
|
${log.url}
|
||||||
|
<%-- <c:if test="${fn:startsWith(log.url, 'http')}">
|
||||||
${log.url}
|
${log.url}
|
||||||
</c:if>
|
</c:if>
|
||||||
<c:if test="${!fn:startsWith(log.url, 'http') and !empty log.url}">
|
<c:if test="${!fn:startsWith(log.url, 'http') and !empty log.url}">
|
||||||
http://${log.url}
|
http://${log.url}
|
||||||
</c:if>
|
</c:if> --%>
|
||||||
</td>
|
</td>
|
||||||
<td title="${log.capIp }">${fns:abbr(log.capIp, 42)}</td>
|
<td title="${log.capIp }">${fns:abbr(log.capIp, 42)}</td>
|
||||||
<td>${log.transProto }</td>
|
<td>${log.transProto }</td>
|
||||||
|
|||||||
@@ -83,3 +83,10 @@
|
|||||||
margin:-3px 0 0 0;
|
margin:-3px 0 0 0;
|
||||||
text-align:center;
|
text-align:center;
|
||||||
}
|
}
|
||||||
|
.keyword-disinline {
|
||||||
|
width: 1130px;
|
||||||
|
display: block;
|
||||||
|
word-break: break-all;
|
||||||
|
word-wrap: break-word;
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
@@ -1,5 +1,4 @@
|
|||||||
$(function(){
|
$(function(){
|
||||||
|
|
||||||
//扩展jquery,增加全局函数
|
//扩展jquery,增加全局函数
|
||||||
$.ipcommon=function(){
|
$.ipcommon=function(){
|
||||||
return {};
|
return {};
|
||||||
@@ -465,6 +464,9 @@ $(function(){
|
|||||||
})
|
})
|
||||||
});
|
});
|
||||||
window.onload=function(){
|
window.onload=function(){
|
||||||
|
$("span[id^=open]").click(function(){
|
||||||
|
$("div[class='content']").find("label:lt(2)").addClass("keyword-disinline");//page.css 关键词换行
|
||||||
|
})
|
||||||
// 配置id的搜索下拉框选择切换
|
// 配置id的搜索下拉框选择切换
|
||||||
if ($("#searchForm #seltype").val() == 'compileId') {
|
if ($("#searchForm #seltype").val() == 'compileId') {
|
||||||
$("#searchForm #intype").addClass("number");
|
$("#searchForm #intype").addClass("number");
|
||||||
|
|||||||
Reference in New Issue
Block a user