SnsCallBackFormWeb.html 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <!DOCTYPE html>
  2. <html lang="ko"
  3. xmlns:th="http://www.thymeleaf.org">
  4. <!--
  5. *******************************************************************************
  6. * @source : SigninFormWeb.html
  7. * @desc : 로그인 Page
  8. *============================================================================
  9. * STYLE24
  10. * Copyright(C) 2020 TSIT, All rights reserved.
  11. *============================================================================
  12. * VER DATE AUTHOR DESCRIPTION
  13. * === =========== ========== =============================================
  14. * 1.0 2021.02.15 gagamel 최초 작성
  15. *******************************************************************************
  16. -->
  17. <head th:replace="~{web/common/fragments/HeadWeb :: head}"></head>
  18. <th:block th:replace="~{web/common/fragments/VariablesWeb :: variables}"></th:block>
  19. <th:block th:replace="~{web/common/fragments/ScriptsWeb :: scripts}"></th:block>
  20. <body>
  21. <script th:inline="javascript">
  22. /*<![CDATA[*/
  23. const snsType = [[${snsType}]];
  24. const snsId = [[${snsId}]];
  25. if (snsType === 'KK') {
  26. if (gagajf.isNull(snsId)){
  27. mcxDialog.alertC("인증에 실패하였습니다.<br> 로그인 정보를 확인해주시기 바랍니다.", {
  28. sureBtnText: "확인",
  29. sureBtnClick: function() {
  30. self.close();
  31. }
  32. });
  33. } else {
  34. opener.fnSnsSigninCallback(snsId);
  35. self.close();
  36. }
  37. }
  38. /*]]>*/
  39. </script>
  40. </body>
  41. </html>