basic和behavior也加上dkc的自定义域,界面暂时隐藏,调整app的dns spoofing的复选框位置;
APP Identify IP修改为APP IP; DK GL修改为Correlation; 调整导入的stream模块自定义域设置; https 的contol doLog默认为1,可选择; https 的cache和intercep默认为2,不变;
This commit is contained in:
@@ -17,6 +17,11 @@ $(function(){
|
||||
$(".ratelimitAction").find("input[name='userRegion1']").on("change",function(){
|
||||
switchRateLimitType();
|
||||
});
|
||||
if($(".action:checked").val()==16){
|
||||
$(".dnsIpSpoofing").removeClass("hidden");
|
||||
}else{
|
||||
$(".dnsIpSpoofing").addClass("hidden");
|
||||
}
|
||||
$(".action").on("change", function() {
|
||||
$("#serviceId").val($(this).attr("serviceId"));
|
||||
$("#protocolId").val($(this).attr("protocolId"));
|
||||
@@ -26,6 +31,11 @@ $(function(){
|
||||
}else{
|
||||
$(".ratelimitAction").addClass("hidden");
|
||||
}
|
||||
if($(".action:checked").val()==16){
|
||||
$(".dnsIpSpoofing").removeClass("hidden");
|
||||
}else{
|
||||
$(".dnsIpSpoofing").addClass("hidden");
|
||||
}
|
||||
switchAction(action);
|
||||
if($(this).val()==1){
|
||||
$(".ipPortAdd").click();
|
||||
@@ -268,10 +278,10 @@ var switchRateLimitType=function(){
|
||||
</c:forEach>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6 hidden">
|
||||
<%-- <div class="col-md-6 dnsIpSpoofing hidden">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-3">
|
||||
<input type="checkbox" name="userRegion4" class="child-checks" <%-- <c:if test="${_cfg.userRegion4 eq '1' }"> --%>checked<%-- </c:if> --%> value="1">
|
||||
<input type="checkbox" name="userRegion4" class="child-checks" <c:if test='${_cfg.userRegion4 eq "8" }'> checked</c:if> value="8">
|
||||
</label>
|
||||
<div class="col-md-6">
|
||||
<label class="control-label">
|
||||
@@ -280,7 +290,7 @@ var switchRateLimitType=function(){
|
||||
</div>
|
||||
<div for="userRegion4"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div> --%>
|
||||
</div>
|
||||
<div class="row ratelimitAction hidden">
|
||||
<h4 class="form-section">
|
||||
|
||||
@@ -387,7 +387,7 @@
|
||||
<th><input type="checkbox" class="i-checks" id="checkAll"></th>
|
||||
<th column="cfg_id" class="sort-column r.compile_id" style="display: none"><spring:message code="cfg_id"/></th>
|
||||
<th column="config_describe" class="sort-column r.cfg_desc cfgDesc"><spring:message code="config_describe"/></th>
|
||||
<%-- <th column="behaviour_type" ><spring:message code="behaviour_type"/></th> --%>
|
||||
<%-- <th column="user_region4" ><spring:message code="block_by_app_server_ip"/></th> --%>
|
||||
<th column="block_type" class="sort-column r.action"><spring:message code="block_type"/></th>
|
||||
<th column="ratelimit" ><spring:message code="ratelimit"/></th>
|
||||
<th column="basic_protocol" ><spring:message code="basic_protocol"/></th>
|
||||
@@ -417,6 +417,11 @@
|
||||
</td>
|
||||
<td>${cfg.compileId }</td>
|
||||
<td>${cfg.cfgDesc }</td>
|
||||
<%-- <td>
|
||||
<c:if test="${cfg.userRegion4 eq '8'}">
|
||||
<spring:message code="block_by_app_server_ip"/>
|
||||
</c:if>
|
||||
</td> --%>
|
||||
<td>
|
||||
<c:forEach items="${fns:getDictList('SERVICE_ACTION') }" var="dict">
|
||||
<c:if test="${dict.itemCode eq cfg.action }">
|
||||
@@ -434,7 +439,6 @@
|
||||
</c:if>
|
||||
</td>
|
||||
<td class="appCode" id="${cfg.appCode }">${cfg.appCode }</td>
|
||||
<%--<td class="behavCode" id="${cfg.behavCode }">${cfg.behavCode }</td>--%>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${cfg.isAudit eq '0'}"><span class="label label-danger"><spring:message code="created"></spring:message></span></c:when>
|
||||
|
||||
Reference in New Issue
Block a user