ip欺骗修改默认为缺省组,修改组名称为所属组
This commit is contained in:
@@ -73,10 +73,10 @@ $(function(){
|
|||||||
</div>
|
</div>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="control-label col-md-3"><spring:message code="group_name"/></label>
|
<label class="control-label col-md-3"><spring:message code="group"/></label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<select name="dnsStrategyId" class="selectpicker show-tick form-control required">
|
<select name="dnsStrategyId" class="selectpicker show-tick form-control required">
|
||||||
<option value="0" ><spring:message code="select"/></option>
|
<option value="0" ><spring:message code="default_group"/></option>
|
||||||
<c:forEach items="${policyGroups }" var="policyGroup">
|
<c:forEach items="${policyGroups }" var="policyGroup">
|
||||||
<option value="${policyGroup.groupId}" <c:if test="${_cfg.dnsStrategyId==policyGroup.groupId }">selected</c:if>><spring:message code="${policyGroup.groupName}"/></option>
|
<option value="${policyGroup.groupId}" <c:if test="${_cfg.dnsStrategyId==policyGroup.groupId }">selected</c:if>><spring:message code="${policyGroup.groupName}"/></option>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
@@ -159,7 +159,7 @@ $(function(){
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row port">
|
<%-- <div class="row port">
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<div class="form-group">
|
<div class="form-group">
|
||||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="port_pattern"/></label>
|
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="port_pattern"/></label>
|
||||||
@@ -182,8 +182,10 @@ $(function(){
|
|||||||
<div for="destPort"></div>
|
<div for="destPort"></div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div> --%>
|
||||||
|
<input type="hidden" name="portPattern" value="1">
|
||||||
<input type="hidden" name="srcPort" value="0">
|
<input type="hidden" name="srcPort" value="0">
|
||||||
|
<input type="hidden" name="destPort" value="0">
|
||||||
<input type="hidden" name="srcIpAddress" value="0.0.0.0">
|
<input type="hidden" name="srcIpAddress" value="0.0.0.0">
|
||||||
<input type="hidden" name="direction" value="1">
|
<input type="hidden" name="direction" value="1">
|
||||||
<input type="hidden" name="protocolId" value="0">
|
<input type="hidden" name="protocolId" value="0">
|
||||||
|
|||||||
@@ -103,7 +103,7 @@
|
|||||||
<form:select path="seltype" class="selectpicker select2 input-small" >
|
<form:select path="seltype" class="selectpicker select2 input-small" >
|
||||||
<form:option value="cfgDesc"><spring:message code="config_describe"></spring:message></form:option>
|
<form:option value="cfgDesc"><spring:message code="config_describe"></spring:message></form:option>
|
||||||
<form:option value="destIpAddress"><spring:message code="IP"></spring:message></form:option>
|
<form:option value="destIpAddress"><spring:message code="IP"></spring:message></form:option>
|
||||||
<form:option value="destPort"><spring:message code="port"></spring:message></form:option>
|
<%-- <form:option value="destPort"><spring:message code="port"></spring:message></form:option> --%>
|
||||||
</form:select>
|
</form:select>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -276,12 +276,12 @@
|
|||||||
<th><input type="checkbox" class="i-checks" id="checkAll"></th>
|
<th><input type="checkbox" class="i-checks" id="checkAll"></th>
|
||||||
<%-- <th><spring:message code="seq"/></th> --%>
|
<%-- <th><spring:message code="seq"/></th> --%>
|
||||||
<th><spring:message code="config_describe"/></th>
|
<th><spring:message code="config_describe"/></th>
|
||||||
<th><spring:message code="policy_name"/></th>
|
<th><spring:message code="group"/></th>
|
||||||
<th><spring:message code="ip_type"/></th>
|
<th><spring:message code="ip_type"/></th>
|
||||||
<th><spring:message code="IP"/></th>
|
<th><spring:message code="IP"/></th>
|
||||||
<th><spring:message code="port"/></th>
|
<%-- <th><spring:message code="port"/></th> --%>
|
||||||
<th><spring:message code="ip_pattern"/></th>
|
<th><spring:message code="ip_pattern"/></th>
|
||||||
<th><spring:message code="port_pattern"/></th>
|
<%-- <th><spring:message code="port_pattern"/></th> --%>
|
||||||
<th><spring:message code="block_type"/></th>
|
<th><spring:message code="block_type"/></th>
|
||||||
<th><spring:message code="letter"/></th>
|
<th><spring:message code="letter"/></th>
|
||||||
<th><spring:message code="classification"/></th>
|
<th><spring:message code="classification"/></th>
|
||||||
@@ -304,24 +304,28 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td><input type="checkbox" class="i-checks" id="${cfg.cfgId}" compileId="${cfg.compileId}" value="${cfg.isAudit}"></td>
|
<td><input type="checkbox" class="i-checks" id="${cfg.cfgId}" compileId="${cfg.compileId}" value="${cfg.isAudit}"></td>
|
||||||
<td>${cfg.cfgDesc }</td>
|
<td>${cfg.cfgDesc }</td>
|
||||||
<td>${cfg.dnsStrategyName }</td>
|
<td>${cfg.dnsStrategyName }
|
||||||
|
<c:if test="${empty cfg.dnsStrategyName}">
|
||||||
|
<spring:message code="default_group"/>
|
||||||
|
</c:if>
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
<c:forEach items="${fns:getDictList('IP_TYPE')}" var="ipTypeC">
|
<c:forEach items="${fns:getDictList('IP_TYPE')}" var="ipTypeC">
|
||||||
<c:if test="${cfg.ipType==ipTypeC.itemCode}"><spring:message code="${ipTypeC.itemValue }"/></c:if>
|
<c:if test="${cfg.ipType==ipTypeC.itemCode}"><spring:message code="${ipTypeC.itemValue }"/></c:if>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
</td>
|
</td>
|
||||||
<td>${cfg.destIpAddress }</td>
|
<td>${cfg.destIpAddress }</td>
|
||||||
<td>${cfg.destPort }</td>
|
<%-- <td>${cfg.destPort }</td> --%>
|
||||||
<td>
|
<td>
|
||||||
<c:forEach items="${fns:getDictList('IP_PATTERN')}" var="ipPatternC">
|
<c:forEach items="${fns:getDictList('IP_PATTERN')}" var="ipPatternC">
|
||||||
<c:if test="${cfg.ipPattern==ipPatternC.itemCode}"><spring:message code="${ipPatternC.itemValue }"/></c:if>
|
<c:if test="${cfg.ipPattern==ipPatternC.itemCode}"><spring:message code="${ipPatternC.itemValue }"/></c:if>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
</td>
|
</td>
|
||||||
<td>
|
<%-- <td>
|
||||||
<c:forEach items="${fns:getDictList('PORT_PATTERN')}" var="portPatternC">
|
<c:forEach items="${fns:getDictList('PORT_PATTERN')}" var="portPatternC">
|
||||||
<c:if test="${cfg.portPattern eq portPatternC.itemCode}"><spring:message code="${portPatternC.itemValue }"/></c:if>
|
<c:if test="${cfg.portPattern eq portPatternC.itemCode}"><spring:message code="${portPatternC.itemValue }"/></c:if>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
</td>
|
</td> --%>
|
||||||
<td>
|
<td>
|
||||||
<c:forEach items="${fns:getDictList('SERVICE_ACTION') }" var="dict">
|
<c:forEach items="${fns:getDictList('SERVICE_ACTION') }" var="dict">
|
||||||
<c:if test="${dict.itemCode eq cfg.action }">
|
<c:if test="${dict.itemCode eq cfg.action }">
|
||||||
|
|||||||
Reference in New Issue
Block a user