From 31c2484647ac70a2f115066f9b630b1411280f59 Mon Sep 17 00:00:00 2001 From: JSYOO Date: Wed, 21 Jul 2021 09:05:33 +0900 Subject: [PATCH] =?UTF-8?q?=EB=A1=9C=EA=B7=B8=EC=9D=B8=20=ED=9A=8C?= =?UTF-8?q?=EC=9B=90=EA=B0=80=EC=9E=85=20=EB=82=B4=EC=A0=95=EB=B3=B4=20?= =?UTF-8?q?=ED=8F=BC=20=EC=88=98=EC=A0=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../info/service/impl/InformServiceImpl.java | 4 +- src/main/resources/nlib/nlib.properties | 2 +- .../WEB-INF/jsp/nlib/login/loginForm.jsp | 81 +++++-- .../jsp/nlib/member/insertMemberInfoForm.jsp | 208 ++++-------------- .../nlib/member/selectMemberJoiningInfo.jsp | 8 +- .../WEB-INF/jsp/nlib/member/snsCertForm.jsp | 57 ++++- .../WEB-INF/jsp/nlib/userInfo/putMyInfo.jsp | 12 +- .../webapp/WEB-INF/tiles/tiles-layout.xml | 2 +- .../webapp/images/nlib/sign-in/g-normal.png | Bin 0 -> 529 bytes src/main/webapp/mail/mail_template.html | 12 + 10 files changed, 177 insertions(+), 209 deletions(-) create mode 100644 src/main/webapp/images/nlib/sign-in/g-normal.png create mode 100644 src/main/webapp/mail/mail_template.html diff --git a/src/main/java/nlib/info/service/impl/InformServiceImpl.java b/src/main/java/nlib/info/service/impl/InformServiceImpl.java index 5b5ebbf7..b20b0ea9 100644 --- a/src/main/java/nlib/info/service/impl/InformServiceImpl.java +++ b/src/main/java/nlib/info/service/impl/InformServiceImpl.java @@ -30,7 +30,9 @@ public class InformServiceImpl implements InformService * 테스트 데이터 * */ HashMap map = new HashMap(); - map.put("terms", "이용약관입니다~"); + map.put("terms", "여러분은 본 약관을 읽고 동의하신 후 회원 가입을 신청하실 수 있으며, 네이버는 이에 대한 승낙을 통해 회원 가입 절차를 완료하고 여러분께 네이버 서비스 이용 계정(이하 ‘계정’)을 부여합니다. 계정이란 회원이 네이버 서비스에 로그인한 이후 이용하는 각종 서비스 이용 이력을 회원 별로 관리하기 위해 설정한 회원 식별 단위를 말합니다.\n" + + "\n" + + "회원은 자신의 계정을 통해 좀더 다양한 네이버 서비스를 보다 편리하게 이용할 수 있습니다. 이와 관련한 상세한 내용은 계정 운영정책 및 고객센터 내 네이버 회원가입 방법 등에서 확인해 주세요."); resVO.setInfo(map); return resVO; } diff --git a/src/main/resources/nlib/nlib.properties b/src/main/resources/nlib/nlib.properties index 1f8e6eb0..6fa5e4c8 100644 --- a/src/main/resources/nlib/nlib.properties +++ b/src/main/resources/nlib/nlib.properties @@ -34,6 +34,6 @@ dataapi.temp.xml.path = C:/iams/workspace/nlib/data/dataxml crypto.aria.defaultKey = TheFederationOfKoreaCultureCenter027042322 # \uba54\uc77c \uc815\ubcf4 -mailing.sender.membership.template = C:/iams/workspace/nlib/src/main/webapp/mail_template.html +mailing.sender.membership.template = C:/iams/workspace/nlib/src/main/webapp/mail/mail_template.html mailing.sender.membership.email = no-reply@nlib.org mailing.sender.membership.name = Nlib diff --git a/src/main/webapp/WEB-INF/jsp/nlib/login/loginForm.jsp b/src/main/webapp/WEB-INF/jsp/nlib/login/loginForm.jsp index 8590bac3..0c7222d9 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/login/loginForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/login/loginForm.jsp @@ -37,20 +37,10 @@ + + + -로그인
-
ID
-
PW
- + + -회원가입 -ID|비밀번호찾기 + +


+ @@ -94,7 +128,7 @@ // 단 'localhost'가 포함된 CallBack URL var state = naver_id_login.getUniqState(); - naver_id_login.setButton("green", 4, 40); + naver_id_login.setButton("green", 6, 48); naver_id_login.setDomain("http://www.example.com/nlib/login/loginForm.do"); // URL naver_id_login.setState(state); naver_id_login.setPopup(); @@ -138,7 +172,8 @@ function init() { // 인스턴스의 함수 호출 - element에 로그인 기능 추가 // GgCustomLogin은 li태그안에 있는 ID, 위에 설정한 options와 아래 성공,실패시 실행하는 함수들 gapi.auth2.getAuthInstance().attachClickHandler('GgCustomLogin', options, onSignIn, onSignInFailure); - }) + }); + } function onSignIn(googleUser) { var access_token = googleUser.getAuthResponse().access_token diff --git a/src/main/webapp/WEB-INF/jsp/nlib/member/insertMemberInfoForm.jsp b/src/main/webapp/WEB-INF/jsp/nlib/member/insertMemberInfoForm.jsp index f53107af..e4bcfa7d 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/member/insertMemberInfoForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/member/insertMemberInfoForm.jsp @@ -37,7 +37,30 @@ - - - diff --git a/src/main/webapp/WEB-INF/jsp/nlib/member/selectMemberJoiningInfo.jsp b/src/main/webapp/WEB-INF/jsp/nlib/member/selectMemberJoiningInfo.jsp index 42323a23..19b90669 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/member/selectMemberJoiningInfo.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/member/selectMemberJoiningInfo.jsp @@ -43,8 +43,10 @@ function snsCertForm(){ -${result.info["terms"]} -동의 - +
+ +
동의
+

+
\ No newline at end of file diff --git a/src/main/webapp/WEB-INF/jsp/nlib/member/snsCertForm.jsp b/src/main/webapp/WEB-INF/jsp/nlib/member/snsCertForm.jsp index 4dc5a437..33262ffb 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/member/snsCertForm.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/member/snsCertForm.jsp @@ -60,6 +60,8 @@ + + + SNS 인증
@@ -85,13 +125,14 @@ SNS 인증
- + @@ -102,7 +143,7 @@ SNS 인증
// 단 'localhost'가 포함된 CallBack URL var state = naver_id_login.getUniqState(); - naver_id_login.setButton("green", 4, 40); + naver_id_login.setButton("green", 6, 48); naver_id_login.setDomain("http://www.example.com/nlib/member/snsCertForm.do"); // URL naver_id_login.setState(state); naver_id_login.setPopup(); diff --git a/src/main/webapp/WEB-INF/jsp/nlib/userInfo/putMyInfo.jsp b/src/main/webapp/WEB-INF/jsp/nlib/userInfo/putMyInfo.jsp index 7a50e747..faa8c345 100644 --- a/src/main/webapp/WEB-INF/jsp/nlib/userInfo/putMyInfo.jsp +++ b/src/main/webapp/WEB-INF/jsp/nlib/userInfo/putMyInfo.jsp @@ -75,9 +75,13 @@ document.addEventListener('keydown', function(event) { }, true); function update(){ - alert("수정되었습니다."); - document.updateForm.action="/nlib/userInfo/getMyInfo.do"; - document.updateForm.submit(); + if(confirm("수정하시겠습니까?")){ + alert("수정되었습니다."); + document.updateForm.action="/nlib/userInfo/getMyInfo.do"; + document.updateForm.submit(); + }else{ + return false; + } }