Showing
3 changed files
with
12 additions
and
3 deletions
1 | +{"cookie":{"originalMaxAge":null,"expires":null,"httpOnly":true,"path":"/"},"__lastAccess":1622994774019,"user":{"email":"cjm104174@gmail.com","picture":"https://lh3.googleusercontent.com/a-/AOh14Gh3nytGsPbviGhkznR8HIwrL6o7xBIoFL08nIeU=s96-c","nickname":"Mayf","age":25,"gender":"male"}} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
... | @@ -81,6 +81,13 @@ | ... | @@ -81,6 +81,13 @@ |
81 | }; | 81 | }; |
82 | xhr.send(JSON.stringify({token : id_token})); | 82 | xhr.send(JSON.stringify({token : id_token})); |
83 | } | 83 | } |
84 | + | ||
85 | + function signOut() { | ||
86 | + var auth2 = gapi.auth2.getAuthInstance(); | ||
87 | + auth2.signOut().then(function () { | ||
88 | + console.log("User signed out."); | ||
89 | + }); | ||
90 | + } | ||
84 | </script> | 91 | </script> |
85 | <script src="javascripts/bootstrap.js"></script> | 92 | <script src="javascripts/bootstrap.js"></script> |
86 | <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | 93 | <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script> | ... | ... |
... | @@ -137,7 +137,7 @@ | ... | @@ -137,7 +137,7 @@ |
137 | > | 137 | > |
138 | </li> | 138 | </li> |
139 | <li class="nav-item active"> | 139 | <li class="nav-item active"> |
140 | - <a class="nav-link" style="color: #ffffff" href="/recommend" | 140 | + <a class="nav-link" style="color: #ffffff" href="javascript:void(0);" onclick="recommend();" |
141 | >Recommend | 141 | >Recommend |
142 | <span class="sr-only">(current)</span> | 142 | <span class="sr-only">(current)</span> |
143 | </a> | 143 | </a> |
... | @@ -201,6 +201,7 @@ | ... | @@ -201,6 +201,7 @@ |
201 | click = true; | 201 | click = true; |
202 | removeMarker(); | 202 | removeMarker(); |
203 | searchPlaces(); | 203 | searchPlaces(); |
204 | + alert("추천이 활성화 되었습니다."); | ||
204 | } | 205 | } |
205 | } // 추천 기능 비활성화 | 206 | } // 추천 기능 비활성화 |
206 | else { | 207 | else { |
... | @@ -209,11 +210,11 @@ | ... | @@ -209,11 +210,11 @@ |
209 | click = false; | 210 | click = false; |
210 | removeMarker(); | 211 | removeMarker(); |
211 | searchPlaces(); | 212 | searchPlaces(); |
213 | + alert("추천이 비활성화 되었습니다."); | ||
212 | } | 214 | } |
213 | }, | 215 | }, |
214 | }); | 216 | }); |
215 | } | 217 | } |
216 | - | ||
217 | // 지도 기본설정 | 218 | // 지도 기본설정 |
218 | var mapContainer = document.getElementById("map"), | 219 | var mapContainer = document.getElementById("map"), |
219 | mapOption = { | 220 | mapOption = { |
... | @@ -371,7 +372,7 @@ | ... | @@ -371,7 +372,7 @@ |
371 | ' <span class="tel">' + | 372 | ' <span class="tel">' + |
372 | place.phone + | 373 | place.phone + |
373 | "</span>" + | 374 | "</span>" + |
374 | - `<a href="/review/${place.id}"><button>후기 작성</button>`; | 375 | + `<a href="/review/${place.id}"><button type="button" class="btn btn-outline-danger" style="font-size:70%;">후기 작성</button>`; |
375 | "</div>" + '<div class="after"></div>'; | 376 | "</div>" + '<div class="after"></div>'; |
376 | contentNode.innerHTML = content; | 377 | contentNode.innerHTML = content; |
377 | placeOverlay.setPosition(new kakao.maps.LatLng(place.y, place.x)); | 378 | placeOverlay.setPosition(new kakao.maps.LatLng(place.y, place.x)); | ... | ... |
-
Please register or login to post a comment