fix: popup fix

main
minuk926 2 years ago
parent 7a936cacdd
commit 9aa4528d70

@ -5,7 +5,6 @@
<c:set var="bizName" value="권한"/>
<form>
<div class="popup" style="min-width: 400px;">
<div class="popup_inner" style="max-width: 400px;">
<%@include file="/WEB-INF/jsp/framework/biz-popup-title.jsp"%>
@ -21,7 +20,14 @@
<label>권한코드</label>
</th>
<td nowrap="nowrap">
<input name="authorCode" id="authorCode" type="text" value="<c:out value='${authorInfoVO.authorCode}'/>" readonly="isUpdate" size="40" title="권한코드" />&nbsp;
<c:choose>
<c:when test="${isUpdate}">
<input name="authorCode" id="authorCode" type="text" value="<c:out value='${authorInfoVO.authorCode}'/>" readonly size="40" title="권한코드" />&nbsp;
</c:when>
<c:otherwise>
<input name="authorCode" id="authorCode" type="text" size="40" title="권한코드" />&nbsp;
</c:otherwise>
</c:choose>
</td>
</tr>
<tr>

@ -1,9 +1,7 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/framework/taglibs.jsp" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<%--@elvariable id="groupManage" type=""--%>
<form:form commandName="groupManage" name="groupManage">
<form>
<c:set var="isUpdate" value="${!empty groupManage.groupId}"/>
<c:set var="bizName" value="권한그룹"/>
<c:out value='${isUpdate}'/>
@ -24,7 +22,14 @@
<label>권한그룹 ID</label>
</th>
<td nowrap="nowrap">
<form:input path="groupId" id="groupId" cssClass="txaIpt" readonly="${isUpdate}" size="40" title="그룹 ID" />
<c:choose>
<c:when test="${isUpdate}">
<input name="groupId" id="groupId" type="text" readonly value="<c:out value='${groupManage.groupId}'/>" size="40" title="권한그룹ID" />
</c:when>
<c:otherwise>
<input name="groupId" id="groupId" type="text" size="40" title="권한그룹ID" />
</c:otherwise>
</c:choose>
</td>
</tr>
<tr>
@ -32,8 +37,7 @@
<label>권한그룹 명</label>
</th>
<td nowrap="nowrap">
<input name="groupNm" id="groupNm" type="text" value="<c:out value='${groupManage.groupNm}'/>" maxLength="50" size="40" title="그룹명" />&nbsp;
<form:errors path="groupNm" />
<input name="groupNm" id="groupNm" type="text" value="<c:out value='${groupManage.groupNm}'/>" maxLength="50" size="40" title="권한그룹명" />&nbsp;
</td>
</tr>
<tr>
@ -65,7 +69,7 @@
</div>
</div>
</form:form>
</form>
<script type="text/javaScript">
@ -82,7 +86,7 @@
cmmBizAjax('add', {
url: '<c:url value="/framework/biz/mng/auth/addAuthGrp.do"/>'
,data: $("#groupManage").serialize()
,data: $("form").serialize()
//,contentType: 'x-www-form-url-encoded'
})
}
@ -92,7 +96,7 @@
cmmBizAjax('modify', {
url: '<c:url value="/framework/biz/mng/auth/modifyAuthGrp.do"/>'
,data: $("#groupManage").serialize()
,data: $("form").serialize()
});
}

@ -1,8 +1,6 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/framework/taglibs.jsp" %>
<title>권한별 롤 목록</title>
<div class="popup" style="min-width: 400px;">
<div class="popup_inner">

@ -7,21 +7,13 @@
<%--@elvariable id="roleManage" type=""--%>
<form:form commandName="roleManage" name="roleManage">
<c:set var="isUpdate" value="${!empty roleManage.roleCode}"/>
<c:set var="bizName" value="롤"/>
<div class="popup" style="min-width: 500px;">
<div class="popup_inner" style="max-width: 500px;">
<p class="pop_title">
<c:choose>
<c:when test="${isUpdate}">
롤 <spring:message code="title.update"/>
</c:when>
<c:otherwise>
롤 <spring:message code="title.create"/>
</c:otherwise>
</c:choose>
</p>
<%@include file="/WEB-INF/jsp/framework/biz-popup-title.jsp"%>
<table class="tbl03">
<caption> <spring:message code="title.update"/> / <spring:message code="title.create"/></caption>
<caption><c:out value="${bizName}"/> <spring:message code="title.update"/> / <spring:message code="title.create"/></caption>
<colgroup>
<col style="width: 30%; height: 23px;"/>
<col style="width: 70%; height: 23px;"/>
@ -89,20 +81,7 @@
</tr>
</tbody>
</table>
<div class="popup_btn">
<span class="flr" colspan="4">
<c:choose>
<c:when test="${isUpdate}">
<a href="#" class="btn blue" id="btnModify">변경</a>
<a href="#" class="btn red" id="btnRemove">삭제</a>
</c:when>
<c:otherwise>
<a href="#" class="btn blue" id="btnRegist">등록</a>
</c:otherwise>
</c:choose>
<a href="#" class="btn lightgray" id="btnClose" onclick="window.close()">닫기</a>
</span>
</div>
<%@include file="/WEB-INF/jsp/framework/biz-popup-btn.jsp"%>
<!-- //등록버튼 -->
</div>

Loading…
Cancel
Save