<%
/**
 * <pre>
 * @Class Name : loginForm.jsp
 * 
 * @Description : 로그인폼
 * 
 * 
 * @프로젝트명: 지방문화원 통합자료관리시스템 구축사업 (2021)
 *
 * </pre>
 *
 * @ ------------    --------    ---------------------------
 * @ 수정일                     수정자             수정내용
 * @ ------------    --------    ---------------------------
 * @ 2021. 7. 12.    JSYOO       최초 생성
 *
 * 
 * @author 이씨플라자 * DIGITALSHIP JSYOO
 * @since 2021. 7. 12.
 * @version 1.0
 *
 */
 %>
<%@ page language="java" contentType="text/html; charset=UTF-8" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="sec" uri="http://www.springframework.org/security/tags"%>
<c:set var="pageTitle"><spring:message code="nlib.title"/> - 결과</c:set>

<!DOCTYPE html>
<html>
<head>
<title>LoginTest</title>
<script src = "//developers.kakao.com/sdk/js/kakao.min.js"></script>
<script type="text/javascript" src="https://static.nid.naver.com/js/naverLogin_implicit-1.0.2.js" charset="utf-8"></script>
  <script src="https://apis.google.com/js/api:client.js"></script>
  <script type="text/javascript" src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
  <script>
      function signUp(){
    	  location.href="${pageContext.request.contextPath}/login/loginCouncil.do?callType=member";
      }
      function findInfo(){
    	  location.href="${pageContext.request.contextPath}/member/initPasswordForm.do";
      }
  </script>
</head>
<body>
<br>

error : ${error }
&nbsp;<br>
message : ${message }
&nbsp;<br>
&nbsp;<br>

<!-- 네이버 로그인 화면으로 이동 시키는 URL -->
<!-- 네이버 로그인 화면에서 ID, PW를 올바르게 입력하면 callback 메소드 실행 요청 -->
<div id="naver_id_login" style="text-align:center"><a href="${naverUrl}" ><img width="223" src="${pageContext.request.contextPath}/images/nlib/sns/naver_login_btn.png"/></a></div>
<div id="googleLogin" style="text-align:center"><a href="${googleUrl}"  ><img width="223" src="${pageContext.request.contextPath}/images/nlib/sns/google_login_btn.png"/></a></div>
<div id="kakao_id_login" style="text-align: center"> <a href="${kakaoUrl}" > <img width="223" src="${pageContext.request.contextPath}/images/nlib/sns/kakao_login_btn.png" /></a> </div>
<br>
<div style="text-align:center">
    <input type="button"  onclick="signUp();" value="회원가입">
    <input type="button" onclick="findInfo();" value="비밀번호 초기화">
</div>
<script src="https://apis.google.com/js/platform.js?onload=init" async defer></script>
-------------------
<input type="text" value="<c:out value="${coutTest}" />" />
_______________


</body>
</html>