1.修改页面文件字段为超链接,2.标题有配置中获取

This commit is contained in:
zhanghongqing
2018-08-13 14:19:55 +08:00
parent b3213adbe5
commit ad9aca91f3
22 changed files with 230 additions and 69 deletions

View File

@@ -29,7 +29,7 @@ $(document).ready(function(){
<div class="page-content">
<h3 class="page-title">
<spring:message code="dk_behavior"/>
<spring:message code="target_ip_protect"/>
<small><spring:message code="date_list"/></small>
</h3>

View File

@@ -31,7 +31,7 @@
<div class="theme-panel hidden-xs hidden-sm">
</div>
<h3 class="page-title">
DNS
<spring:message code="DNS"/>
<small><spring:message code="date_list"/></small>
</h3>
<h5 class="page-header"></h5>

View File

@@ -204,10 +204,18 @@ $(document).ready(function(){
</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,20) }
</a>
</c:if>
<c:if test="${!fn:startsWith(log.ftpUrl, 'ftp') and !empty log.ftpUrl}">
<a href="ftp://${log.ftpUrl}" data-original-title="ftp://${log.ftpUrl}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
ftp://${fn:substring(log.ftpUrl,0,20) }
</a>
</c:if>
</td>
<td>

View File

@@ -31,7 +31,7 @@
<div class="theme-panel hidden-xs hidden-sm">
</div>
<h3 class="page-title">
HTTP
<spring:message code="HTTP"/>
<small><spring:message code="date_list"/></small>
</h3>
<h5 class="page-header"></h5>
@@ -217,43 +217,69 @@
<td>
<c:if test="${fn:startsWith(_log.url, 'http')}">
<a href="${_log.url}" data-original-title="${_log.url}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fn:substring(_log.url,0,20) }
</a>
${_log.url}
</c:if>
<c:if test="${!fn:startsWith(_log.url, 'http')}">
<a href="http://${_log.url}" data-original-title="http://${_log.url}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
http://${fn:substring(_log.url,0,20) }
</a>
<c:if test="${!fn:startsWith(_log.url, 'http') and !empty _log.url}">
http://${_log.url}
</c:if>
</td>
<td>
<c:if test="${fn:startsWith(_log.reqHdrFile, 'ftp')}">
<a href="${_log.reqHdrFile}" data-original-title="${_log.reqHdrFile}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fn:substring(_log.reqHdrFile,0,20) }
</a>
</c:if>
<c:if test="${!fn:startsWith(_log.reqHdrFile, 'ftp') and !empty _log.reqHdrFile}">
<a href="ftp://${_log.reqHdrFile}" data-original-title="ftp://${_log.reqHdrFile}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
ftp://${fn:substring(_log.reqHdrFile,0,20) }
</a>
</c:if>
</td>
<td>
<c:if test="${fn:startsWith(_log.reqBodyFile, 'ftp')}">
<a href="${_log.reqBodyFile}" data-original-title="${_log.reqBodyFile}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fn:substring(_log.reqBodyFile,0,20) }
</a>
</c:if>
<c:if test="${!fn:startsWith(_log.reqBodyFile, 'ftp') and !empty _log.reqBodyFile}">
<a href="ftp://${_log.reqBodyFile}" data-original-title="ftp://${_log.reqBodyFile}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
ftp://${fn:substring(_log.reqBodyFile,0,20) }
</a>
</c:if>
</td>
<td>
<c:if test="${fn:startsWith(_log.resHdrFile, 'ftp')}">
<a href="${_log.resHdrFile}" data-original-title="${_log.resHdrFile}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fn:substring(_log.resHdrFile,0,20) }
</a>
</c:if>
<c:if test="${!fn:startsWith(_log.resHdrFile, 'ftp') and !empty _log.resHdrFile}">
<a href="ftp://${_log.resHdrFile}" data-original-title="ftp://${_log.resHdrFile}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
ftp://${fn:substring(_log.resHdrFile,0,20) }
</a>
</c:if>
</td>
<td>
<c:if test="${fn:startsWith(_log.resBodyFile, 'ftp')}">
<a href="${_log.resBodyFile}" data-original-title="${_log.resBodyFile}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fn:substring(_log.resBodyFile,0,20) }
</a>
</c:if>
<c:if test="${!fn:startsWith(_log.resBodyFile, 'ftp') and !empty _log.resBodyFile}">
<a href="ftp://${_log.resBodyFile}" data-original-title="ftp://${_log.resBodyFile}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
ftp://${fn:substring(_log.resBodyFile,0,20) }
</a>
</c:if>
</td>
<td title="${_log.capIp }">${fns:abbr(_log.capIp, 42)}</td>

View File

@@ -31,7 +31,7 @@
<div class="theme-panel hidden-xs hidden-sm">
</div>
<h3 class="page-title">
IP
<spring:message code="ip_control"/>
<small><spring:message code="date_list"/></small>
</h3>
<h5 class="page-header"></h5>

View File

@@ -29,7 +29,7 @@
<div class="page-content">
<h3 class="page-title">
L2TP
<spring:message code="L2TP" />
<small><spring:message code="date_list" /></small>
</h3>
<h5 class="page-header"></h5>

View File

@@ -213,16 +213,16 @@
</td>
<td>${_log.subject }</td>
<td>
<c:if test="${fn:startsWith(_log.emlFile, 'http')}">
<c:if test="${fn:startsWith(_log.emlFile, 'ftp')}">
<a href="${_log.emlFile}" data-original-title="${_log.emlFile}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fn:substring(_log.emlFile,0,20) }
</a>
</c:if>
<c:if test="${!fn:startsWith(_log.emlFile, 'http')}">
<a href="http://${_log.emlFile}" data-original-title="http://${_log.emlFile}" target="_blank"
<c:if test="${!fn:startsWith(_log.emlFile, 'ftp') and !empty _log.emlFile}">
<a href="ftp://${_log.emlFile}" data-original-title="ftp://${_log.emlFile}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
http://${fn:substring(_log.emlFile,0,20) }
ftp://${fn:substring(_log.emlFile,0,20) }
</a>
</c:if>
</td>

View File

@@ -210,12 +210,28 @@ $(document).ready(function(){
</td>
<td>${log.pid}</td>
<td>${log.url}</td>
<td>
<c:if test="${fn:startsWith(log.url, 'http')}">
${log.url}
</c:if>
<c:if test="${!fn:startsWith(log.url, 'http') and !empty log.url}">
http://${log.url}
</c:if>
</td>
<td>
<c:if test="${fn:startsWith(log.logUri, 'http')}">
<a href="${log.logUri}" data-original-title="${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fn:substring(log.logUri,0,20) }
</a>
</c:if>
<c:if test="${!fn:startsWith(log.logUri, 'http') and !empty log.logUri}">
<a href="http://${log.logUri}" data-original-title="http://${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
http://${fn:substring(log.logUri,0,20) }
</a>
</c:if>
</td>
<td>
${log.refer}

View File

@@ -210,12 +210,28 @@ $(document).ready(function(){
</td>
<td>${log.pid}</td>
<td>${log.url}</td>
<td>
<c:if test="${fn:startsWith(log.url, 'http')}">
${log.url}
</c:if>
<c:if test="${!fn:startsWith(log.url, 'http') and !empty log.url}">
http://${log.url}
</c:if>
</td>
<td>
<c:if test="${fn:startsWith(log.logUri, 'http')}">
<a href="${log.logUri}" data-original-title="${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fn:substring(log.logUri,0,20) }
</a>
</c:if>
<c:if test="${!fn:startsWith(log.logUri, 'http') and !empty log.logUri}">
<a href="http://${log.logUri}" data-original-title="http://${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
http://${fn:substring(log.logUri,0,20) }
</a>
</c:if>
</td>
<td>
${log.refer}

View File

@@ -211,12 +211,21 @@ $(document).ready(function(){
</td>
<td>${log.pid}</td>
<td>http://${log.url}</td>
<td>${log.url}</td>
<td>
<c:if test="${fn:startsWith(log.logUri, 'http')}">
<a href="${log.logUri}" data-original-title="${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fn:substring(log.logUri,0,20) }
</a>
</c:if>
<c:if test="${!fn:startsWith(log.logUri, 'http') and !empty log.logUri}">
<a href="http://${log.logUri}" data-original-title="http://${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
http://${fn:substring(log.logUri,0,20) }
</a>
</c:if>
</td>
<td title="${fns:escapeHtml(log.refer)}">
${fns:stringFormat(log.refer,30)}

View File

@@ -211,12 +211,28 @@ $(document).ready(function(){
</td>
<td>${log.pid}</td>
<td>http://${log.url}</td>
<td>
<c:if test="${fn:startsWith(log.url, 'http')}">
${log.url}
</c:if>
<c:if test="${!fn:startsWith(log.url, 'http') and !empty log.url}">
http://${log.url}
</c:if>
</td>
<td>
<c:if test="${fn:startsWith(log.logUri, 'http')}">
<a href="${log.logUri}" data-original-title="${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fn:substring(log.logUri,0,20) }
</a>
</c:if>
<c:if test="${!fn:startsWith(log.logUri, 'http') and !empty log.logUri}">
<a href="http://${log.logUri}" data-original-title="http://${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
http://${fn:substring(log.logUri,0,20) }
</a>
</c:if>
</td>
<td>
${log.refer}

View File

@@ -212,21 +212,18 @@ $(document).ready(function(){
<td>${log.pid}</td>
<td>
<%-- <c:if test="${fn:startsWith(log.url, 'http')}">${log.url }</c:if>
<c:if test="${!fn:startsWith(log.url, 'http')}">http://${log.url }</c:if> --%>
<c:if test="${fn:startsWith(log.url, 'http')}">
${log.url}
</c:if>
<c:if test="${!fn:startsWith(log.url, 'http')}">
<c:if test="${!fn:startsWith(log.url, 'http') and !empty log.url}">
http://${log.url}
</c:if>
</td>
<td>
<c:if test="${fn:startsWith(log.logUri, 'http')}">
<c:set var="logUri" value="${log.logUri }"/>
</c:if>
<c:if test="${!fn:startsWith(log.logUri, 'http')}">
<c:if test="${!fn:startsWith(log.logUri, 'http') and !empty log.logUri}">
<c:set var="logUri" value="http://${log.logUri }"/>
</c:if>
<%-- <a target="_blank" href='${logUri}' title="${logUri}"> --%>

View File

@@ -212,21 +212,18 @@ $(document).ready(function(){
<td>${log.pid}</td>
<td>
<%-- <c:if test="${fn:startsWith(log.url, 'http')}">${log.url }</c:if>
<c:if test="${!fn:startsWith(log.url, 'http')}">http://${log.url }</c:if> --%>
<c:if test="${fn:startsWith(log.url, 'http')}">
${log.url}
</c:if>
<c:if test="${!fn:startsWith(log.url, 'http')}">
${log.url }
<c:if test="${!fn:startsWith(log.url, 'http') and !empty log.url}">
http://${log.url}
</c:if>
</td>
<td>
<c:if test="${fn:startsWith(log.logUri, 'http')}">
<c:set var="logUri" value="${log.logUri }"/>
</c:if>
<c:if test="${!fn:startsWith(log.logUri, 'http')}">
<c:if test="${!fn:startsWith(log.logUri, 'http') and !empty log.logUri}">
<c:set var="logUri" value="http://${log.logUri }"/>
</c:if>
<a href="${logUri}" target="_blank" data-original-title="${logUri}"

View File

@@ -271,12 +271,28 @@
</td>
<td>${log.pid}</td>
<td>http://${log.url}</td>
<td>
<c:if test="${fn:startsWith(log.url, 'http')}">
${log.url}
</c:if>
<c:if test="${!fn:startsWith(log.url, 'http') and !empty log.url}">
http://${log.url}
</c:if>
</td>
<td>
<c:if test="${fn:startsWith(log.logUri, 'http')}">
<a href="${log.logUri}" data-original-title="${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fn:substring(log.logUri,0,20) }
</a>
</c:if>
<c:if test="${!fn:startsWith(log.logUri, 'http') and !empty log.logUri}">
<a href="http://${log.logUri}" data-original-title="http://${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
http://${fn:substring(log.logUri,0,20) }
</a>
</c:if>
</td>
<td>${log.refer }</td>
<td>${log.level}</td>

View File

@@ -211,12 +211,28 @@ $(document).ready(function(){
</td>
<td>${log.pid}</td>
<td>http://${log.url}</td>
<td>
<c:if test="${fn:startsWith(log.url, 'http')}">
${log.url}
</c:if>
<c:if test="${!fn:startsWith(log.url, 'http') and !empty log.url}">
http://${log.url}
</c:if>
</td>
<td>
<c:if test="${fn:startsWith(log.logUri, 'http')}">
<a href="${log.logUri}" data-original-title="${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fn:substring(log.logUri,0,20) }
</a>
</c:if>
<c:if test="${!fn:startsWith(log.logUri, 'http') and !empty log.logUri}">
<a href="http://${log.logUri}" data-original-title="http://${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
http://${fn:substring(log.logUri,0,20) }
</a>
</c:if>
</td>
<td>${log.refer }</td>
<td>${log.level }</td>

View File

@@ -211,12 +211,28 @@ $(document).ready(function(){
</td>
<td>${log.pid}</td>
<td>http://${log.url}</td>
<td>
<c:if test="${fn:startsWith(log.url, 'http')}">
${log.url}
</c:if>
<c:if test="${!fn:startsWith(log.url, 'http') and !empty log.url}">
http://${log.url}
</c:if>
</td>
<td>
<c:if test="${fn:startsWith(log.logUri, 'http')}">
<a href="${log.logUri}" data-original-title="${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fn:substring(log.logUri,0,20) }
</a>
</c:if>
<c:if test="${!fn:startsWith(log.logUri, 'http') and !empty log.logUri}">
<a href="http://${log.logUri}" data-original-title="http://${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
http://${fn:substring(log.logUri,0,20) }
</a>
</c:if>
</td>
<td>${log.refer }</td>
<td>${log.level}</td>

View File

@@ -230,15 +230,18 @@ $(document).ready(function(){
<td>${log.pid}</td>
<td>
<c:if test="${fn:startsWith(log.logUri, 'http')}">
<c:set var="logUri" value="${log.logUri }"/>
</c:if>
<c:if test="${!fn:startsWith(log.logUri, 'http')}">
<c:set var="logUri" value="http://${log.logUri }"/>
</c:if>
<a href="${logUri}" target="_blank" data-original-title="${logUri}"
<a href="${log.logUri}" data-original-title="${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fn:substring(logUri,0,20) }
${fn:substring(log.logUri,0,20) }
</a>
</c:if>
<c:if test="${!fn:startsWith(log.logUri, 'http') and !empty log.logUri}">
<a href="http://${log.logUri}" data-original-title="http://${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
http://${fn:substring(log.logUri,0,20) }
</a>
</c:if>
</td>
<td>${log.level}</td>
<!--0动态黑名单FD1静态配置FD2首次分析命中 -->

View File

@@ -228,10 +228,19 @@ $(document).ready(function(){
<%-- <td>${log.toFromStoreUrl}</td> --%>
<td>${log.pid}</td>
<td>
<c:if test="${fn:startsWith(log.logUri, 'http')}">
<a href="${log.logUri}" data-original-title="${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fn:substring(log.logUri,0,20) }
</a>
</c:if>
<c:if test="${!fn:startsWith(log.logUri, 'http') and !empty log.logUri}">
<a href="http://${log.logUri}" data-original-title="http://${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
http://${fn:substring(log.logUri,0,20) }
</a>
</c:if>
</td>
<td>${log.level}</td>
<!--0动态黑名单FD1静态配置FD2首次分析命中 -->

View File

@@ -227,10 +227,19 @@ $(document).ready(function(){
<%-- <td>${log.toFromStoreUrl}</td> --%>
<td>${log.pid}</td>
<td>
<c:if test="${fn:startsWith(log.logUri, 'http')}">
<a href="${log.logUri}" data-original-title="${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fn:substring(log.logUri,0,20) }
</a>
</c:if>
<c:if test="${!fn:startsWith(log.logUri, 'http') and !empty log.logUri}">
<a href="http://${log.logUri}" data-original-title="http://${log.logUri}" target="_blank"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
http://${fn:substring(log.logUri,0,20) }
</a>
</c:if>
</td>
<td>${log.level}</td>
<!--0动态黑名单FD1静态配置FD2首次分析命中 -->

View File

@@ -29,7 +29,7 @@
<div class="page-content">
<h3 class="page-title">
PPTP
<spring:message code="pptp_ip_control" />
<small><spring:message code="date_list" /></small>
</h3>
<h5 class="page-header"></h5>

View File

@@ -30,7 +30,7 @@
<div class="page-content">
<h3 class="page-title">
SSL
<spring:message code="ssl_control" />
<small><spring:message code="date_list" /></small>
</h3>
<h5 class="page-header"></h5>

View File

@@ -180,7 +180,14 @@
</c:if>
</c:forEach>
</td>
<td>${_log.url }</td>
<td>
<c:if test="${fn:startsWith(_log.url, 'http')}">
${_log.url}
</c:if>
<c:if test="${!fn:startsWith(_log.url, 'http') and !empty _log.url}">
http://${_log.url}
</c:if>
</td>
<td title="${_log.capIp }">${fns:abbr(_log.capIp, 42)}</td>
<td>${_log.transProto }</td>
<td title="${_log.dIp }">${fns:abbr(_log.dIp, 42)}</td>