MaxKey 4 tahun lalu
induk
melakukan
a1290846d2

+ 1 - 1
maxkey-web-manage/src/main/resources/templates/views/orgs/orgsList.ftl

@@ -233,7 +233,7 @@ $(function () {
 			<th data-sortable="true" data-field="id"   data-visible="false">Id</th>
 			<th data-field="id"><@locale code="org.id"/></th>
 			<th data-field="name"><@locale code="org.name"/></th>
-			<th data-field="sortOrder"><@locale code="org.sortorder"/></th>
+			<th data-field="sortIndex"><@locale code="org.sortorder"/></th>
 			<th data-field="division"   data-visible="false"><@locale code="org.division"/></th>
 			<th data-field="description"><@locale code="org.description"/></th>
 			</tr>

+ 1 - 1
maxkey-web-manage/src/main/resources/templates/views/resources/resourceUpdate.ftl

@@ -85,7 +85,7 @@
             <tr>
             	<th><@locale code="common.text.sortindex"/></th>
          		<td>
-         		<input  type="text" id="sortIndex" class="form-control"  name="sortIndex"  title="" value="1"  required="${model.sortIndex!}"    />
+         		<input  type="text" id="sortIndex" class="form-control"  name="sortIndex"  title="" value="${model.sortIndex!}"  required=""    />
          		</td>
          	</tr>
             <tr>

+ 6 - 5
maxkey-web-manage/src/main/resources/templates/views/resources/resourcesList.ftl

@@ -191,13 +191,13 @@ $(function () {
 		 					 <input class="button btn btn-success mr-3" id="addBtn" type="button" value="<@locale code="button.text.add"/>" 
 						 		    wurl="<@base/>/resources/forwardAdd"
 						 		    wwidth="500"
-						 		    wheight="500"
+						 		    wheight="550"
 					 		    	target="window"/>	    	
 					 		    	
 					 	<input class="button btn btn-info mr-3 " id="modifyBtn" type="button" value="<@locale code="button.text.edit"/>" 
 					 				wurl="<@base/>/resources/forwardUpdate"
 					 				wwidth="500"
-						 		    wheight="500"
+						 		    wheight="550"
 					 		    	target="window"/> 
 					 		    	
 					 	<input class="button btn btn-danger mr-3 "  id="deleteBtn" type="button" value="<@locale code="button.text.delete"/>"
@@ -240,9 +240,10 @@ $(function () {
 				<th data-checkbox="true"></th>
 				<th data-sortable="true" data-field="id"   data-visible="false">Id</th>
 				<th data-field="name"><@locale code="resource.name"/></th>
-				<th data-field="resourceType"><@locale code="resource.resType"/></th>
-				<th data-field="resourceUrl"><@locale code="resource.resUrl"/></th>
-				<th data-field="resourceAction"><@locale code="resource.resAction"/></th>
+				<th data-field="resourceType"><@locale code="resource.resourceType"/></th>
+				<th data-field="sortIndex"><@locale code="common.text.sortindex"/></th>
+				<th data-field="resourceUrl"><@locale code="resource.resourceUrl"/></th>
+				<th data-field="resourceAction"><@locale code="resource.resourceAction"/></th>
 				<th data-field="description"><@locale code="common.text.description"/></th>
 	
 			</tr>