修改新增和列表的title

This commit is contained in:
duandongmei
2018-07-03 11:48:52 +08:00
parent 2158a887ea
commit a827058d8d
23 changed files with 60 additions and 30 deletions

View File

@@ -2,6 +2,7 @@
<%@ include file="/WEB-INF/include/taglib.jsp"%>
<div class="row stringInfo">
<span id="keywordError" style="display:none"><spring:message code="required"></spring:message></span>
<span id="urlError" style="display:none"><spring:message code="url_error"></spring:message></span>
<span id="tagsinputTip" style="display:none"><spring:message code="multiple_keywords_tip"></spring:message></span>
<div class="row">
<div class="col-md-6">
@@ -10,7 +11,7 @@
<div class="col-md-6">
<input class="form-control required tags" type="text" id="tags_cfgKeywords" name="cfgKeywords" value="${_cfg.cfgKeywords}">
</div>
<div for="cfgKeywords"></div>
<div for="cfgKeywords" class="col-md-6"></div>
</div>
</div>
<div class="col-md-6">

View File

@@ -32,9 +32,9 @@ $(function(){
<div class="page-content">
<%-- <h3 class="page-title">
<spring:message code="${add}"></spring:message>
</h3> --%>
<h3 class="page-title">
<spring:message code="policy_group_manage"></spring:message>
</h3>
<div class="row">
<div class="col-md-12">

View File

@@ -60,6 +60,7 @@
</div>
<h3 class="page-title">
<spring:message code="policy_group_manage"/>
<small><spring:message code="date_list"/></small>
</h3>
<h5 class="page-header"></h5>

View File

@@ -31,9 +31,9 @@ $(function(){
<div class="page-content">
<%-- <h3 class="page-title">
<spring:message code="${add}"></spring:message>
</h3> --%>
<h3 class="page-title">
<spring:message code="av_content_ip_control"></spring:message>
</h3>
<div class="row">
<div class="col-md-12">

View File

@@ -64,6 +64,7 @@
</div>
<h3 class="page-title">
<spring:message code="av_content_ip_control"></spring:message>
<small><spring:message code="date_list"/></small>
</h3>
<h5 class="page-header"></h5>

View File

@@ -8,6 +8,7 @@ $(function(){
$("#cancel").on("click",function(){
window.history.back();
});
$("input[name='cfgKeywords']").addClass("url");
$(".action").on("change", function() {
$("#serviceId").val($(this).attr("serviceId"));
});
@@ -30,7 +31,14 @@ $(function(){
+ "']").html("<label id=\"cfgKeywordsError\" class=\"error\">"+$("#keywordError").text()+"</label>");
flag = false;
return;
}
}/* else if(!(/^(https?|s?ftp):\/\/(((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:)*@)?(((\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5]))|((([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|\d|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.)+(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])*([a-z]|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])))\.?)(:\d*)?)(\/((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)+(\/(([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)*)*)?)?(\?((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|[\uE000-\uF8FF]|\/|\?)*)?(#((([a-z]|\d|-|\.|_|~|[\u00A0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF])|(%[\da-f]{2})|[!\$&'\(\)\*\+,;=]|:|@)|\/|\?)*)?$/i.test($(this).val()))){
$(this).parents(".form-group").find(
"div[for='"
+ $(this).attr("name")
+ "']").html("<label id=\"cfgKeywordsError\" class=\"error\">"+$("#urlError").text()+"</label>");
flag = false;
return;
} */
})
if(flag){
loading('onloading...');
@@ -47,9 +55,10 @@ $(function(){
<div class="page-content">
<%-- <h3 class="page-title">
<spring:message code="${add}"></spring:message>
</h3> --%>
<h3 class="page-title">
<spring:message code="av_content_url_control"></spring:message>
</h3>
<div class="row">
<div class="col-md-12">

View File

@@ -62,6 +62,7 @@
</div>
<h3 class="page-title">
<spring:message code="av_content_url_control"></spring:message>
<small><spring:message code="date_list"/></small>
</h3>
<h5 class="page-header"></h5>

View File

@@ -31,9 +31,9 @@ $(function(){
<div class="page-content">
<%-- <h3 class="page-title">
<spring:message code="${add}"></spring:message>
</h3> --%>
<h3 class="page-title">
<spring:message code="av_picture_ip_control"></spring:message>
</h3>
<div class="row">
<div class="col-md-12">

View File

@@ -64,6 +64,7 @@
</div>
<h3 class="page-title">
<spring:message code="av_picture_ip_control"></spring:message>
<small><spring:message code="date_list"/></small>
</h3>
<h5 class="page-header"></h5>

View File

@@ -48,9 +48,9 @@ $(function(){
<div class="page-content">
<%-- <h3 class="page-title">
<spring:message code="${add}"></spring:message>
</h3> --%>
<h3 class="page-title">
<spring:message code="av_picture_url_control"></spring:message>
</h3>
<div class="row">
<div class="col-md-12">

View File

@@ -62,6 +62,7 @@
</div>
<h3 class="page-title">
<spring:message code="av_picture_url_control"/>
<small><spring:message code="date_list"/></small>
</h3>
<h5 class="page-header"></h5>

View File

@@ -78,7 +78,10 @@ var delContent=function(contentClassName,addBtnClassName){
<body>
<div class="page-content">
<h3 class="page-title">
<spring:message code="av_voip_control"></spring:message>
</h3>
<div class="row">
<div class="col-md-12">
<div class="portlet box blue">

View File

@@ -400,6 +400,7 @@
</div>
<h3 class="page-title">
<spring:message code="av_voip_control"/>
<small><spring:message code="date_list"/></small>
</h3>
<h5 class="page-header"></h5>
@@ -457,7 +458,7 @@
<sys:delRow url="${ctx}/ntc/av/voipForm" id="contentTable" label="update"></sys:delRow>
<sys:delRow url="${ctx}/ntc/av/updateAvVoipValid?isValid=-1&functionId=${cfg.functionId }" id="contentTable" label="delete"></sys:delRow>
</shiro:hasPermission>
<!--<sys:delRow url="${ctx}/ntc/av/voipExport?functionId=${cfg.functionId }" id="contentTable" label="export" maxRow="${page.maxExportSize }"></sys:delRow>-->
<sys:delRow url="${ctx}/ntc/av/voipExport?functionId=${cfg.functionId }" id="contentTable" label="export" maxRow="${page.maxExportSize }"></sys:delRow>
<shiro:hasPermission name="avVoip:audit">
<div class="btn-group">
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">

View File

@@ -31,9 +31,9 @@ $(function(){
<div class="page-content">
<%-- <h3 class="page-title">
<spring:message code="${add}"></spring:message>
</h3> --%>
<h3 class="page-title">
<spring:message code="ip_spoofing_configuration"></spring:message>
</h3>
<div class="row">
<div class="col-md-12">

View File

@@ -64,6 +64,7 @@
</div>
<h3 class="page-title">
<spring:message code="ip_spoofing_configuration"></spring:message>
<small><spring:message code="date_list"/></small>
</h3>
<h5 class="page-header"></h5>

View File

@@ -43,9 +43,9 @@ $(function(){
<div class="page-content">
<%-- <h3 class="page-title">
<spring:message code="${add}"></spring:message>
</h3> --%>
<h3 class="page-title">
<spring:message code="file_digest_control"></spring:message>
</h3>
<div class="row">
<div class="col-md-12">

View File

@@ -69,7 +69,9 @@ $(function(){
<body>
<div class="page-content">
<h3 class="page-title">
<spring:message code="dns_res_strategy"></spring:message>
</h3>
<div class="row">
<div class="col-md-12">
<div class="portlet box blue">

View File

@@ -49,6 +49,7 @@
</div>
<h3 class="page-title">
<spring:message code="dns_res_strategy"></spring:message>
<small><spring:message code="date_list"/></small>
</h3>
<h5 class="page-header"></h5>

View File

@@ -99,6 +99,9 @@
<span id="keywordError" style="display:none"><spring:message code="required"></spring:message></span>
<span id="tagsinputTip" style="display:none"><spring:message code="multiple_keywords_tip"></spring:message></span>
<div class="page-content">
<h3 class="page-title">
<spring:message code="bgp_control"></spring:message>
</h3>
<div class="row">
<div class="col-md-12">
<div class="portlet box blue">

View File

@@ -21,7 +21,6 @@ $(function(){
}
},
submitHandler: function(form){
loading('onloading...');
var flag = true;
$("input[name$='cfgKeywords']").each(function(){
if($(this).val()==''){
@@ -48,7 +47,9 @@ $(function(){
<div class="page-content">
<h3 class="page-title">
<spring:message code="http_req_replace"></spring:message>
</h3>
<div class="row">
<div class="col-md-12">
<div class="portlet box blue">

View File

@@ -49,6 +49,7 @@
</div>
<h3 class="page-title">
<spring:message code="http_req_replace"></spring:message>
<small><spring:message code="date_list"/></small>
</h3>
<h5 class="page-header"></h5>

View File

@@ -21,7 +21,6 @@ $(function(){
}
},
submitHandler: function(form){
loading('onloading...');
var flag = true;
$("input[name$='cfgKeywords']").each(function(){
if($(this).val()==''){
@@ -48,7 +47,9 @@ $(function(){
<div class="page-content">
<h3 class="page-title">
<spring:message code="http_res_replace"></spring:message>
</h3>
<div class="row">
<div class="col-md-12">
<div class="portlet box blue">

View File

@@ -49,6 +49,7 @@
</div>
<h3 class="page-title">
<spring:message code="http_res_replace"></spring:message>
<small><spring:message code="date_list"/></small>
</h3>
<h5 class="page-header"></h5>