Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이유제
/
CultureGallery
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
YujeLee
2020-12-10 08:40:28 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
2eb90926bb51c49a2f923a6f37a5c86d3e008f23
2eb90926
1 parent
57bfa379
FrontEnd: login / main / search html 보완
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
83 deletions
views/login.html
views/loginPage.html
views/main.html
views/search.html
views/login.html
View file @
2eb9092
...
...
@@ -10,7 +10,7 @@
<body>
<header>
<div
class=
"nav-bar"
>
<img
src=
"../images/
camera
.png"
alt=
""
class=
"logo"
>
<img
src=
"../images/
icon
.png"
alt=
""
class=
"logo"
>
<ul
class=
"menu"
>
<li><a
href=
"/"
>
Home
</a></li>
...
...
views/loginPage.html
deleted
100644 → 0
View file @
57bfa37
<!DOCTYPE html>
<html>
<head>
<meta
charset=
"utf-8"
/>
<title>
login page title
</title>
<script
src=
"https://developers.kakao.com/sdk/js/kakao.js"
></script>
</head>
<body>
<a
id=
"kakao-login-btn"
></a>
<a
href=
"http://developers.kakao.com/logout"
></a>
<script>
Kakao
.
init
(
'0678e32dab56db1c52ac63ab4ccb7663'
);
console
.
log
(
Kakao
.
isInitialized
());
Kakao
.
Auth
.
createLoginButton
({
container
:
'#kakao-login-btn'
,
success
:
function
(
authObj
){
console
.
log
(
JSON
.
stringify
(
authObj
));
alert
(
JSON
.
stringify
(
authObj
));
//authObj -> 토큰임.
redirectUrl
},
fail
:
function
(
err
){
alert
(
JSON
.
stringify
(
err
));
}
})
console
.
log
(
'hi'
);
Kakao
.
Link
.
createDefaultButton
({
container
:
".kakao-link"
,
objectType
:
"feed"
,
content
:{
title
:
"안녕하세요"
,
description
:
"반갑습니다."
,
link
:{
webUrl
:
"https://www.naver.com/"
,
mobileWebUrl
:
"https://www.naver.com/"
},
},
})
function
kakaoLogout
(){
Kakao
.
Auth
.
logout
(
function
(
response
){
alert
(
response
+
'logout'
);
Kakao
.
API
.
request
({
url
:
'/v1/user/unlink'
,
success
:
function
(
response
)
{
console
.
log
(
response
);
},
fail
:
function
(
error
)
{
console
.
log
(
error
);
console
.
log
(
"error"
);
},
})
})
}
</script>
<script>
console
.
log
(
'hi'
);
Kakao
.
Link
.
createDefaultButton
({
container
:
".kakao-link"
,
objectType
:
"feed"
,
content
:{
title
:
"안녕하세요"
,
description
:
"반갑습니다."
,
link
:{
webUrl
:
"https://www.naver.com/"
,
mobileWebUrl
:
"https://www.naver.com/"
},
},
})
</script>
<a
onclick=
"kakaoLogout();"
>
카카오 로그아웃
</a>
</body>
</html>
views/main.html
View file @
2eb9092
...
...
@@ -8,7 +8,7 @@
<body>
<header>
<div
class=
"nav-bar"
>
<img
src=
"../images/
camera
.png"
alt=
""
class=
"logo"
>
<img
src=
"../images/
icon
.png"
alt=
""
class=
"logo"
>
<ul
class=
"menu"
>
<li><a
href=
""
>
Home
</a></li>
<li><a
href=
""
>
Services
</a></li>
...
...
@@ -18,13 +18,22 @@
<li><a
href=
""
>
Contact
</a></li>
</ul>
</div>
<div
class=
"title"
>
<h1>
Culture Gallery
</h1>
</div>
<div
class=
"welcome"
>
<h1>
어떤 공연을 찾으시나요?
</h1>
<div
class=
"search-box"
>
<input
type=
"text"
value=
""
id=
"searchinput"
placeholder=
"검색어를 입력하세요 (ex. 유미의 세포들 특별전)..."
>
<button
onclick=
"search()"
value=
""
>
검색
</button>
</div>
<a
href=
"mappage"
class=
"btn btn1"
>
나의 근처 공연
</a>
<a
href=
"?id="
class=
"btn btn2"
>
검색하기
</a>
<a
href=
"login"
class=
"btn btn3"
>
로그인
</a>
</div>
</header>
<div
class=
"welcome"
>
<h1>
어떤 공연을 찾으시나요?
</h1>
<a
href=
"mappage"
class=
"btn btn1"
>
나의 근처 공연
</a>
<a
href=
"#"
class=
"btn btn2"
>
검색하기
</a>
<a
href=
"login"
class=
"btn btn3"
>
로그인
</a>
</div>
</body>
</html>
\ No newline at end of file
...
...
views/search.html
0 → 100644
View file @
2eb9092
<!DOCTYPE html>
<html
lang=
"ko"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
Culture Gallery
</title>
<link
rel=
"stylesheet"
href=
'/stylesheets/login_style.css'
type=
"text/css"
>
<script
src=
"https://developers.kakao.com/sdk/js/kakao.js"
></script>
</head>
<body>
<header>
<div
class=
"nav-bar"
>
<img
src=
"../images/icon.png"
alt=
""
class=
"logo"
>
<ul
class=
"menu"
>
<li><a
href=
"/"
>
Home
</a></li>
<li><a
href=
""
>
Services
</a></li>
<li><a
href=
""
>
Portfolio
</a></li>
<li><a
href=
""
>
Testimonimal
</a></li>
<li><a
href=
""
>
Career
</a></li>
<li><a
href=
""
>
Contact
</a></li>
</ul>
</div>
</header>
<h1>
검색하기
</h1>
<hr>
<form
action=
"/search"
method=
"POST"
>
<table>
<tr>
<td><input
type=
"text"
name=
"name"
placeholder=
"장소를 입력하세요."
></td>
</tr>
<tr>
<td><input
type=
"text"
name=
"modelnumber"
placeholder=
"모델넘버를 입력하세요."
></td>
</tr>
<tr>
<td><input
type=
"text"
name=
"series"
placeholder=
"시리즈를 입력하세요."
></td>
</tr>
</table>
<input
type=
"submit"
value=
"전송하기"
>
</form>
</body>
</html>
\ No newline at end of file
Please
register
or
login
to post a comment