Showing
4 changed files
with
112 additions
and
52 deletions
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html> | 2 | <html> |
3 | -<head> | 3 | + <head> |
4 | - <meta charset="UTF-8"> | 4 | + <meta charset="UTF-8" /> |
5 | <script src="https://apis.google.com/js/platform.js" async defer></script> | 5 | <script src="https://apis.google.com/js/platform.js" async defer></script> |
6 | - <meta name="google-signin-client_id" content="94679084723-s5f0686p2porp9mkakrp1p89a48n24nj.apps.googleusercontent.com"> | 6 | + <meta |
7 | - <meta name="viewport" content="width=device-width, initial-scale=1.0"> | 7 | + name="google-signin-client_id" |
8 | + content="94679084723-s5f0686p2porp9mkakrp1p89a48n24nj.apps.googleusercontent.com" | ||
9 | + /> | ||
10 | + <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | ||
8 | <title>first</title> | 11 | <title>first</title> |
9 | - <link rel="stylesheet" href="stylesheets/bootstrap.css"> | 12 | + <link |
10 | - <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@700&display=swap" rel="stylesheet"> | 13 | + rel="stylesheet" |
14 | + href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" | ||
15 | + integrity="undefined" | ||
16 | + crossorigin="anonymous" | ||
17 | + /> | ||
18 | + <link | ||
19 | + href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@700&display=swap" | ||
20 | + rel="stylesheet" | ||
21 | + /> | ||
11 | 22 | ||
12 | <style> | 23 | <style> |
13 | - img{ | 24 | + img { |
14 | max-width: 100%; | 25 | max-width: 100%; |
15 | height: 100% !important; | 26 | height: 100% !important; |
16 | } | 27 | } |
17 | - h1{font-family: 'Noto Sans KR', sans-serif;} | 28 | + h1 { |
18 | - h4{font-family: 'Noto Sans KR', sans-serif;} | 29 | + font-family: "Noto Sans KR", sans-serif; |
19 | - h2{font-family: 'Noto Sans KR', sans-serif;} | 30 | + } |
20 | - h3{font-family: 'Noto Sans KR', sans-serif;} | 31 | + h4 { |
21 | - h5{font-family: 'Noto Sans KR', sans-serif;} | 32 | + font-family: "Noto Sans KR", sans-serif; |
22 | - .center{ | 33 | + } |
34 | + h2 { | ||
35 | + font-family: "Noto Sans KR", sans-serif; | ||
36 | + } | ||
37 | + h3 { | ||
38 | + font-family: "Noto Sans KR", sans-serif; | ||
39 | + } | ||
40 | + h5 { | ||
41 | + font-family: "Noto Sans KR", sans-serif; | ||
42 | + } | ||
43 | + .center { | ||
23 | background-color: #848484; | 44 | background-color: #848484; |
24 | margin-right: 20%; | 45 | margin-right: 20%; |
25 | margin-left: 20%; | 46 | margin-left: 20%; |
26 | margin-top: 5%; | 47 | margin-top: 5%; |
27 | - text-align:center; | 48 | + text-align: center; |
28 | } | 49 | } |
29 | - .g-signin2{ | 50 | + .g-signin2 { |
30 | width: 100%; | 51 | width: 100%; |
31 | } | 52 | } |
32 | 53 | ||
33 | - .g-signin2 > div{ | 54 | + .g-signin2 > div { |
34 | margin: 0 auto; | 55 | margin: 0 auto; |
35 | } | 56 | } |
36 | </style> | 57 | </style> |
58 | + </head> | ||
37 | 59 | ||
38 | -</head> | 60 | + <body> |
39 | - | 61 | + <nav class="navbar navbar-expand-lg navbar-dark bg-dark"> |
40 | -<body> | 62 | + <a class="navbar-brand" href="/" |
41 | -<nav class="navbar navbar-expand-lg navbar-dark bg-dark"> | 63 | + ><img src="images/home.png" width="40" height="40" alt="" /> |
42 | - <a class="navbar-brand" href="/"><img src="images/home.png" width="40" height="40" alt=""> | ||
43 | </a> | 64 | </a> |
44 | - <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation"> | 65 | + <button |
66 | + class="navbar-toggler" | ||
67 | + type="button" | ||
68 | + data-toggle="collapse" | ||
69 | + data-target="#navbarSupportedContent" | ||
70 | + aria-controls="navbarSupportedContent" | ||
71 | + aria-expanded="false" | ||
72 | + aria-label="Toggle navigation" | ||
73 | + > | ||
45 | <span class="navbar-toggler-icon"></span> | 74 | <span class="navbar-toggler-icon"></span> |
46 | </button> | 75 | </button> |
47 | <div class="collapse navbar-collapse" id="navbarSupportedContent"> | 76 | <div class="collapse navbar-collapse" id="navbarSupportedContent"> |
48 | - <a class="navbar-brand" href="/" ><strong>Home</strong></a> | 77 | + <a class="navbar-brand" href="/"><strong>Home</strong></a> |
49 | <ul class="navbar-nav mr-auto mt-2 mt-lg-0"> | 78 | <ul class="navbar-nav mr-auto mt-2 mt-lg-0"> |
50 | - | ||
51 | <li class="nav-item active"> | 79 | <li class="nav-item active"> |
52 | - <a class="nav-link" style="color:#ffffff" href="/" onclick="signOut();">Logout<span class="sr-only">(current)</span></a> | 80 | + <a |
81 | + class="nav-link" | ||
82 | + style="color: #ffffff" | ||
83 | + href="/" | ||
84 | + onclick="signOut();" | ||
85 | + >Logout<span class="sr-only">(current)</span></a | ||
86 | + > | ||
53 | </li> | 87 | </li> |
54 | - | ||
55 | </ul> | 88 | </ul> |
56 | </div> | 89 | </div> |
57 | -</nav> | 90 | + </nav> |
58 | -<br><br> | 91 | + <br /><br /> |
59 | - <div class ="center" > | 92 | + <div class="center"> |
60 | - <br> | 93 | + <br /> |
61 | - <h5 class="display-5 font-weight-bold" style="color: white">Cafe Recommend</h5> | 94 | + <h5 class="display-5 font-weight-bold" style="color: white"> |
62 | - <br><br> | 95 | + Cafe Recommend |
63 | - <div class="g-signin2" data-onsuccess="onSignIn" -theme="light" data-width="300" data-height="50" data-longtitle="true">button</div> | 96 | + </h5> |
64 | - <br><br> | 97 | + <br /><br /> |
98 | + <div | ||
99 | + class="g-signin2" | ||
100 | + data-onsuccess="onSignIn" | ||
101 | + -theme="light" | ||
102 | + data-width="300" | ||
103 | + data-height="50" | ||
104 | + data-longtitle="true" | ||
105 | + > | ||
106 | + button | ||
65 | </div> | 107 | </div> |
66 | -</body> | 108 | + <br /><br /> |
67 | - | 109 | + </div> |
110 | + </body> | ||
68 | 111 | ||
69 | -<script> | 112 | + <script> |
70 | function onSignIn(googleUser) { | 113 | function onSignIn(googleUser) { |
71 | var id_token = googleUser.getAuthResponse().id_token; | 114 | var id_token = googleUser.getAuthResponse().id_token; |
72 | var xhr = new XMLHttpRequest(); | 115 | var xhr = new XMLHttpRequest(); |
73 | - xhr.open('POST', '/index'); | 116 | + xhr.open("POST", "/index"); |
74 | - xhr.setRequestHeader('Content-Type', 'application/json'); | 117 | + xhr.setRequestHeader("Content-Type", "application/json"); |
75 | - xhr.onload = function() { | 118 | + xhr.onload = function () { |
76 | - console.log('Signed in as: ' + xhr.responseText); | 119 | + console.log("Signed in as: " + xhr.responseText); |
77 | - if(xhr.responseText == 'success'){ | 120 | + if (xhr.responseText == "success") { |
78 | signOut(); | 121 | signOut(); |
79 | - location.assign('/login'); | 122 | + location.assign("/login"); |
80 | } | 123 | } |
81 | }; | 124 | }; |
82 | - xhr.send(JSON.stringify({token : id_token})); | 125 | + xhr.send(JSON.stringify({ token: id_token })); |
83 | } | 126 | } |
84 | -</script> | 127 | + </script> |
85 | -<script src="javascripts/bootstrap.js"></script> | 128 | + <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> |
86 | -<script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | 129 | + <script |
130 | + src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js" | ||
131 | + integrity="undefined" | ||
132 | + crossorigin="anonymous" | ||
133 | + ></script> | ||
87 | </html> | 134 | </html> |
88 | - | ... | ... |
This diff is collapsed. Click to expand it.
1 | <!DOCTYPE html> | 1 | <!DOCTYPE html> |
2 | <html> | 2 | <html> |
3 | <head> | 3 | <head> |
4 | - <link rel="stylesheet" href="stylesheets/bootstrap.css" /> | 4 | + <link |
5 | + rel="stylesheet" | ||
6 | + href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" | ||
7 | + integrity="undefined" | ||
8 | + crossorigin="anonymous" | ||
9 | + /> | ||
5 | <title>Cafe Map</title> | 10 | <title>Cafe Map</title> |
6 | <style> | 11 | <style> |
7 | .navbar { | 12 | .navbar { |
... | @@ -378,8 +383,12 @@ | ... | @@ -378,8 +383,12 @@ |
378 | placeOverlay.setMap(map); | 383 | placeOverlay.setMap(map); |
379 | } | 384 | } |
380 | </script> | 385 | </script> |
381 | - <script src="javascripts/bootstrap.js"></script> | ||
382 | <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | 386 | <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> |
387 | + <script | ||
388 | + src="https://cdn.jsdelivr.net/npm/bootstrap@4.6.0/dist/js/bootstrap.min.js" | ||
389 | + integrity="undefined" | ||
390 | + crossorigin="anonymous" | ||
391 | + ></script> | ||
383 | 392 | ||
384 | <!-- 모달 바디 --> | 393 | <!-- 모달 바디 --> |
385 | <div | 394 | <div | ... | ... |
... | @@ -5,7 +5,12 @@ | ... | @@ -5,7 +5,12 @@ |
5 | 5 | ||
6 | <title>Enroll Review</title> | 6 | <title>Enroll Review</title> |
7 | 7 | ||
8 | - <link rel="stylesheet" href="/stylesheets/bootstrap.css"> | 8 | + <link |
9 | + rel="stylesheet" | ||
10 | + href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/css/bootstrap.min.css" | ||
11 | + integrity="undefined" | ||
12 | + crossorigin="anonymous" | ||
13 | + /> | ||
9 | <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@700&display=swap" rel="stylesheet"> | 14 | <link href="https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@700&display=swap" rel="stylesheet"> |
10 | 15 | ||
11 | <style> | 16 | <style> |
... | @@ -123,6 +128,6 @@ | ... | @@ -123,6 +128,6 @@ |
123 | </div> | 128 | </div> |
124 | </section> | 129 | </section> |
125 | </body> | 130 | </body> |
126 | -<script src="/javascripts/bootstrap.js"></script> | ||
127 | <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | 131 | <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> |
132 | +<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.1/dist/js/bootstrap.min.js" integrity="undefined" crossorigin="anonymous"></script> | ||
128 | </html> | 133 | </html> |
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
-
Please register or login to post a comment