Toggle navigation
Toggle navigation
This project
Loading...
Sign in
구희연
/
Food_recipe_info
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Authored by
조국현
2021-11-22 15:08:23 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
91bf3244b002ea4e2ecd22c34713c9620ec98126
91bf3244
1 parent
67381079
Update index.ejs and index.css
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
59 additions
and
24 deletions
public/css/index.css
public/index.ejs
public/css/index.css
View file @
91bf324
*
{
box-sizing
:
border-bo
x
;
font-
family
:
'Noto Sans KR'
,
Sans-serif
;
body
{
padding-top
:
15p
x
;
font-
size
:
12px
}
body
{
ma
rgin
:
0
;
background-color
:
gray
;
.main
{
ma
x-width
:
320px
;
margin
:
0
auto
;
}
.container
{
.login-or
{
position
:
relative
;
font-size
:
18px
;
color
:
#aaa
;
margin-top
:
10px
;
margin-bottom
:
10px
;
padding-top
:
10px
;
padding-bottom
:
10px
;
}
.span-or
{
display
:
block
;
position
:
absolute
;
width
:
400px
;
height
:
400px
;
background-color
:
gray
;
text-align
:
center
;
margin-left
:
-200px
;
margin-top
:
-200px
;
left
:
50%
;
top
:
50%
;
left
:
50%
;
top
:
-2px
;
margin-left
:
-25px
;
background-color
:
#fff
;
width
:
50px
;
text-align
:
center
;
}
.hr-or
{
background-color
:
#cdcdcd
;
height
:
1px
;
margin-top
:
0px
!important
;
margin-bottom
:
0px
!important
;
}
h3
{
text-align
:
center
;
line-height
:
300%
;
}
\ No newline at end of file
...
...
public/index.ejs
View file @
91bf324
...
...
@@ -3,19 +3,36 @@
<head>
<meta
charset=
"utf-8"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"/css/index.css"
/>
<link
href=
"//netdna.bootstrapcdn.com/bootstrap/3.0.0/css/bootstrap.min.css"
rel=
"stylesheet"
id=
"bootstrap-css"
>
<script
src=
"//netdna.bootstrapcdn.com/bootstrap/3.0.0/js/bootstrap.min.js"
></script>
<script
src=
"//code.jquery.com/jquery-1.11.1.min.js"
></script>
<title>
<
%= title %>
</title>
</head>
<body>
<div
class=
"container"
>
<h1>
Login
</h1>
<form
method=
"POST"
action=
"/"
>
<label
for=
"userId"
>
아이디
</label>
<input
type=
"text"
id=
"userId"
name=
"userId"
><br>
<label
for=
"password"
>
비밀번호
</label>
<input
type=
"password"
id=
"password"
name=
"password"
><br>
<button>
로그인
</button>
</form>
<div
class=
"row"
>
<div
class=
"main"
>
<h3>
Login
</h3>
<form
role=
"form"
method=
"POST"
action=
"/"
>
<div
class=
"form-group"
>
<label
for=
"userId"
>
ID
</label>
<input
type=
"text"
class=
"form-control"
id=
"userId"
name=
"userId"
>
</div>
<div
class=
"form-group"
>
<label
for=
"password"
>
비밀번호
</label>
<input
type=
"password"
class=
"form-control"
id=
"password"
name=
"password"
>
</div>
<button
type=
"submit"
class=
"btn btn btn-primary"
>
Enter
</button>
</form>
</div>
</div>
</div>
</body>
</html>
\ No newline at end of file
...
...
Please
register
or
login
to post a comment