1.日志查询错误提示条红色背景 2.P2P配置国际化修改

This commit is contained in:
zhangwenqing
2018-09-07 11:54:26 +08:00
parent 263d280c0d
commit e63a707a4d
3 changed files with 5 additions and 5 deletions

View File

@@ -1055,8 +1055,8 @@ not_hex=Not HEX
p2p_reject=P2P Control
NTC_P2P_IP=IP Configuration
NTC_P2P_HASH_BIN=HASH Configuration
NTC_P2P_KEYWORDS=Content Configuration
NTC_P2P_HASH_BIN=File Marking Configuration
NTC_P2P_KEYWORDS=eMule Keyword Search Configuration
s_asn=Source ASN
d_asn=Destination ASN

View File

@@ -1053,8 +1053,8 @@ not_hex=\u975E\u5341\u516D\u8FDB\u5236
p2p_reject=P2P\u7BA1\u63A7
NTC_P2P_IP=IP\u914D\u7F6E
NTC_P2P_HASH_BIN=HASH\u914D\u7F6E
NTC_P2P_KEYWORDS=\u5185\u5BB9\u5173\u952E\u5B57\u914D\u7F6E
NTC_P2P_HASH_BIN=\u6587\u4EF6\u6807\u8BC6\u914D\u7F6E
NTC_P2P_KEYWORDS=eMule\u641C\u7D22\u5173\u952E\u8BCD\u914D\u7F6E
s_asn=\u5BA2\u6237\u7AEFASN
d_asn=\u670D\u52A1\u7AEFASN

View File

@@ -11,7 +11,7 @@
</style>
<script type="text/javascript">top.$.jBox.closeTip();</script>
<c:if test="${not empty content}">
<c:if test="${not empty type}"><c:set var="ctype" value="${type}"/></c:if><c:if test="${empty type}"><c:set var="ctype" value="${(!fn:containsIgnoreCase(content,'失败') && !fn:containsIgnoreCase(content,'failed') && !fn:containsIgnoreCase(content,'Exception') && !fn:containsIgnoreCase(content,'null')&& !fn:containsIgnoreCase(content,'出错'))?'success':'error'}"/></c:if>
<c:if test="${not empty type}"><c:set var="ctype" value="${type}"/></c:if><c:if test="${empty type}"><c:set var="ctype" value="${(!fn:containsIgnoreCase(content,'失败') && !fn:containsIgnoreCase(content,'failed') && !fn:containsIgnoreCase(content,'Exception') && !fn:containsIgnoreCase(content,'null')&& !fn:containsIgnoreCase(content,'出错')&& !fn:containsIgnoreCase(content,'error'))?'success':'error'}"/></c:if>
<div id="messageBox" class="alert alert-${ctype}"><button data-dismiss="alert" class="close">×</button><spring:message code="${content}"/></div>
<script type="text/javascript">if(!top.$.jBox.tip.mess) {top.$.jBox.tip.mess=1;top.$.jBox.tip("<spring:message code='${content}'/>","${ctype}",{persistent:true,opacity:0});$("#messageBox").show();}</script>
</c:if>