최초커밋
This commit is contained in:
92
WebContent/WEB-INF/view/admin/menu/menuRegistFormPopUp.jsp
Normal file
92
WebContent/WEB-INF/view/admin/menu/menuRegistFormPopUp.jsp
Normal file
@@ -0,0 +1,92 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
|
||||
<%@ page import="com.pms.common.utils.*"%>
|
||||
<%@ page import="java.util.*" %>
|
||||
<%@include file= "/init.jsp" %>
|
||||
<%
|
||||
String parentObjid = CommonUtils.checkNull(request.getParameter("parentObjid"));
|
||||
String menuType = CommonUtils.checkNull(request.getParameter("menuType"));
|
||||
|
||||
String result = CommonUtils.checkNull(request.getAttribute("result"));
|
||||
String message = CommonUtils.checkNull(request.getAttribute("message"));
|
||||
|
||||
%>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title><%=Constants.SYSTEM_NAME%></title>
|
||||
<script type="text/javascript">
|
||||
|
||||
<%
|
||||
if(!"".equals(result)){
|
||||
%>
|
||||
Swal.fire("<%=message%>");
|
||||
opener.location.href="/admin/menuMngList.do";
|
||||
self.close();
|
||||
<%
|
||||
}
|
||||
%>
|
||||
|
||||
function registMenu(){
|
||||
document.menuForm.submit();
|
||||
}
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<form name="menuForm" action="/admin/registFormPopUp.do" method="post">
|
||||
<input type="hidden" name="parentObjid" value="<%=parentObjid%>">
|
||||
<input type="hidden" name="menuType" value="<%=menuType%>">
|
||||
<section id="commonSection" class="carGradePopup">
|
||||
<div id="adminMenuTt">
|
||||
<h2>메뉴추가</h2>
|
||||
</div>
|
||||
<div id="MenuPopW">
|
||||
<table id="adminMenuPopup1">
|
||||
<colgroup>
|
||||
<col width="37%" />
|
||||
<col width="63%" />
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td>메뉴명(KOR)</td>
|
||||
<td><input type="text" name="menuNameKR"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>메뉴명(ENG)</td>
|
||||
<td><input type="text" name="menuNameEN"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>URL</td>
|
||||
<td><input type="text" name="url"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>SEQ</td>
|
||||
<td><input type="text" name="menuSeq"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>활성화 여부</td>
|
||||
<td>
|
||||
<select name="menuStatus">
|
||||
<option value="active">활성화</option>
|
||||
<option value="inActive">비활성화</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>설명</td>
|
||||
<td><textarea name="description"></textarea></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="adminPopupBtnWrap">
|
||||
<center>
|
||||
<input type="button" value="저장" class="btns" onclick="javascript:registMenu();">
|
||||
</center>
|
||||
</div>
|
||||
</section>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user