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"%> +