From 61e792593aa9fce28d5536d4e89f447cfd31935e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=EA=B0=95=EC=84=9D=20=EC=B5=9C?= Date: Thu, 9 Dec 2021 18:55:53 +0900 Subject: [PATCH] =?UTF-8?q?=EC=82=AC=EC=9A=A9=EC=9E=90=20=EA=B6=8C?= =?UTF-8?q?=ED=95=9C=20=EC=84=A4=EC=A0=95=20=EC=83=81=EB=8B=A8=20=EC=8A=A4?= =?UTF-8?q?=ED=81=AC=EB=A1=A4=20=EB=B2=84=ED=8A=BC=20=EC=9E=91=EC=97=85?= =?UTF-8?q?=EC=A4=91.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/static/css/userMgt.css | 13 +++++++++++++ src/main/resources/static/js/admin/userMgt.js | 9 +++++++++ .../resources/templates/admin/userCategoryRole.html | 6 +++++- src/main/resources/templates/admin/userMgt.html | 3 +++ 4 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 src/main/resources/static/css/userMgt.css diff --git a/src/main/resources/static/css/userMgt.css b/src/main/resources/static/css/userMgt.css new file mode 100644 index 0000000..3aefd0d --- /dev/null +++ b/src/main/resources/static/css/userMgt.css @@ -0,0 +1,13 @@ +.scrollBtn::before{ + width: 1.25em; + line-height: 0; + transition: transform .35s ease; + transform-origin: 0.5em 50%; + +} +#moveLeftBtn::before{ + content: url("/img/bootstrap-icons-1.7.1/arrow-left-square.svg"); +} +#moveRightBtn::before{ + content: url("/img/bootstrap-icons-1.7.1/arrow-right-square.svg"); +} \ No newline at end of file diff --git a/src/main/resources/static/js/admin/userMgt.js b/src/main/resources/static/js/admin/userMgt.js index 498b199..39eee18 100644 --- a/src/main/resources/static/js/admin/userMgt.js +++ b/src/main/resources/static/js/admin/userMgt.js @@ -120,6 +120,15 @@ $(document).on('click', '#saveCategoryRoleBtn', function (){ }) }) +$(document).on('click', '#moveRightBtn', function (){ + moveCategorySelectBody('right'); +}) +$(document).on('click', '#moveLeftBtn', function (){ + moveCategorySelectBody('left'); +}) +function moveCategorySelectBody(direction){ + +} function valueCheck(form){ const targetForm = $("#"+form); const userId = targetForm.find("#userId").val(); diff --git a/src/main/resources/templates/admin/userCategoryRole.html b/src/main/resources/templates/admin/userCategoryRole.html index 153b366..2997033 100644 --- a/src/main/resources/templates/admin/userCategoryRole.html +++ b/src/main/resources/templates/admin/userCategoryRole.html @@ -1,7 +1,11 @@
-
+
+
+
+
+
diff --git a/src/main/resources/templates/admin/userMgt.html b/src/main/resources/templates/admin/userMgt.html index 0e7d9d8..6a2bd09 100644 --- a/src/main/resources/templates/admin/userMgt.html +++ b/src/main/resources/templates/admin/userMgt.html @@ -4,6 +4,9 @@ xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity5" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout" layout:decorate="~{layout/layout}"> + + +