欺骗ip配置(未走maat)
This commit is contained in:
473
src/main/webapp/WEB-INF/views/cfg/dnsIpCfgForm.jsp
Normal file
473
src/main/webapp/WEB-INF/views/cfg/dnsIpCfgForm.jsp
Normal file
@@ -0,0 +1,473 @@
|
||||
<%@ page contentType="text/html;charset=UTF-8"%>
|
||||
<%@ include file="/WEB-INF/include/taglib.jsp"%>
|
||||
<html>
|
||||
<head>
|
||||
<title><spring:message code="${cfgName}"></spring:message></title>
|
||||
<link href="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/css/bootstrap-select.min.css" rel="stylesheet"/>
|
||||
<script src="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/js/bootstrap-select.min.js"></script>
|
||||
<c:choose>
|
||||
<c:when test="${cookie.Language.value eq 'zh_CN'}">
|
||||
<script src="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/js/i18n/defaults-zh_CN.min.js"></script>
|
||||
</c:when>
|
||||
<c:when test="${cookie.Language.value eq 'en'}">
|
||||
<script src="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/js/i18n/defaults-en_US.min.js"></script>
|
||||
</c:when>
|
||||
<c:when test="${cookie.Language.value eq 'ru_RU'}">
|
||||
<script src="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/js/i18n/defaults-ru_RU.min.js"></script>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<script src="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/js/i18n/defaults-en_US.min.js"></script>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<script type="text/javascript">
|
||||
$(function(){
|
||||
$("#submitBtn").on("click",function(){
|
||||
$("#inputFrom").attr("action","${ctx}/cfg/dnsIp/save");
|
||||
$("#inputFrom").submit();
|
||||
});
|
||||
$("#cancel").on("click",function(){
|
||||
window.history.back();
|
||||
});
|
||||
$("select[name='ipType']").on("change",function(){
|
||||
var type=$(this).val();
|
||||
if(4==type){
|
||||
if(!$("input[name='srcIpMask']").val()){
|
||||
$("input[name='srcIpMask']").val("255.255.255.255");
|
||||
}else if($("input[name='srcIpMask']").val()=="FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF"){
|
||||
$("input[name='srcIpMask']").val("255.255.255.255");
|
||||
}
|
||||
if(!$("input[name='dstIpMask']").val()){
|
||||
$("input[name='dstIpMask']").val("255.255.255.255");
|
||||
}else if($("input[name='dstIpMask']").val()=="FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF"){
|
||||
$("input[name='dstIpMask']").val("255.255.255.255");
|
||||
}
|
||||
if(!$("input[name='srcIp']").val()){
|
||||
$("input[name='srcIp']").val("0.0.0.0");
|
||||
}else if($("input[name='srcIp']").val()=="::"){
|
||||
$("input[name='srcIp']").val("0.0.0.0");
|
||||
}
|
||||
if(!$("input[name='dstIp']").val()){
|
||||
$("input[name='dstIp']").val("0.0.0.0");
|
||||
}else if($("input[name='dstIp']").val()=="::"){
|
||||
$("input[name='dstIp']").val("0.0.0.0");
|
||||
}
|
||||
}
|
||||
if(6==type){
|
||||
if(!$("input[name='srcIpMask']").val()){
|
||||
$("input[name='srcIpMask']").val("FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF");
|
||||
}else if($("input[name='srcIpMask']").val()=="255.255.255.255"){
|
||||
$("input[name='srcIpMask']").val("FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF");
|
||||
}
|
||||
if(!$("input[name='dstIpMask']").val()){
|
||||
$("input[name='dstIpMask']").val("FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF");
|
||||
}else if($("input[name='dstIpMask']").val()=="255.255.255.255"){
|
||||
$("input[name='dstIpMask']").val("FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF:FFFF");
|
||||
}
|
||||
if(!$("input[name='srcIp']").val()){
|
||||
$("input[name='srcIp']").val("::");
|
||||
}else if($("input[name='srcIp']").val()=="0.0.0.0"){
|
||||
$("input[name='srcIp']").val("::");
|
||||
}
|
||||
if(!$("input[name='dstIp']").val()){
|
||||
$("input[name='dstIp']").val("::");
|
||||
}else if($("input[name='dstIp']").val()=="0.0.0.0"){
|
||||
$("input[name='dstIp']").val("::");
|
||||
}
|
||||
}
|
||||
});
|
||||
$("#inputFrom").validate({
|
||||
rules: {
|
||||
cfgDesc: {
|
||||
required: true,
|
||||
},
|
||||
ipType: {
|
||||
required: true,
|
||||
},
|
||||
srcIp: {
|
||||
required: true,
|
||||
checkIp: true
|
||||
},
|
||||
srcIpMask: {
|
||||
required: true,
|
||||
},
|
||||
srcPort: {
|
||||
required: true,
|
||||
max: 65535,
|
||||
min: 0
|
||||
},
|
||||
srcPortMask: {
|
||||
required: true,
|
||||
},
|
||||
dstIp: {
|
||||
required: true,
|
||||
checkIp: true
|
||||
},
|
||||
dstIpMask: {
|
||||
required: true,
|
||||
},
|
||||
dstPort: {
|
||||
required: true,
|
||||
max: 65535,
|
||||
min: 0
|
||||
},
|
||||
dstPortMask: {
|
||||
required: true,
|
||||
},
|
||||
direction: {
|
||||
required: true,
|
||||
},
|
||||
protocol: {
|
||||
required: true,
|
||||
},
|
||||
requestId: {
|
||||
required: true,
|
||||
}
|
||||
},
|
||||
messages: {
|
||||
cfgDesc: {
|
||||
required: '<spring:message code="required"/>',
|
||||
},
|
||||
ipType: {
|
||||
required: '<spring:message code="required"/>',
|
||||
},
|
||||
srcIp: {
|
||||
required: '<spring:message code="required"/>',
|
||||
},
|
||||
srcIpMask: {
|
||||
required: '<spring:message code="required"/>',
|
||||
},
|
||||
srcPort: {
|
||||
required: '<spring:message code="required"/>',
|
||||
max: '范围0-65535!',
|
||||
min: '范围0-65535!'
|
||||
},
|
||||
srcPortMask: {
|
||||
required: '<spring:message code="required"/>',
|
||||
},
|
||||
dstIp: {
|
||||
required: '<spring:message code="required"/>',
|
||||
},
|
||||
dstIpMask: {
|
||||
required: '<spring:message code="required"/>',
|
||||
},
|
||||
dstPort: {
|
||||
required: '<spring:message code="required"/>',
|
||||
max: '范围0-65535!',
|
||||
min: '范围0-65535!'
|
||||
},
|
||||
dstPortMask: {
|
||||
required: '<spring:message code="required"/>',
|
||||
},
|
||||
direction: {
|
||||
required: '<spring:message code="required"/>',
|
||||
},
|
||||
protocol: {
|
||||
required: '<spring:message code="required"/>',
|
||||
},
|
||||
requestId: {
|
||||
required: '<spring:message code="required"/>',
|
||||
}
|
||||
},
|
||||
errorPlacement: function(error,element){
|
||||
$(element).parents(".form-group").find("div[for='"+element.attr("name")+"']").append(error);
|
||||
},
|
||||
submitHandler: function(form){
|
||||
//loading('onloading...');
|
||||
form.submit();
|
||||
},
|
||||
errorContainer: "#messageBox",
|
||||
});
|
||||
|
||||
$.validator.addMethod(
|
||||
"checkIp",
|
||||
function(value, element, params) {
|
||||
var checkIp;
|
||||
if ($("[name=ipType]").val() == 4) {
|
||||
checkIp = /((25[0-5]|2[0-4]\d|((1\d{2})|([1-9]?\d)))\.){3}(25[0-5]|2[0-4]\d|((1\d{2})|([1-9]?\d)))/;
|
||||
} else {
|
||||
checkIp = /\S+/;
|
||||
}
|
||||
return this.optional(element) || (checkIp.test(value) && (RegExp.$1 < 256 && RegExp.$2 < 256 && RegExp.$3 < 256 && RegExp.$4 < 256));
|
||||
},
|
||||
"请输入正确的IP!"
|
||||
);
|
||||
});
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="page-content">
|
||||
|
||||
<h3 class="page-title">
|
||||
<spring:message code="dns_ipdnsIpCfg"></spring:message>
|
||||
</h3>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="portlet box blue">
|
||||
<div class="portlet-title">
|
||||
<div class="caption">
|
||||
<i class="fa fa-gift"></i>
|
||||
<c:if test="${empty dnsIpCfg.cfgId}"><spring:message code="add"></spring:message></c:if>
|
||||
<c:if test="${not empty dnsIpCfg.cfgId}"><spring:message code="edit"></spring:message></c:if>
|
||||
</div>
|
||||
</div>
|
||||
<div class="portlet-body form">
|
||||
<!-- BEGIN FORM-->
|
||||
<form id="inputFrom" method="post" class="form-horizontal">
|
||||
<input name="cfgId" value="${dnsIpCfg.cfgId }" type="hidden"/>
|
||||
<div class="form-body">
|
||||
<div class="row">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="config_describe"/></label>
|
||||
<div class="col-md-6">
|
||||
<input class="form-control" type="text" id="cfgDesc" name="cfgDesc" value="${dnsIpCfg.cfgDesc}">
|
||||
</div>
|
||||
<div for="cfgDesc"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="ip_type"/></label>
|
||||
<div class="col-md-6">
|
||||
<select name="ipType" class="selectpicker show-tick form-control" title=<spring:message code="select"/>>
|
||||
<option value="4" <c:if test="${dnsIpCfg.ipType==4}">selected</c:if> >V4</option>
|
||||
<option value="6" <c:if test="${dnsIpCfg.ipType==6}">selected</c:if>>V6</option>
|
||||
</select>
|
||||
</div>
|
||||
<div for="ipType"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="client_ip"/></label>
|
||||
<div class="col-md-6">
|
||||
<input class="form-control" type="text" name="srcIp" value="${dnsIpCfg.srcIp}">
|
||||
</div>
|
||||
<div for="srcIp"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group ">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="client_address_mask"/></label>
|
||||
<div class="col-md-6">
|
||||
<input class="form-control" type="text" name="srcIpMask" value="${dnsIpCfg.srcIpMask}">
|
||||
</div>
|
||||
<div for="srcIpMask"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="client_port"/></label>
|
||||
<div class="col-md-6">
|
||||
<input class="form-control" type="text" name="srcPort" value="${dnsIpCfg.srcPort}">
|
||||
</div>
|
||||
<div for="srcPort"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group ">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="client_port_mask"/></label>
|
||||
<div class="col-md-6">
|
||||
<input class="form-control" type="text" name="srcPortMask" value="${dnsIpCfg.srcPortMask}">
|
||||
</div>
|
||||
<div for="srcPortMask"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="server_ip"/></label>
|
||||
<div class="col-md-6">
|
||||
<input class="form-control" type="text" name="dstIp" value="${dnsIpCfg.dstIp}">
|
||||
</div>
|
||||
<div for="dstIp"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group ">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="server_address_mask"/></label>
|
||||
<div class="col-md-6">
|
||||
<input class="form-control" type="text" name="dstIpMask" value="${dnsIpCfg.dstIpMask}">
|
||||
</div>
|
||||
<div for="dstIpMask"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="server_port"/></label>
|
||||
<div class="col-md-6">
|
||||
<input class="form-control" type="text" name="dstPort" value="${dnsIpCfg.dstPort}">
|
||||
</div>
|
||||
<div for="dstPort"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group ">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="server_port_mask"/></label>
|
||||
<div class="col-md-6">
|
||||
<input class="form-control" type="text" name="dstPortMask" value="${dnsIpCfg.dstPortMask}">
|
||||
</div>
|
||||
<div for="dstPortMask"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="direction"/></label>
|
||||
<div class="col-md-6">
|
||||
<select name="direction" class="selectpicker show-tick form-control" title=<spring:message code="select"/>>
|
||||
<option value="0" <c:if test="${dnsIpCfg.direction==0}">selected</c:if>><spring:message code="twoway"/></option>
|
||||
<option value="1" <c:if test="${dnsIpCfg.direction==1}">selected</c:if>><spring:message code="oneway"/></option>
|
||||
</select>
|
||||
</div>
|
||||
<div for="direction"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group ">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="protocol"/></label>
|
||||
<div class="col-md-6">
|
||||
<select name="protocol" class="selectpicker show-tick form-control" title=<spring:message code="select"/>>
|
||||
<option value="6" <c:if test="${dnsIpCfg.protocol==6}">selected</c:if>>TCP</option>
|
||||
<option value="17" <c:if test="${dnsIpCfg.protocol==17}">selected</c:if>>UDP</option>
|
||||
<option value="0" <c:if test="${dnsIpCfg.protocol==0}">selected</c:if>><spring:message code="arbitrary"/></option>
|
||||
</select>
|
||||
</div>
|
||||
<div for="protocol"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="letter"/></label>
|
||||
<div class="col-md-6">
|
||||
<select name="request.id" title=<spring:message code="select"/> data-live-search="true" data-live-search-placeholder="search" class="selectpicker form-control">
|
||||
<c:forEach items="${requestInfos}" var="requestInfo">
|
||||
<option value="${requestInfo.id}"
|
||||
<c:if test="${requestInfo.isValid==0 or requestInfo.isAudit==3}">disabled="disabled"</c:if>
|
||||
<c:if test="${requestInfo.id==dnsIpCfg.request.id}">selected</c:if>>${requestInfo.requestTitle}</option>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
<div for="request.id"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-3"><spring:message code="type"/></label>
|
||||
<div class="col-md-6">
|
||||
<select name="classify" multiple class="selectpicker form-control" title=<spring:message code="select"/>>
|
||||
|
||||
<c:forEach items="${fls}" var="fl">
|
||||
<c:choose>
|
||||
<c:when test="${dnsIpCfg.classify==null or dnsIpCfg.classify==''}">
|
||||
<option value="${fl.serviceDictId}">${fl.itemValue}</option>
|
||||
</c:when>
|
||||
<c:when test="${fn:contains(dnsIpCfg.classify,',')}">
|
||||
<option value="${fl.serviceDictId}"
|
||||
<c:forEach items="${fn:split(dnsIpCfg.classify,',')}" var="_classify">
|
||||
<c:if test="${fl.isValid==0}">disabled="disabled"</c:if>
|
||||
<c:if test="${fn:trim(fl.serviceDictId) eq _classify}">selected</c:if>
|
||||
</c:forEach>
|
||||
>${fl.itemValue}</option>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<option value="${fl.serviceDictId}"
|
||||
<c:if test="${fl.isValid==0}">disabled="disabled"</c:if>
|
||||
<c:if test="${fn:trim(fl.serviceDictId) eq _classify}">selected</c:if>
|
||||
>${fl.itemValue}</option>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<!--/span-->
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-3"><spring:message code="attribute"/></label>
|
||||
<div class="col-md-6">
|
||||
<select name="attribute" multiple class="selectpicker form-control" title=<spring:message code="select"/>>
|
||||
<c:forEach items="${xzs}" var="xz">
|
||||
<c:choose>
|
||||
<c:when test="${dnsIpCfg.attribute==null or dnsIpCfg.attribute==''}">
|
||||
<option value="${xz.serviceDictId}">${xz.itemValue}</option>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:forEach items="${fn:split(dnsIpCfg.attribute,',')}" var="_attribute">
|
||||
<option value="${xz.serviceDictId}"
|
||||
<c:if test="${xz.isValid==0}">disabled="disabled"</c:if>
|
||||
<c:if test="${fn:trim(xz.serviceDictId) eq _attribute}">selected</c:if>
|
||||
>${xz.itemValue}</option>
|
||||
</c:forEach>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label class="control-label col-md-3"><spring:message code="label"/></label>
|
||||
<div class="col-md-6">
|
||||
<select name="lable" multiple class="selectpicker form-control" title=<spring:message code="select"/>>
|
||||
<c:forEach items="${lables}" var="lable">
|
||||
<c:choose>
|
||||
<c:when test="${dnsIpCfg.lable==null or dnsIpCfg.lable==''}">
|
||||
<option value="${lable.serviceDictId}">${lable.itemValue}</option>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:forEach items="${fn:split(dnsIpCfg.lable,',')}" var="_lable">
|
||||
<option value="${lable.serviceDictId}"
|
||||
<c:if test="${lable.isValid==0}">disabled="disabled"</c:if>
|
||||
<c:if test="${fn:trim(lable.serviceDictId) eq _lable}">selected</c:if>
|
||||
>${lable.itemValue}</option>
|
||||
</c:forEach>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
</c:forEach>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-actions">
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="row">
|
||||
<div class="col-md-offset-3 col-md-8">
|
||||
<input id="submitBtn" type="submit" class="btn btn-circle blue" value=<spring:message code="submit"></spring:message>>
|
||||
<button id="cancel" type="button" class="btn btn-circle grey-salsa btn-outline" onclick="history.go(-1)"><spring:message code="cancel"></spring:message></button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-6"> </div>
|
||||
</div>
|
||||
</div>
|
||||
</form>
|
||||
<!-- END FORM-->
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
358
src/main/webapp/WEB-INF/views/cfg/dnsIpCfgList.jsp
Normal file
358
src/main/webapp/WEB-INF/views/cfg/dnsIpCfgList.jsp
Normal file
@@ -0,0 +1,358 @@
|
||||
<%@ page contentType="text/html;charset=UTF-8"%>
|
||||
<%@ include file="/WEB-INF/include/taglib.jsp"%>
|
||||
<html>
|
||||
<head>
|
||||
<title><spring:message code="${cfgName}"></spring:message></title>
|
||||
<link href="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/css/bootstrap-select.min.css" rel="stylesheet"/>
|
||||
<script src="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/js/bootstrap-select.min.js"></script>
|
||||
<c:choose>
|
||||
<c:when test="${cookie.Language.value eq 'zh_CN'}">
|
||||
<script src="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/js/i18n/defaults-zh_CN.min.js"></script>
|
||||
</c:when>
|
||||
<c:when test="${cookie.Language.value eq 'en'}">
|
||||
<script src="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/js/i18n/defaults-en_US.min.js"></script>
|
||||
</c:when>
|
||||
<c:when test="${cookie.Language.value eq 'ru_RU'}">
|
||||
<script src="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/js/i18n/defaults-ru_RU.min.js"></script>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<script src="${pageContext.request.contextPath}/static/global/plugins/bootstrap-select/js/i18n/defaults-en_US.min.js"></script>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
//筛选功能初始化
|
||||
filterActionInit();
|
||||
|
||||
//reset
|
||||
$(".resetBtn").on("click",function(){
|
||||
$("select.selectpicker").each(function(){
|
||||
$(this).selectpicker('val',$(this).find('option:first').val());
|
||||
$(this).find("option").attr("selected",false);
|
||||
$(this).find("option:first").attr("selected",true);
|
||||
});
|
||||
$(".Wdate").attr("value",'');
|
||||
$("#searchForm")[0].reset();
|
||||
});
|
||||
|
||||
$("#checkAll").click(function() {
|
||||
var checkFlag = $(this).prop("checked");
|
||||
$(".child-checks").prop("checked", checkFlag);
|
||||
});
|
||||
});
|
||||
//查询
|
||||
function page(n,s){
|
||||
$("#pageNo").val(n);
|
||||
$("#pageSize").val(s);
|
||||
$("#searchForm").attr("action", "${ctx}/cfg/dnsIp/list");
|
||||
$("#searchForm").submit();
|
||||
return false;
|
||||
}
|
||||
|
||||
function edit() {
|
||||
var checkboxes = $(".child-checks:checked");
|
||||
if (checkboxes.length == 0) {
|
||||
alertx("请选择一条配置");
|
||||
} else if (checkboxes.length > 1) {
|
||||
alertx("只能选择一条配置");
|
||||
} else {
|
||||
window.location.href = "${ctx}/cfg/dnsIp/form?cfgId=" + checkboxes.attr("id");
|
||||
}
|
||||
}
|
||||
|
||||
function delCfg() {
|
||||
var checkboxes = $(".child-checks:checked");
|
||||
if (checkboxes.length == 0) {
|
||||
alertx("请选择一条配置");
|
||||
} else {
|
||||
var ids;
|
||||
checkboxes.each(function(){
|
||||
ids = ids + $(this).attr("id") + ",";
|
||||
});
|
||||
confirmx("<spring:message code='confirm_message'/>", "${ctx}/cfg/dnsIp/delete?cfgIds=" + ids);
|
||||
}
|
||||
}
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div class="page-content">
|
||||
<div class="theme-panel hidden-xs hidden-sm">
|
||||
<button type="button" class="btn btn-default" onclick="javascript:window.location='${ctx}/cfg/dnsIp/list'"><spring:message code="refresh"></spring:message></button>
|
||||
<shiro:hasPermission name="system:service:view">
|
||||
<button type="button" class="btn btn-primary" onClick="javascript:window.location='${ctx}/cfg/dnsIp/form'"><spring:message code="add"></spring:message></button>
|
||||
</shiro:hasPermission>
|
||||
</div>
|
||||
|
||||
<h3 class="page-title">
|
||||
<spring:message code="dns_ip_cfg"></spring:message>
|
||||
<small><spring:message code="date_list"/></small>
|
||||
</h3>
|
||||
<h5 class="page-header"></h5>
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="portlet">
|
||||
<div class="portlet-body">
|
||||
<div class="row" >
|
||||
<sys:message content="${message}"/>
|
||||
<form:form id="searchForm" modelAttribute="dnsIpCfg" method="post" class="form-search">
|
||||
<input id="pageNo" name="pageNo" type="hidden" value="${page.pageNo}"/>
|
||||
<input id="pageSize" name="pageSize" type="hidden" value="${page.pageSize}"/>
|
||||
<input id="isFilterAction" name="isFilterAction" type="hidden" value="${dnsIpCfg.isFilterAction }"/>
|
||||
<!-- 搜索内容与操作按钮栏 -->
|
||||
<div class="col-md-12">
|
||||
<div class="pull-left">
|
||||
<form:select path="isAudit" class="selectpicker select2 input-small">
|
||||
<form:option value=""><spring:message code="all"></spring:message><spring:message code="state"></spring:message></form:option>
|
||||
<form:option value="0"><spring:message code="created"></spring:message></form:option>
|
||||
<form:option value="1"><spring:message code="approved"></spring:message></form:option>
|
||||
<form:option value="2"><spring:message code="unapproved"></spring:message></form:option>
|
||||
<form:option value="3"><spring:message code="cancel_approved"></spring:message></form:option>
|
||||
</form:select>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<c:set var="request_number"><spring:message code='request_number'/></c:set>
|
||||
<form:select path="request.id" class="selectpicker select2 input-small" title="${request_number}" data-live-search="true" data-live-search-placeholder="search">
|
||||
<c:forEach items="${requestInfos}" var="requestInfo" >
|
||||
<form:option value="${requestInfo.id}"><spring:message code="${requestInfo.requestTitle}"></spring:message></form:option>
|
||||
</c:forEach>
|
||||
</form:select>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<c:set var="flI18n"><spring:message code='type'/></c:set>
|
||||
<form:select path="classify" class="selectpicker select2 input-small" title="${flI18n}" data-live-search="true" data-live-search-placeholder="search">
|
||||
<c:forEach items="${fls}" var="fl">
|
||||
<form:option value="${fl.serviceDictId}"><spring:message code="${fl.itemValue}"></spring:message></form:option>
|
||||
</c:forEach>
|
||||
</form:select>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<c:set var="attributeI18n"><spring:message code='attribute'/></c:set>
|
||||
<form:select path="attribute" class="selectpicker select2 input-small" title="${attributeI18n}" data-live-search="true" data-live-search-placeholder="search">
|
||||
<c:forEach items="${xzs}" var="xz" >
|
||||
<form:option value="${xz.serviceDictId}"><spring:message code="${xz.itemValue}"></spring:message></form:option>
|
||||
</c:forEach>
|
||||
</form:select>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<c:set var="labelI18n"><spring:message code='label'/></c:set>
|
||||
<form:select path="lable" class="selectpicker select2 input-small" title="${labelI18n}" data-live-search="true" data-live-search-placeholder="search">
|
||||
<c:forEach items="${lables}" var="lable" >
|
||||
<form:option value="${lable.serviceDictId}"><spring:message code="${lable.itemValue}"></spring:message></form:option>
|
||||
</c:forEach>
|
||||
</form:select>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<button type="button" class="btn btn-default" id="filter-btn"> 筛选 <i class="fa fa-angle-double-down"></i></button>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<button type="button" class="btn btn-default" onclick="return page();"> <i class="fa fa-search"></i></button>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<button type="button" class="btn btn-default resetBtn"> <i class="fa fa-refresh"></i> <spring:message code="reset"/></button>
|
||||
</div>
|
||||
<div class="pull-right">
|
||||
<%-- <button type="button" class="btn btn-default" onclick="edit()">
|
||||
<i class="fa fa-edit"></i> <spring:message code="edit"/>
|
||||
</button> --%>
|
||||
<button class="btn btn-default" onclick="delCfg()" data-toggle="tooltip" data-placement="top">
|
||||
<i class="fa fa-trash"> <spring:message code="delete"/></i>
|
||||
</button>
|
||||
<%-- <div class="btn-group">
|
||||
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
|
||||
<i class="fa fa-wrench"></i> <spring:message code="examine"></spring:message>
|
||||
<i class="fa fa-angle-down"></i>
|
||||
</button>
|
||||
<ul class="dropdown-menu pull-right">
|
||||
<li><a href="javascript:void(0)" onclick="pass()">通过</a></li>
|
||||
<li><a href="javascript:void(0)" onclick="noPass()">不通过</a></li>
|
||||
<li><a href="javascript:void(0)" onclick="cancelPass()">取消通过</a></li>
|
||||
</ul>
|
||||
</div> --%>
|
||||
|
||||
<a class="btn btn-icon-only btn-default setfields tooltips"
|
||||
data-container="body" data-placement="top" data-original-title="自定义列字段" href="javascript:;">
|
||||
<i class="icon-wrench"></i>
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 搜索内容与操作按钮栏 -->
|
||||
|
||||
<!-- 筛选搜索内容栏默认隐藏-->
|
||||
<div class="col-md-12 filter-action-select-panle hide" >
|
||||
<div class="row">
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="pull-left">
|
||||
<label><spring:message code="config_time"/>:</label>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<input name="searchCreateTimeStart" type="text" readonly="readonly" maxlength="20" class="form-control input-medium Wdate"
|
||||
value="<fmt:formatDate value='${dnsIpCfg.searchCreateTimeStart}' pattern='yyyy-MM-dd HH:mm:ss'/>" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',isShowClear:true});"/>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<label>-</label>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<input name="searchCreateTimeEnd" type="text" readonly="readonly" maxlength="20" class="form-control input-medium Wdate"
|
||||
value="<fmt:formatDate value="${dnsIpCfg.searchCreateTimeEnd}" pattern="yyyy-MM-dd HH:mm:ss"/>" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',isShowClear:true});"/>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="pull-left">
|
||||
<label><spring:message code="edit_time"/>:</label>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<input name="searchEditTimeStart" type="text" readonly="readonly" maxlength="20" class="form-control input-medium Wdate"
|
||||
value="<fmt:formatDate value="${dnsIpCfg.searchEditTimeStart}" pattern="yyyy-MM-dd HH:mm:ss"/>" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',isShowClear:true});"/>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<label>-</label>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<input name="searchEditTimeEnd" type="text" readonly="readonly" maxlength="20" class="form-control input-medium Wdate"
|
||||
value="<fmt:formatDate value="${dnsIpCfg.searchEditTimeEnd}" pattern="yyyy-MM-dd HH:mm:ss"/>" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',isShowClear:true});"/>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<div class="pull-left">
|
||||
<label><spring:message code="audit_time"/>:</label>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<input name="searchAuditTimeStart" type="text" readonly="readonly" maxlength="20" class="form-control input-medium Wdate"
|
||||
value="<fmt:formatDate value="${dnsIpCfg.searchAuditTimeStart}" pattern="yyyy-MM-dd HH:mm:ss"/>" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',isShowClear:true});"/>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<label>-</label>
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<input name="searchAuditTimeEnd" type="text" readonly="readonly" maxlength="20" class="form-control input-medium Wdate"
|
||||
value="<fmt:formatDate value="${dnsIpCfg.searchAuditTimeEnd}" pattern="yyyy-MM-dd HH:mm:ss"/>" onclick="WdatePicker({dateFmt:'yyyy-MM-dd HH:mm:ss',isShowClear:true});"/>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- /筛选搜索内容栏 结束-->
|
||||
</form:form>
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-striped table-bordered table-condensed text-nowrap">
|
||||
<thead>
|
||||
<tr>
|
||||
<th><input type="checkbox" class="i-checks" id="checkAll"></th>
|
||||
<th><spring:message code="config_describe"/></th>
|
||||
<th>ip<spring:message code="type"/></th>
|
||||
<th><spring:message code="client_ip"/></th>
|
||||
<th><spring:message code="client_address_mask"/></th>
|
||||
<th><spring:message code="client_port"/></th>
|
||||
<th><spring:message code="client_port_mask"/></th>
|
||||
<th><spring:message code="server_ip"/></th>
|
||||
<th><spring:message code="server_address_mask"/></th>
|
||||
<th><spring:message code="server_port"/></th>
|
||||
<th><spring:message code="server_port_mask"/></th>
|
||||
<th><spring:message code="direction"/></th>
|
||||
<th><spring:message code="protocol"/></th>
|
||||
<%-- <th><spring:message code="is_audit"/></th>
|
||||
<th><spring:message code="auditor"/></th>
|
||||
<th><spring:message code="audit_time"/></th> --%>
|
||||
<th><spring:message code="letter"/></th>
|
||||
<th><spring:message code="type"/></th>
|
||||
<th><spring:message code="attribute"/></th>
|
||||
<th><spring:message code="label"/></th>
|
||||
<th><spring:message code="creator"/></th>
|
||||
<th><spring:message code="config_time"/></th>
|
||||
<%-- <th><spring:message code="editor"/></th>
|
||||
<th><spring:message code="edit_time"/></th> --%>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:forEach items="${page.list }" var="dnsIpCfg" varStatus="status" step="1">
|
||||
<td><input type="checkbox" class="i-checks child-checks" id="${dnsIpCfg.cfgId}" value="${dnsIpCfg.isAudit}"></td>
|
||||
<td>${dnsIpCfg.cfgDesc }</td>
|
||||
<td>V${dnsIpCfg.ipType }</td>
|
||||
<td>${dnsIpCfg.srcIp }</td>
|
||||
<td>${dnsIpCfg.srcIpMask }</td>
|
||||
<td>${dnsIpCfg.srcPort }</td>
|
||||
<td>${dnsIpCfg.srcPortMask }</td>
|
||||
<td>${dnsIpCfg.dstIp }</td>
|
||||
<td>${dnsIpCfg.dstIpMask }</td>
|
||||
<td>${dnsIpCfg.dstPort }</td>
|
||||
<td>${dnsIpCfg.dstPortMask }</td>
|
||||
<td>
|
||||
<c:if test="${dnsIpCfg.direction==0}"><spring:message code="twoway"/></c:if>
|
||||
<c:if test="${dnsIpCfg.direction==1}"><spring:message code="oneway"/></c:if>
|
||||
</td>
|
||||
<td>
|
||||
<c:if test="${dnsIpCfg.protocol==6}"><spring:message code="TCP"/></c:if>
|
||||
<c:if test="${dnsIpCfg.protocol==17}"><spring:message code="UDP"/></c:if>
|
||||
<c:if test="${dnsIpCfg.protocol==0}"><spring:message code="arbitrary"/></c:if>
|
||||
</td>
|
||||
<%-- <td>
|
||||
<c:choose>
|
||||
<c:when test="${dnsIpCfg.isAudit eq '0'}"><span class="label label-danger"><spring:message code="created"></spring:message></span></c:when>
|
||||
<c:when test="${dnsIpCfg.isAudit eq '1'}"><span class="label label-success"><spring:message code="approved"></spring:message></span></c:when>
|
||||
<c:when test="${dnsIpCfg.isAudit eq '2'}"><span class="label label-warning"><spring:message code="unapproved"></spring:message></span></c:when>
|
||||
<c:when test="${dnsIpCfg.isAudit eq '3'}"><span class="label label-warning"><spring:message code="cancel_approved"></spring:message></span></c:when>
|
||||
</c:choose>
|
||||
</td>
|
||||
<td>${dnsIpCfg.auditor.name }</td>
|
||||
<td><fmt:formatDate value="${dnsIpCfg.auditTime }" pattern="yyyy-MM-dd HH:mm:ss"/></td> --%>
|
||||
<td>${dnsIpCfg.request.requestTitle }</td>
|
||||
<td>
|
||||
<c:forEach items="${fn:split(dnsIpCfg.classify,',')}" var="classifyId">
|
||||
<c:forEach items="${fls}" var="fl">
|
||||
<c:if test="${fn:trim(fl.serviceDictId) eq classifyId}">
|
||||
${fl.itemValue},
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</c:forEach>
|
||||
${classifyName[status]}
|
||||
</td>
|
||||
<td>
|
||||
<c:forEach items="${fn:split(dnsIpCfg.attribute,',')}" var="attributeId">
|
||||
<c:forEach items="${xzs}" var="xz">
|
||||
<c:if test="${fn:trim(xz.serviceDictId) eq attributeId}">${xz.itemValue},</c:if>
|
||||
</c:forEach>
|
||||
</c:forEach>
|
||||
</td>
|
||||
<td>
|
||||
<c:forEach items="${fn:split(dnsIpCfg.lable,',')}" var="lableId">
|
||||
<c:forEach items="${lables}" var="lable">
|
||||
<c:if test="${fn:trim(lable.serviceDictId) eq lableId}">${lable.itemValue},</c:if>
|
||||
</c:forEach>
|
||||
</c:forEach>
|
||||
</td>
|
||||
<td>${dnsIpCfg.creator.name }</td>
|
||||
<td><fmt:formatDate value="${dnsIpCfg.createTime }" pattern="yyyy-MM-dd HH:mm:ss"/></td>
|
||||
<%-- <td>${dnsIpCfg.editor.name }</td>
|
||||
<td><fmt:formatDate value="${dnsIpCfg.editTime }" pattern="yyyy-MM-dd HH:mm:ss"/></td> --%>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="page" style="margin-top:40px">${page}</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<style>
|
||||
.input-medium {
|
||||
width: 200px !important;
|
||||
}
|
||||
.Wdate {
|
||||
border: #c2cad8 1px solid;
|
||||
height: 26px;
|
||||
}
|
||||
|
||||
.dropdown-menu {
|
||||
min-width: 50px;
|
||||
}
|
||||
|
||||
</style>
|
||||
</body>
|
||||
</html>
|
||||
@@ -100,6 +100,7 @@ $(function(){
|
||||
},
|
||||
dstIp: {
|
||||
required: true,
|
||||
checkIp: true
|
||||
},
|
||||
dstIpMask: {
|
||||
required: true,
|
||||
|
||||
@@ -170,8 +170,7 @@
|
||||
'<div class="table-item">' +
|
||||
'<span class="child-label col-md-3"><font color="red">*</font>'+'<spring:message code="table_type"/>'+':</span> ' +
|
||||
'<span> ' +
|
||||
'<select class="child-required2 selectpicker select2" name="tableType" onchange="autoServiceId()"> ' +
|
||||
'<option value="">'+'<spring:message code="select"/>'+'</option>' +
|
||||
'<select class="child-required2 selectpicker select2" name="tableType" onchange="autoServiceId()" title="<spring:message code="select"/>"> ' +
|
||||
'<option value="1">IP</option>' +
|
||||
'<option value="2">'+'<spring:message code="string"/>'+'</option>' +
|
||||
'<option value="3">'+'<spring:message code="number"/>'+'</option>' +
|
||||
@@ -224,7 +223,10 @@
|
||||
<div class="portlet box blue">
|
||||
<div class="portlet-title">
|
||||
<div class="caption">
|
||||
<i class="fa fa-gift"></i><spring:message code="add"/></div>
|
||||
<i class="fa fa-gift"></i>
|
||||
<c:if test="${empty systemServiceInfo.id }"><spring:message code="add"/></c:if>
|
||||
<c:if test="${not empty systemServiceInfo.id }"><spring:message code="edit"/></c:if>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="portlet-body form">
|
||||
@@ -245,8 +247,8 @@
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label"><font color="red">*</font><spring:message code="act"/>:</label>
|
||||
<div class="col-md-4">
|
||||
<form:select id="action" path="action" class="required form-control selectpicker select2" onchange="autoServiceId()">
|
||||
<form:option value=""><spring:message code="select"/></form:option>
|
||||
<c:set var="select"><spring:message code='select'/></c:set>
|
||||
<form:select id="action" path="action" class="required form-control selectpicker select2" onchange="autoServiceId()" title="${select }">
|
||||
<form:option value="1"><spring:message code="block"/></form:option>
|
||||
<form:option value="2"><spring:message code="monitor"/></form:option>
|
||||
<form:option value="5"><spring:message code="block_white_list"/></form:option>
|
||||
@@ -260,8 +262,7 @@
|
||||
<div class="form-group">
|
||||
<label class="col-md-3 control-label"><font color="red">*</font><spring:message code="type"/>:</label>
|
||||
<div class="col-md-4">
|
||||
<form:select id="serviceType" path="serviceType" class="required form-control selectpicker select2" onchange="changeType(now, this)">
|
||||
<form:option value=""><spring:message code="select"/></form:option>
|
||||
<form:select id="serviceType" path="serviceType" class="required form-control selectpicker select2" onchange="changeType(now, this)" title="${select }">
|
||||
<form:option value="1"><spring:message code="single_domain"/></form:option>
|
||||
<form:option value="2"><spring:message code="multi_domain"/></form:option>
|
||||
<form:option value="3"><spring:message code="special_service"/></form:option>
|
||||
@@ -291,7 +292,6 @@
|
||||
<span class="child-label col-md-3"><font color="red">*</font><spring:message code="table_type"/>:</span>
|
||||
<span>
|
||||
<select class="child-required2 selectpicker select2" name="tableType">
|
||||
<option value=""><spring:message code="select"/></option>
|
||||
<option value="1" <c:if test="${serviceConfigInfo.tableType eq 1}">selected="selected"</c:if>>IP</option>
|
||||
<option value="2" <c:if test="${serviceConfigInfo.tableType eq 2}">selected="selected"</c:if>><spring:message code="string"/></option>
|
||||
<option value="3" <c:if test="${serviceConfigInfo.tableType eq 3}">selected="selected"</c:if>><spring:message code="number"/></option>
|
||||
|
||||
@@ -8,6 +8,10 @@
|
||||
|
||||
<body>
|
||||
<script>
|
||||
$(document).ready(function() {
|
||||
top.window.scrollTo(0, 0);
|
||||
})
|
||||
|
||||
function page(n,s){
|
||||
if(n) $("#pageNo").val(n);
|
||||
if(s) $("#pageSize").val(s);
|
||||
@@ -53,7 +57,7 @@ function deleteService(id) {
|
||||
<div class="col-md-12">
|
||||
<div class="pull-left">
|
||||
<form:select path="action" class="selectpicker select2 input-small">
|
||||
<form:option value=""><spring:message code="act"/></form:option>
|
||||
<form:option value=""><spring:message code="all"/><spring:message code="act"/></form:option>
|
||||
<form:option value="1"><spring:message code="block"/></form:option>
|
||||
<form:option value="2"><spring:message code="monitor"/></form:option>
|
||||
<form:option value="5"><spring:message code="block_white_list"/></form:option>
|
||||
@@ -64,7 +68,7 @@ function deleteService(id) {
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<form:select path="serviceType" class="selectpicker select2 input-small">
|
||||
<form:option value=""><spring:message code="type"/></form:option>
|
||||
<form:option value=""><spring:message code="all"/><spring:message code='type'/></form:option>
|
||||
<form:option value="1"><spring:message code="single_domain"/></form:option>
|
||||
<form:option value="2"><spring:message code="multi_domain"/></form:option>
|
||||
<form:option value="3"><spring:message code="special_service"/></form:option>
|
||||
@@ -78,7 +82,7 @@ function deleteService(id) {
|
||||
</div>
|
||||
<div class="pull-left">
|
||||
<button type="submit" onclick="return page();" class="btn btn-default">
|
||||
<i class="fa fa-edit"></i> <spring:message code="search"></spring:message>
|
||||
<i class="fa fa-search"></i>
|
||||
</button>
|
||||
</div>
|
||||
</div>
|
||||
@@ -130,7 +134,7 @@ function deleteService(id) {
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
<div class="page">${page}</div>
|
||||
<div class="page" style="margin-top:40px">${page}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user