From a803c3711b75ffc9aced10ec06539374633584c9 Mon Sep 17 00:00:00 2001 From: leebj Date: Mon, 9 Sep 2024 13:48:14 +0900 Subject: [PATCH] =?UTF-8?q?=EA=B3=B5=ED=86=B5=20jsp=20=ED=99=94=EB=A9=B4?= =?UTF-8?q?=20=EC=86=8C=EC=8A=A4=EC=9D=B4=EB=8F=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../jsp/base/actionGroup/actionGroup-info.jsp | 73 +++++ .../jsp/base/actionGroup/actionGroup-main.jsp | 229 +++++++++++++ .../base/actionGroup/select-actionGroup.jsp | 127 +++++++ .../jsp/base/authority/actionGroup-list.jsp | 91 ++++++ .../jsp/base/authority/authority-info.jsp | 75 +++++ .../jsp/base/authority/authority-main.jsp | 187 +++++++++++ .../WEB-INF/jsp/base/authority/user-list.jsp | 100 ++++++ .../WEB-INF/jsp/base/code/code-info.jsp | 135 ++++++++ .../WEB-INF/jsp/base/code/code-main.jsp | 233 +++++++++++++ .../WEB-INF/jsp/base/code/group-info.jsp | 105 ++++++ .../WEB-INF/jsp/base/menu/menu-info.jsp | 102 ++++++ .../WEB-INF/jsp/base/menu/menu-main.jsp | 134 ++++++++ .../WEB-INF/jsp/base/syslog/syslog-main.jsp | 155 +++++++++ .../WEB-INF/jsp/base/user/dept-info.jsp | 101 ++++++ .../webapp/WEB-INF/jsp/base/user/password.jsp | 98 ++++++ .../WEB-INF/jsp/base/user/select-sggDepts.jsp | 57 ++++ .../WEB-INF/jsp/base/user/select-user.jsp | 126 +++++++ .../webapp/WEB-INF/jsp/base/user/sgg-dept.jsp | 246 ++++++++++++++ .../webapp/WEB-INF/jsp/base/user/sgg-info.jsp | 122 +++++++ .../WEB-INF/jsp/base/user/user-info.jsp | 309 ++++++++++++++++++ .../WEB-INF/jsp/base/user/user-main.jsp | 174 ++++++++++ 21 files changed, 2979 insertions(+) create mode 100644 src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-info.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-main.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/actionGroup/select-actionGroup.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/authority/actionGroup-list.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/authority/authority-info.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/authority/user-list.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/code/code-info.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/code/group-info.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/menu/menu-info.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/menu/menu-main.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/syslog/syslog-main.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/user/dept-info.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/user/password.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/user/select-sggDepts.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/user/select-user.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/user/sgg-dept.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/user/sgg-info.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/user/user-info.jsp create mode 100644 src/main/webapp/WEB-INF/jsp/base/user/user-main.jsp diff --git a/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-info.jsp b/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-info.jsp new file mode 100644 index 00000000..41bfd13d --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-info.jsp @@ -0,0 +1,73 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> +<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> +
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+
+ + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-main.jsp b/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-main.jsp new file mode 100644 index 00000000..a894a857 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/base/actionGroup/actionGroup-main.jsp @@ -0,0 +1,229 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> +<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> + +기능 그룹 + +
+ +
+ + diff --git a/src/main/webapp/WEB-INF/jsp/base/actionGroup/select-actionGroup.jsp b/src/main/webapp/WEB-INF/jsp/base/actionGroup/select-actionGroup.jsp new file mode 100644 index 00000000..752ca2cd --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/base/actionGroup/select-actionGroup.jsp @@ -0,0 +1,127 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> +<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> + +기능 그룹 + +
+
+ +
+
+ + diff --git a/src/main/webapp/WEB-INF/jsp/base/authority/actionGroup-list.jsp b/src/main/webapp/WEB-INF/jsp/base/authority/actionGroup-list.jsp new file mode 100644 index 00000000..1cbb834f --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/base/authority/actionGroup-list.jsp @@ -0,0 +1,91 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> +<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> +
+
+ + +
+
+ + + + + + + + + + + + + +
+ +
    +
+
+function removeAuthActions() { + dialog.alert({ + content:"선택한 기능그룹을 삭제하시겠습니까?", + onOK:() => { + ${infoPrefix}Control.removeActions(); + } + }); +} + +${infoPrefix}Control.onActionListChange = obj => { + let authority = ${infoPrefix}Control.authorities.getCurrent(); + authority = authority ? authority.AUTH_NM : ""; + let ${infoPrefix}List = ${infoPrefix}Control.actions.dataset; + let empty = ${infoPrefix}List.empty; + + let trs = + ${infoPrefix}Control.authorities.isAdmin() ? [document.getElementById("adminActions").innerHTML.replace(/{authority}/, authority)] : + empty ? + [document.getElementById("authActionNotFound").innerHTML] : <%-- from template#${infoPrefix}NotFound --%> + ${infoPrefix}List.inStrings(document.getElementById("authActionRow").innerHTML); <%-- from template#${infoPrefix}Row --%> + $("#authActionList").html(trs.join()); + $("#authActionToggler").prop("checked", false); + + $("#authActionPaging").setPaging({ + list:${infoPrefix}Control.actions.dataset, + prefix:${infoPrefix}Control.actions.prefix, + start:obj.actionStart, + totalSize:obj.actionTotal, + fetchSize:obj.actionFetch, + func:"${infoPrefix}Control.getActions({index})" + }); +}; + +${infoPrefix}Control.onCurrentActionChange = item => { + if (!item) return; + + let data = item.data; + let key = data.AUTH_ID + "-" + data.GRP_ID; + $("#authActionList").setCurrentRow(key); +}; + +${infoPrefix}Control.onActionSelect = selected => { + let ${infoPrefix}List = ${infoPrefix}Control.actions.dataset; + let keys = selected.map(e => ${infoPrefix}List.getKey(e)); + $("#authActionList input[type='checkbox']").each(function() { + let checkbox = $(this); + checkbox.prop("checked", keys.includes(checkbox.val())); + }); + + $("#btnRemoveAuthActions").prop("disabled", keys.length < 1); +}; \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/base/authority/authority-info.jsp b/src/main/webapp/WEB-INF/jsp/base/authority/authority-info.jsp new file mode 100644 index 00000000..35362699 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/base/authority/authority-info.jsp @@ -0,0 +1,75 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> +<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> +
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+
+ + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp b/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp new file mode 100644 index 00000000..1175b6f3 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/base/authority/authority-main.jsp @@ -0,0 +1,187 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> +<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> + +권한 + +
+ +
+ + diff --git a/src/main/webapp/WEB-INF/jsp/base/authority/user-list.jsp b/src/main/webapp/WEB-INF/jsp/base/authority/user-list.jsp new file mode 100644 index 00000000..8fcb38f1 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/base/authority/user-list.jsp @@ -0,0 +1,100 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> +<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> +
+
+ + +
+
+ + + + + + + + + + + + + + + + + + +
+ +
    +
+
+ +function removeAuthUsers() { + dialog.alert({ + content:"선택한 사용자를 삭제하시겠습니까?", + onOK:() => { + ${infoPrefix}Control.removeUsers(); + } + }); +} + +${infoPrefix}Control.onUserListChange = obj => { + let authority = ${infoPrefix}Control.authorities.getCurrent(); + authority = authority ? authority.AUTH_NM : ""; + let ${infoPrefix}List = ${infoPrefix}Control.users.dataset; + let empty = ${infoPrefix}List.empty; + + let trs = + ${infoPrefix}Control.authorities.isImplicit() ? [document.getElementById("implicitActions").innerHTML.replace(/{authority}/, authority)] : + empty ? [document.getElementById("authUserNotFound").innerHTML] : <%-- from template#${infoPrefix}NotFound --%> + ${infoPrefix}List.inStrings(document.getElementById("authUserRow").innerHTML); <%-- from template#${infoPrefix}Row --%> + $("#authUserList").html(trs.join()); + $("#authUserToggler").prop("checked", false); + + $("#authUserPaging").setPaging({ + list:${infoPrefix}Control.users.dataset, + prefix:${infoPrefix}Control.users.prefix, + start:obj.userStart, + totalSize:obj.userTotal, + fetchSize:obj.userFetch, + func:"${infoPrefix}Control.users.load({index})" + }); +}; + +${infoPrefix}Control.onCurrentUserChange = item => { + if (!item) return; + + let data = item.data; + let key = data.AUTH_ID + "-" + data.USER_ID; + $("#authUserList").setCurrentRow(key); +}; + +${infoPrefix}Control.onUserSelect = selected => { + let ${infoPrefix}List = ${infoPrefix}Control.users.dataset; + let keys = selected.map(e => ${infoPrefix}List.getKey(e)); + $("#authUserList input[type='checkbox']").each(function() { + let checkbox = $(this); + checkbox.prop("checked", keys.includes(checkbox.val())); + }); + + $("#btnRemoveAuthUsers").prop("disabled", keys.length < 1); +}; \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/base/code/code-info.jsp b/src/main/webapp/WEB-INF/jsp/base/code/code-info.jsp new file mode 100644 index 00000000..900f0a1d --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/base/code/code-info.jsp @@ -0,0 +1,135 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> +<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> +
+
+
+
+ +
+ + +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+
+ + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp b/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp new file mode 100644 index 00000000..12de29ab --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/base/code/code-main.jsp @@ -0,0 +1,233 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> +<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> +코드 그룹 + +
+ +
+ + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/base/code/group-info.jsp b/src/main/webapp/WEB-INF/jsp/base/code/group-info.jsp new file mode 100644 index 00000000..5f2571a0 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/base/code/group-info.jsp @@ -0,0 +1,105 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> +<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> +
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+ +
+
+
+
+
+ +
+
+ + \ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/base/menu/menu-info.jsp b/src/main/webapp/WEB-INF/jsp/base/menu/menu-info.jsp new file mode 100644 index 00000000..1fc77b71 --- /dev/null +++ b/src/main/webapp/WEB-INF/jsp/base/menu/menu-info.jsp @@ -0,0 +1,102 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" isELIgnored="false" session="false"%> +<%@ include file="/WEB-INF/jsp/include/taglib.jsp"%> +