增加ssl配置功能
This commit is contained in:
@@ -13,11 +13,11 @@ $(function(){
|
||||
<c:if
|
||||
test="${_cfg.functionId eq regionDistrict.functionId and regionDistrict.regionType eq 1}">
|
||||
<!-- regionDistrict.regionType==1表示IP类配置 -->
|
||||
<input type="hidden" name="${cfgName}[${status.index }].cfgType" value="${regionDistrict.configRegionValue }">
|
||||
<input type="hidden" name="${cfgName}[${status.index }].cfgRegionCode" value="${regionDistrict.configRegionCode }">
|
||||
<input type="hidden" name="${cfgName}.cfgType" value="${regionDistrict.configRegionValue }">
|
||||
<input type="hidden" name="${cfgName}.cfgRegionCode" value="${regionDistrict.configRegionCode }">
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
<input type="hidden" name="${cfgName}[${status.index }].protocolId" id="protocolId" value="">
|
||||
<input type="hidden" name="${cfgName}.protocolId" id="protocolId" value="">
|
||||
<div class="row">
|
||||
<div class="pull-right">
|
||||
<span class="glyphicon glyphicon-remove pull-right" title="remove"
|
||||
@@ -30,7 +30,7 @@ $(function(){
|
||||
<label class="control-label col-md-3"><font color="red">*</font>
|
||||
<spring:message code="ip_type" /></label>
|
||||
<div class="col-md-6">
|
||||
<select name="${cfgName}[${status.index }].ipType"
|
||||
<select name="${cfgName}.ipType"
|
||||
class="selectpicker show-tick form-control required">
|
||||
<c:forEach items="${fns:getDictList('IP_TYPE')}" var="ipType">
|
||||
<option value="${ipType.itemCode}" <c:if test="${ipPort.ipType==ipType.itemCode}">selected</c:if> >
|
||||
@@ -39,7 +39,7 @@ $(function(){
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
<div for="${cfgName}[${status.index }].ipType"></div>
|
||||
<div for="${cfgName}.ipType"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -49,7 +49,7 @@ $(function(){
|
||||
<label class="control-label col-md-3"><font color="red">*</font>
|
||||
<spring:message code="ip_pattern" /></label>
|
||||
<div class="col-md-6">
|
||||
<select name="${cfgName}[${status.index }].ipPattern"
|
||||
<select name="${cfgName}.ipPattern"
|
||||
class="selectpicker show-tick form-control required">
|
||||
<option value="1"
|
||||
<c:if test="${ipPort.ipPattern==1 || ipPort.ipPattern==null}">selected</c:if>><spring:message
|
||||
@@ -61,7 +61,7 @@ $(function(){
|
||||
<c:if test="${ipPort.ipPattern==3}">selected</c:if>>IP</option>
|
||||
</select>
|
||||
</div>
|
||||
<div for="${cfgName}[${status.index }].ipPattern"></div>
|
||||
<div for="${cfgName}.ipPattern"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
@@ -70,10 +70,10 @@ $(function(){
|
||||
<spring:message code="client_ip" /></label>
|
||||
<div class="col-md-6">
|
||||
<input class="form-control required ipCheck" type="text"
|
||||
name="${cfgName}[${status.index }].srcIpAddress"
|
||||
name="${cfgName}.srcIpAddress"
|
||||
value="${ipPort.srcIpAddress}">
|
||||
</div>
|
||||
<div for="${cfgName}[${status.index }].srcIpAddress"></div>
|
||||
<div for="${cfgName}.srcIpAddress"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -83,7 +83,7 @@ $(function(){
|
||||
<label class="control-label col-md-3"><font color="red">*</font>
|
||||
<spring:message code="port_pattern" /></label>
|
||||
<div class="col-md-6">
|
||||
<select name="${cfgName}[${status.index }].portPattern"
|
||||
<select name="${cfgName}.portPattern"
|
||||
class="selectpicker show-tick form-control required">
|
||||
<option value="1"
|
||||
<c:if test="${ipPort.portPattern==1 || ipPort.portPattern== null}">selected</c:if>>port</option>
|
||||
@@ -92,7 +92,7 @@ $(function(){
|
||||
code="subnet" /></option>
|
||||
</select>
|
||||
</div>
|
||||
<div for="${cfgName}[${status.index }].portPattern"></div>
|
||||
<div for="${cfgName}.portPattern"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
@@ -101,10 +101,10 @@ $(function(){
|
||||
<spring:message code="client_port" /></label>
|
||||
<div class="col-md-6">
|
||||
<input class="form-control required portCheck" type="text"
|
||||
name="${cfgName}[${status.index }].srcPort"
|
||||
name="${cfgName}.srcPort"
|
||||
value="${ipPort.srcPort}">
|
||||
</div>
|
||||
<div for="${cfgName}[${status.index }].srcPort"></div>
|
||||
<div for="${cfgName}.srcPort"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -115,10 +115,10 @@ $(function(){
|
||||
<spring:message code="server_ip" /></label>
|
||||
<div class="col-md-6">
|
||||
<input class="form-control required ipCheck" type="text"
|
||||
name="${cfgName}[${status.index }].destIpAddress"
|
||||
name="${cfgName}.destIpAddress"
|
||||
value="${ipPort.destIpAddress}">
|
||||
</div>
|
||||
<div for="${cfgName}[${status.index }].destIpAddress"></div>
|
||||
<div for="${cfgName}.destIpAddress"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
@@ -127,10 +127,10 @@ $(function(){
|
||||
<spring:message code="server_port" /></label>
|
||||
<div class="col-md-6">
|
||||
<input class="form-control required portCheck" type="text"
|
||||
name="${cfgName}[${status.index }].destPort"
|
||||
name="${cfgName}.destPort"
|
||||
value="${ipPort.destPort}">
|
||||
</div>
|
||||
<div for="${cfgName}[${status.index }].destPort"></div>
|
||||
<div for="${cfgName}.destPort"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -140,7 +140,7 @@ $(function(){
|
||||
<label class="control-label col-md-3"><font color="red">*</font>
|
||||
<spring:message code="protocol" /></label>
|
||||
<div class="col-md-6">
|
||||
<select name="${cfgName}[${status.index }].protocol"
|
||||
<select name="${cfgName}.protocol"
|
||||
class="selectpicker show-tick form-control required">
|
||||
<option value=""><spring:message code="select" /></option>
|
||||
<option value="6"
|
||||
@@ -152,7 +152,7 @@ $(function(){
|
||||
code="arbitrary" /></option>
|
||||
</select>
|
||||
</div>
|
||||
<div for="${cfgName}[${status.index }].protocol"></div>
|
||||
<div for="${cfgName}.protocol"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
@@ -160,7 +160,7 @@ $(function(){
|
||||
<label class="control-label col-md-3"><font color="red">*</font>
|
||||
<spring:message code="direction" /></label>
|
||||
<div class="col-md-6">
|
||||
<select name="${cfgName}[${status.index }].direction"
|
||||
<select name="${cfgName}.direction"
|
||||
class="selectpicker show-tick form-control required">
|
||||
<option value=""><spring:message code="select" /></option>
|
||||
<option value="0"
|
||||
@@ -174,7 +174,7 @@ $(function(){
|
||||
<spring:message code="degress" /></option>
|
||||
</select>
|
||||
</div>
|
||||
<div for="${cfgName}[${status.index }].direction"></div>
|
||||
<div for="${cfgName}.direction"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user