可信证书内置证书功能添加
This commit is contained in:
@@ -71,7 +71,7 @@ var submitCrlFrom=function(){
|
||||
<div class="modal-content">
|
||||
<div class="modal-header">
|
||||
<h5 class="modal-title" id="exampleModalLabel">
|
||||
<spring:message code="add_cert_file" />
|
||||
<spring:message code="import_built_cert_file" />
|
||||
</h5>
|
||||
<button type="button" class="close" data-dismiss="modal"
|
||||
aria-label="Close">
|
||||
@@ -90,7 +90,7 @@ var submitCrlFrom=function(){
|
||||
<input type="hidden" name="isValid" value="1">
|
||||
<input type="hidden" name="isAudit" value="1">
|
||||
<input type="hidden" name="functionId" value="${cfg.functionId }">
|
||||
<input type="hidden" name="serviceId" value="571">
|
||||
<input type="hidden" name="serviceId" value="640">
|
||||
<input type="hidden" name="cfgType" value="PXY_PROFILE_TRUSTED_CA_CERT">
|
||||
<input type="hidden" name="cfgRegionCode" value="">
|
||||
<input type="hidden" name="requestId" value="0">
|
||||
|
||||
@@ -126,12 +126,14 @@
|
||||
<spring:message code="add"></spring:message></button>
|
||||
|
||||
</shiro:hasPermission>
|
||||
<shiro:hasPermission name="proxy:trustedCert:built-in">
|
||||
|
||||
<c:if test="${!hasBuiltIn}">
|
||||
<button type="button" class="btn btn-primary"
|
||||
onClick="addCrlFile(this)">
|
||||
<i class="fa fa-plus"></i>
|
||||
<spring:message code="import_crl"></spring:message></button>
|
||||
</shiro:hasPermission>
|
||||
<spring:message code="import_built_cert_file"></spring:message></button>
|
||||
</c:if>
|
||||
|
||||
</div>
|
||||
|
||||
<h3 class="page-title">
|
||||
@@ -374,7 +376,8 @@
|
||||
<th column="cert_name" class="sort-column r.cfg_desc"><spring:message code="cert_name" /></th>
|
||||
<th column="certificate_file" ><spring:message code="certificate" /> <spring:message code="file" /></th>
|
||||
<th column="issuer" ><spring:message code="issuer"/></th>
|
||||
<th column="crl_file" ><spring:message code="crl"/> <spring:message code="file"/></th>
|
||||
<%--<th column="crl_file" ><spring:message code="crl"/> <spring:message code="file"/></th>--%>
|
||||
<th column="built_in" ><spring:message code="built_in"/></th>
|
||||
<th column="is_audit" ><spring:message code="is_audit"/></th>
|
||||
<%-- <th column="whether_area_block" ><spring:message code="whether_area_block"/></th> --%>
|
||||
<th column="letter" ><spring:message code="letter"/></th>
|
||||
@@ -394,7 +397,9 @@
|
||||
<c:forEach items="${page.list }" var="cfg" varStatus="status" step="1">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="checkbox" class="i-checks" serviceId="${cfg.serviceId}" id="${cfg.cfgId}" value="${cfg.isAudit}">
|
||||
<c:if test="${cfg.builtIn==0}">
|
||||
<input type="checkbox" class="i-checks" serviceId="${cfg.serviceId}" id="${cfg.cfgId}" value="${cfg.isAudit}">
|
||||
</c:if>
|
||||
</td>
|
||||
<td>
|
||||
<c:set var="crlFile" value="${fns:getTrustedCrlByCerId(cfg.compileId) }"></c:set>
|
||||
@@ -414,8 +419,8 @@
|
||||
${fn:substring(cfg.issuer,0,20) }
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<%-- <button class="btn revision popovers purple-stripe " data-content="${crlInfo}"><spring:message code="view"/></button> --%>
|
||||
<%-- <td>
|
||||
<button class="btn revision popovers purple-stripe " data-content="${crlInfo}"><spring:message code="view"/></button>
|
||||
<c:if test="${(cfg.isAudit eq '0') || (cfg.isAudit eq '1')}">
|
||||
<a class="fa fa-cloud-upload" href="javascript:void(0);" onclick="addCrlFile(this);"
|
||||
cfgDesc="${cfg.cfgDesc }"
|
||||
@@ -439,6 +444,10 @@
|
||||
class="tooltips" data-flag="false" data-html="true" data-placement="top">
|
||||
${fn:substring(crlFile,0,20) }
|
||||
</a>
|
||||
</td> --%>
|
||||
<td>
|
||||
<c:if test="${cfg.builtIn==0}"><spring:message code="no"/></c:if>
|
||||
<c:if test="${cfg.builtIn==1}"><spring:message code="yes"/></c:if>
|
||||
</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
|
||||
Reference in New Issue
Block a user