Toggle navigation
Toggle navigation
This project
Loading...
Sign in
김대철
/
CafeRecommend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
1
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
최정민
2021-06-07 00:54:20 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
815dd1f6ed6c4fcb75c45c124df895bb772c9a4a
815dd1f6
1 parent
e5a3d2b9
CHORE : 오류수정및 map페이지 디자인 수정
-
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
3 deletions
sessions/e7kjBCXJobyGW1wzonYQ38C7nEs40uU6.json
views/index.ejs
views/map.ejs
sessions/e7kjBCXJobyGW1wzonYQ38C7nEs40uU6.json
0 → 100644
View file @
815dd1f
{
"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
views/index.ejs
View file @
815dd1f
...
...
@@ -81,6 +81,13 @@
};
xhr
.
send
(
JSON
.
stringify
({
token
:
id_token
}));
}
function
signOut
()
{
var
auth2
=
gapi
.
auth2
.
getAuthInstance
();
auth2
.
signOut
().
then
(
function
()
{
console
.
log
(
"User signed out."
);
});
}
</script>
<script
src=
"javascripts/bootstrap.js"
></script>
<script
src=
"https://code.jquery.com/jquery-3.1.1.min.js"
></script>
...
...
views/map.ejs
View file @
815dd1f
...
...
@@ -137,7 +137,7 @@
>
</li>
<li
class=
"nav-item active"
>
<a
class=
"nav-link"
style=
"color: #ffffff"
href=
"
/recommend
"
<a
class=
"nav-link"
style=
"color: #ffffff"
href=
"
javascript:void(0);"
onclick=
"recommend();
"
>
Recommend
<span
class=
"sr-only"
>
(current)
</span>
</a>
...
...
@@ -201,6 +201,7 @@
click
=
true
;
removeMarker
();
searchPlaces
();
alert
(
"추천이 활성화 되었습니다."
);
}
}
// 추천 기능 비활성화
else
{
...
...
@@ -209,11 +210,11 @@
click
=
false
;
removeMarker
();
searchPlaces
();
alert
(
"추천이 비활성화 되었습니다."
);
}
},
});
}
// 지도 기본설정
var
mapContainer
=
document
.
getElementById
(
"map"
),
mapOption
=
{
...
...
@@ -371,7 +372,7 @@
' <span class="tel">'
+
place
.
phone
+
"</span>"
+
`<a href="/review/
${
place
.
id
}
"><button>후기 작성</button>`
;
`<a href="/review/
${
place
.
id
}
"><button
type="button" class="btn btn-outline-danger" style="font-size:70%;"
>후기 작성</button>`
;
"</div>"
+
'<div class="after"></div>'
;
contentNode
.
innerHTML
=
content
;
placeOverlay
.
setPosition
(
new
kakao
.
maps
.
LatLng
(
place
.
y
,
place
.
x
));
...
...
Please
register
or
login
to post a comment