fix: popup fix

main
minuk926 2 years ago
parent 7a936cacdd
commit 9aa4528d70

@ -5,7 +5,6 @@
<c:set var="bizName" value="권한"/> <c:set var="bizName" value="권한"/>
<form> <form>
<div class="popup" style="min-width: 400px;"> <div class="popup" style="min-width: 400px;">
<div class="popup_inner" style="max-width: 400px;"> <div class="popup_inner" style="max-width: 400px;">
<%@include file="/WEB-INF/jsp/framework/biz-popup-title.jsp"%> <%@include file="/WEB-INF/jsp/framework/biz-popup-title.jsp"%>
@ -21,7 +20,14 @@
<label>권한코드</label> <label>권한코드</label>
</th> </th>
<td nowrap="nowrap"> <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> </td>
</tr> </tr>
<tr> <tr>

@ -1,9 +1,7 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/framework/taglibs.jsp" %> <%@ 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:form commandName="groupManage" name="groupManage">
<c:set var="isUpdate" value="${!empty groupManage.groupId}"/> <c:set var="isUpdate" value="${!empty groupManage.groupId}"/>
<c:set var="bizName" value="권한그룹"/> <c:set var="bizName" value="권한그룹"/>
<c:out value='${isUpdate}'/> <c:out value='${isUpdate}'/>
@ -24,7 +22,14 @@
<label>권한그룹 ID</label> <label>권한그룹 ID</label>
</th> </th>
<td nowrap="nowrap"> <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> </td>
</tr> </tr>
<tr> <tr>
@ -32,8 +37,7 @@
<label>권한그룹 명</label> <label>권한그룹 명</label>
</th> </th>
<td nowrap="nowrap"> <td nowrap="nowrap">
<input name="groupNm" id="groupNm" type="text" value="<c:out value='${groupManage.groupNm}'/>" maxLength="50" size="40" title="그룹명" />&nbsp; <input name="groupNm" id="groupNm" type="text" value="<c:out value='${groupManage.groupNm}'/>" maxLength="50" size="40" title="권한그룹명" />&nbsp;
<form:errors path="groupNm" />
</td> </td>
</tr> </tr>
<tr> <tr>
@ -65,7 +69,7 @@
</div> </div>
</div> </div>
</form:form> </form>
<script type="text/javaScript"> <script type="text/javaScript">
@ -82,7 +86,7 @@
cmmBizAjax('add', { cmmBizAjax('add', {
url: '<c:url value="/framework/biz/mng/auth/addAuthGrp.do"/>' url: '<c:url value="/framework/biz/mng/auth/addAuthGrp.do"/>'
,data: $("#groupManage").serialize() ,data: $("form").serialize()
//,contentType: 'x-www-form-url-encoded' //,contentType: 'x-www-form-url-encoded'
}) })
} }
@ -92,7 +96,7 @@
cmmBizAjax('modify', { cmmBizAjax('modify', {
url: '<c:url value="/framework/biz/mng/auth/modifyAuthGrp.do"/>' 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"%> <%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ include file="/WEB-INF/jsp/framework/taglibs.jsp" %> <%@ include file="/WEB-INF/jsp/framework/taglibs.jsp" %>
<title>권한별 롤 목록</title> <title>권한별 롤 목록</title>
<div class="popup" style="min-width: 400px;"> <div class="popup" style="min-width: 400px;">
<div class="popup_inner"> <div class="popup_inner">

@ -7,21 +7,13 @@
<%--@elvariable id="roleManage" type=""--%> <%--@elvariable id="roleManage" type=""--%>
<form:form commandName="roleManage" name="roleManage"> <form:form commandName="roleManage" name="roleManage">
<c:set var="isUpdate" value="${!empty roleManage.roleCode}"/> <c:set var="isUpdate" value="${!empty roleManage.roleCode}"/>
<c:set var="bizName" value="롤"/>
<div class="popup" style="min-width: 500px;"> <div class="popup" style="min-width: 500px;">
<div class="popup_inner" style="max-width: 500px;"> <div class="popup_inner" style="max-width: 500px;">
<p class="pop_title"> <%@include file="/WEB-INF/jsp/framework/biz-popup-title.jsp"%>
<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>
<table class="tbl03"> <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> <colgroup>
<col style="width: 30%; height: 23px;"/> <col style="width: 30%; height: 23px;"/>
<col style="width: 70%; height: 23px;"/> <col style="width: 70%; height: 23px;"/>
@ -89,20 +81,7 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<div class="popup_btn"> <%@include file="/WEB-INF/jsp/framework/biz-popup-btn.jsp"%>
<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>
<!-- //등록버튼 --> <!-- //등록버튼 -->
</div> </div>

Loading…
Cancel
Save