1、样例配置审核,一条配置提交一次服务(为了保证一条配置提交过程完整的事务性);2、表单验证信息完善;3、列表分类性质标签列显示样式调整

This commit is contained in:
zhangwei
2018-05-28 10:10:37 +08:00
parent cd1cb600b9
commit 90405716f8
7 changed files with 136 additions and 104 deletions

View File

@@ -130,7 +130,7 @@ $(function(){
<div class="form-group ">
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="harm_level"/></label>
<div class="col-md-6">
<input class="form-control required" type="text" name="level" value="${_cfg.level }">
<input class="form-control required" range="[0,100]" type="text" name="level" value="${_cfg.level }">
</div>
<div for="level"></div>
</div>
@@ -156,7 +156,7 @@ $(function(){
</div>
<input id="srcUrl" name="srcUrl" type="hidden" value="${_cfg.srcUrl }"/>
</div>
<div for="srcFile"></div>
<div for="srcFileInfo"></div>
</div>
</div>
<div class="col-md-6">
@@ -179,7 +179,7 @@ $(function(){
<span id="sampleFileInfo">${_cfg.sampleUrl }</span> --%>
<input id="sampleUrl" name="sampleUrl" type="hidden" value="${_cfg.sampleUrl }" />
</div>
<div for="sampleFile"></div>
<div for="sampleFileInfo"></div>
</div>
</div>

View File

@@ -334,7 +334,7 @@
</c:if>
</c:forEach>
</c:forEach>
<a href="${classify}" target="_blank" data-original-title="${classify}"
<a href="javascript:;" data-original-title="${classify}"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fns:abbr(classify,20)}
</a>
@@ -353,7 +353,7 @@
</c:if>
</c:forEach>
</c:forEach>
<a href="${attribute}" target="_blank" data-original-title="${attribute}"
<a href="javascript:;" data-original-title="${attribute}"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fns:abbr(attribute,20)}
</a>
@@ -373,7 +373,7 @@
</c:if>
</c:forEach>
</c:forEach>
<a href="${lableInfo}" target="_blank" data-original-title="${lableInfo}"
<a href="javascript:;" data-original-title="${lableInfo}"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fns:abbr(lableInfo,20)}
</a>

View File

@@ -105,11 +105,11 @@ $(function(){
<div class="form-group ">
<label class="control-label col-md-3"><font color="red">*</font><spring:message code="harm_level"/></label>
<div class="col-md-6">
<input class="form-control required" type="text" name="level" value="${_cfg.level }">
<input class="form-control required digest" range="[0,100]" type="text" name="level" value="${_cfg.level }">
</div>
<div for="level"></div>
</div>
</div>
</div>
<div class="row">
<div class="col-md-6">
@@ -118,6 +118,7 @@ $(function(){
<div class="col-md-6">
<input class="form-control required" type="text" name="description" value="${_cfg.description }">
</div>
<div for="description"></div>
</div>
</div>
<div class="col-md-6">
@@ -134,6 +135,7 @@ $(function(){
</label>
</c:forEach>
</div>
<div for="action"></div>
</div>
</div>
</div>

View File

@@ -331,7 +331,7 @@
</c:if>
</c:forEach>
</c:forEach>
<a href="${classify}" target="_blank" data-original-title="${classify}"
<a href="javascript:;" data-original-title="${classify}"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fns:abbr(classify,20)}
</a>
@@ -350,7 +350,7 @@
</c:if>
</c:forEach>
</c:forEach>
<a href="${attribute}" target="_blank" data-original-title="${attribute}"
<a href="javascript:;" data-original-title="${attribute}"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fns:abbr(attribute,20)}
</a>
@@ -370,7 +370,7 @@
</c:if>
</c:forEach>
</c:forEach>
<a href="${lableInfo}" target="_blank" data-original-title="${lableInfo}"
<a href="javascript:;" data-original-title="${lableInfo}"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fns:abbr(lableInfo,20)}
</a>

View File

@@ -381,7 +381,7 @@
</c:if>
</c:forEach>
</c:forEach>
<a href="${classify}" target="_blank" data-original-title="${classify}"
<a href="javascript:;" data-original-title="${classify}"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fns:abbr(classify,20)}
</a>
@@ -400,7 +400,7 @@
</c:if>
</c:forEach>
</c:forEach>
<a href="${attribute}" target="_blank" data-original-title="${attribute}"
<a href="javascript:;" data-original-title="${attribute}"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fns:abbr(attribute,20)}
</a>
@@ -420,7 +420,7 @@
</c:if>
</c:forEach>
</c:forEach>
<a href="${lableInfo}" target="_blank" data-original-title="${lableInfo}"
<a href="javascript:;" data-original-title="${lableInfo}"
class="tooltips" data-flag="false" data-html="true" data-placement="top">
${fns:abbr(lableInfo,20)}
</a>