- Add Docker Compose configurations for dev, prod, and standalone environments - Add database initialization scripts (init-db.sh, init-db-docker.sh) - Add enhanced start-docker-linux.sh with DB init support - Add comprehensive database initialization guide - Support for automatic dbexport.pgsql import on first run - Include safety checks for production environment
92 lines
2.2 KiB
Plaintext
92 lines
2.2 KiB
Plaintext
<%@ 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> |