diff --git a/VamPa/src/main/java/com/vam/controller/AdminController.java b/VamPa/src/main/java/com/vam/controller/AdminController.java index 05a5dfd..1f9f5fa 100644 --- a/VamPa/src/main/java/com/vam/controller/AdminController.java +++ b/VamPa/src/main/java/com/vam/controller/AdminController.java @@ -133,5 +133,12 @@ public class AdminController { return "redirect:/admin/goodsManage"; } + /* 작가 검색 팝업창 */ + @GetMapping("/authorPop") + public void authorPopGET() throws Exception{ + + logger.info("authorPopGET......."); + + } } diff --git a/VamPa/src/main/webapp/WEB-INF/views/admin/authorPop.jsp b/VamPa/src/main/webapp/WEB-INF/views/admin/authorPop.jsp new file mode 100644 index 0000000..3a5cd95 --- /dev/null +++ b/VamPa/src/main/webapp/WEB-INF/views/admin/authorPop.jsp @@ -0,0 +1,12 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" + pageEncoding="UTF-8"%> + + + + +Insert title here + + +

작가 선택 pop 페이지

+ + \ No newline at end of file diff --git a/VamPa/src/main/webapp/WEB-INF/views/admin/goodsEnroll.jsp b/VamPa/src/main/webapp/WEB-INF/views/admin/goodsEnroll.jsp index fa53181..ffa28e7 100644 --- a/VamPa/src/main/webapp/WEB-INF/views/admin/goodsEnroll.jsp +++ b/VamPa/src/main/webapp/WEB-INF/views/admin/goodsEnroll.jsp @@ -37,7 +37,9 @@
- + + +
@@ -175,6 +177,18 @@ $("#enrollBtn").on("click",function(e){ $( "input[name='publeYear']" ).datepicker(config); }); +/* 작가 선택 버튼 */ + $('.authorId_btn').on("click",function(e){ + + e.preventDefault(); + + let popUrl = "/admin/authorPop"; + let popOption = "width = 650px, height=550px, top=300px, left=300px, scrollbars=yes"; + + window.open(popUrl,"작가 찾기",popOption); + + }); + diff --git a/VamPa/src/main/webapp/resources/css/admin/goodsEnroll.css b/VamPa/src/main/webapp/resources/css/admin/goodsEnroll.css index ab790f5..dc71bbc 100644 --- a/VamPa/src/main/webapp/resources/css/admin/goodsEnroll.css +++ b/VamPa/src/main/webapp/resources/css/admin/goodsEnroll.css @@ -144,7 +144,7 @@ ul{ } -.ui-datepicker-trigger { /* 캘린더 css 설정 */ +.ui-datepicker-trigger { /* 캘린더 css 설정 */ margin-left: 25px; width: 14%; height: 38px; @@ -158,6 +158,20 @@ input[name='publeYear'] { text-align: center; } +.authorId_btn { /* 작가 선택 css 설정 */ + margin-left: 20px; + width: 14%; + height: 38px; + font-weight: 600; + background-color: #dfe8f5; + font-size: 15px; + cursor:pointer; +} +#authorName_input { + width: 80%; + text-align: center; +} + /* 버튼 영역 */ .btn_section{ diff --git a/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties b/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties index c454437..5b0573d 100644 --- a/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties +++ b/VamPa/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven Integration for Eclipse -#Tue Mar 23 08:56:29 KST 2021 +#Wed Mar 24 14:23:16 KST 2021 m2e.projectLocation=C\:\\Users\\sjinj\\git\\Blog_Project\\VamPa m2e.projectName=VamPa groupId=com.vam diff --git a/VamPa_MySQL/src/main/java/com/vam/controller/AdminController.java b/VamPa_MySQL/src/main/java/com/vam/controller/AdminController.java index ee5ed3f..7ded0c5 100644 --- a/VamPa_MySQL/src/main/java/com/vam/controller/AdminController.java +++ b/VamPa_MySQL/src/main/java/com/vam/controller/AdminController.java @@ -132,6 +132,14 @@ public class AdminController { return "redirect:/admin/goodsManage"; } + + /* 작가 검색 팝업창 */ + @GetMapping("/authorPop") + public void authorPopGET() throws Exception{ + logger.info("authorPopGET......."); + + } + } diff --git a/VamPa_MySQL/src/main/webapp/WEB-INF/views/admin/authorPop.jsp b/VamPa_MySQL/src/main/webapp/WEB-INF/views/admin/authorPop.jsp new file mode 100644 index 0000000..3a5cd95 --- /dev/null +++ b/VamPa_MySQL/src/main/webapp/WEB-INF/views/admin/authorPop.jsp @@ -0,0 +1,12 @@ +<%@ page language="java" contentType="text/html; charset=UTF-8" + pageEncoding="UTF-8"%> + + + + +Insert title here + + +

작가 선택 pop 페이지

+ + \ No newline at end of file diff --git a/VamPa_MySQL/src/main/webapp/WEB-INF/views/admin/goodsEnroll.jsp b/VamPa_MySQL/src/main/webapp/WEB-INF/views/admin/goodsEnroll.jsp index fa53181..ffa28e7 100644 --- a/VamPa_MySQL/src/main/webapp/WEB-INF/views/admin/goodsEnroll.jsp +++ b/VamPa_MySQL/src/main/webapp/WEB-INF/views/admin/goodsEnroll.jsp @@ -37,7 +37,9 @@
- + + +
@@ -175,6 +177,18 @@ $("#enrollBtn").on("click",function(e){ $( "input[name='publeYear']" ).datepicker(config); }); +/* 작가 선택 버튼 */ + $('.authorId_btn').on("click",function(e){ + + e.preventDefault(); + + let popUrl = "/admin/authorPop"; + let popOption = "width = 650px, height=550px, top=300px, left=300px, scrollbars=yes"; + + window.open(popUrl,"작가 찾기",popOption); + + }); + diff --git a/VamPa_MySQL/src/main/webapp/resources/css/admin/goodsEnroll.css b/VamPa_MySQL/src/main/webapp/resources/css/admin/goodsEnroll.css index ab790f5..dc71bbc 100644 --- a/VamPa_MySQL/src/main/webapp/resources/css/admin/goodsEnroll.css +++ b/VamPa_MySQL/src/main/webapp/resources/css/admin/goodsEnroll.css @@ -144,7 +144,7 @@ ul{ } -.ui-datepicker-trigger { /* 캘린더 css 설정 */ +.ui-datepicker-trigger { /* 캘린더 css 설정 */ margin-left: 25px; width: 14%; height: 38px; @@ -158,6 +158,20 @@ input[name='publeYear'] { text-align: center; } +.authorId_btn { /* 작가 선택 css 설정 */ + margin-left: 20px; + width: 14%; + height: 38px; + font-weight: 600; + background-color: #dfe8f5; + font-size: 15px; + cursor:pointer; +} +#authorName_input { + width: 80%; + text-align: center; +} + /* 버튼 영역 */ .btn_section{ diff --git a/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties b/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties index de16d61..fa1fdf5 100644 --- a/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties +++ b/VamPa_MySQL/target/m2e-wtp/web-resources/META-INF/maven/com.vam/controller/pom.properties @@ -1,5 +1,5 @@ #Generated by Maven Integration for Eclipse -#Tue Mar 23 08:56:29 KST 2021 +#Wed Mar 24 14:23:17 KST 2021 m2e.projectLocation=C\:\\Users\\sjinj\\git\\Blog_Project\\VamPa_MySQL m2e.projectName=VamPa_MySQL groupId=com.vam