修改多域配置IP表单界面的ip信息动态增加属性
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
<title></title>
|
<title></title>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(function(){
|
$(function(){
|
||||||
|
switchIpInfo($("select[name$='ipType']"),"ipType");
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
</head>
|
</head>
|
||||||
@@ -67,7 +67,7 @@ $(function(){
|
|||||||
<label class="control-label col-md-3"><font color="red">*</font>
|
<label class="control-label col-md-3"><font color="red">*</font>
|
||||||
<spring:message code="client_ip" /></label>
|
<spring:message code="client_ip" /></label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input class="form-control required" type="text"
|
<input class="form-control required ipCheck" type="text"
|
||||||
name="${cfgName}[${status.index }].srcIpAddress"
|
name="${cfgName}[${status.index }].srcIpAddress"
|
||||||
value="${ipPort.srcIpAddress}">
|
value="${ipPort.srcIpAddress}">
|
||||||
</div>
|
</div>
|
||||||
@@ -87,7 +87,7 @@ $(function(){
|
|||||||
<c:if test="${ipPort.portPattern==1 || ipPort.portPattern== null}">selected</c:if>>port</option>
|
<c:if test="${ipPort.portPattern==1 || ipPort.portPattern== null}">selected</c:if>>port</option>
|
||||||
<option value="2"
|
<option value="2"
|
||||||
<c:if test="${ipPort.portPattern==2}">selected</c:if>><spring:message
|
<c:if test="${ipPort.portPattern==2}">selected</c:if>><spring:message
|
||||||
code="port_range" /></option>
|
code="subnet" /></option>
|
||||||
</select>
|
</select>
|
||||||
</div>
|
</div>
|
||||||
<div for="${cfgName}[${status.index }].portPattern"></div>
|
<div for="${cfgName}[${status.index }].portPattern"></div>
|
||||||
@@ -98,7 +98,7 @@ $(function(){
|
|||||||
<label class="control-label col-md-3"><font color="red">*</font>
|
<label class="control-label col-md-3"><font color="red">*</font>
|
||||||
<spring:message code="client_port" /></label>
|
<spring:message code="client_port" /></label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input class="form-control required" type="text"
|
<input class="form-control required portCheck" type="text"
|
||||||
name="${cfgName}[${status.index }].srcPort"
|
name="${cfgName}[${status.index }].srcPort"
|
||||||
value="${ipPort.srcPort}">
|
value="${ipPort.srcPort}">
|
||||||
</div>
|
</div>
|
||||||
@@ -106,13 +106,13 @@ $(function(){
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="row hidden destIpPort">
|
<div class="row hidden destPort">
|
||||||
<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>
|
<label class="control-label col-md-3"><font color="red">*</font>
|
||||||
<spring:message code="server_ip" /></label>
|
<spring:message code="server_ip" /></label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input class="form-control required" type="text"
|
<input class="form-control required ipCheck" type="text"
|
||||||
name="${cfgName}[${status.index }].destIpAddress"
|
name="${cfgName}[${status.index }].destIpAddress"
|
||||||
value="${ipPort.destIpAddress}">
|
value="${ipPort.destIpAddress}">
|
||||||
</div>
|
</div>
|
||||||
@@ -124,7 +124,7 @@ $(function(){
|
|||||||
<label class="control-label col-md-3"><font color="red">*</font>
|
<label class="control-label col-md-3"><font color="red">*</font>
|
||||||
<spring:message code="server_port" /></label>
|
<spring:message code="server_port" /></label>
|
||||||
<div class="col-md-6">
|
<div class="col-md-6">
|
||||||
<input class="form-control required" type="text"
|
<input class="form-control required portCheck" type="text"
|
||||||
name="${cfgName}[${status.index }].destPort"
|
name="${cfgName}[${status.index }].destPort"
|
||||||
value="${ipPort.destPort}">
|
value="${ipPort.destPort}">
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user