Toggle navigation
Toggle navigation
This project
Loading...
Sign in
이승윤
/
OpenSource-MyCookBook
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
이승윤
2021-05-31 21:34:27 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
534d5ac8ffc7e7226c47197089912b1539d01a62
534d5ac8
1 parent
6349bb24
style: login, 회원가입 스타일 변경
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
18 additions
and
16 deletions
views/accounts/join.ejs
views/accounts/login.ejs
views/accounts/join.ejs
View file @
534d5ac
<% include ../includes/header.ejs %>
<div class="
row
">
<div
class="col-md-4 col-md-offset-4"
>
<div
class="login-panel panel panel-default"
>
<div
class="panel-heading
">
<div class="
w-25 border border-info border-3" style="position: absolute; left: 37%; top: 17%;
">
<div>
<div>
<div
style="padding-top: 5%; padding-left: 5%;
">
<h3 class="panel-title">회원가입</h3>
</div>
<div class="panel-body">
<form role="form" action="" id="join_form" method="post">
<fieldset>
<div class="
form-group
">
<div class="
w-100" style="padding-left: 5%; padding-right: 5%;
">
<input class="form-control" placeholder="ID" name="username" type="text" autofocus="" required="">
</div>
<div class="
form-group
">
<div class="
w-100" style="padding-left: 5%; padding-right: 5%;padding-top: 3%
">
<input class="form-control" placeholder="Password" name="password" type="password" value="" required="">
</div>
<div class="
form-group
">
<div class="
w-100" style="padding-left: 5%; padding-right: 5%;padding-top: 3%
">
<input class="form-control" placeholder="Password 확인" name="password2" type="password" value="" required="">
</div>
<div class="
form-group
">
<div class="
w-100" style="padding-left: 5%; padding-right: 5%;padding-top: 3%
">
<input class="form-control" placeholder="이름" name="displayname" type="text" value="" required="">
</div>
<!-- Change this to a button or input when using this as a form -->
<div class="d-grid gap-2 col-11 mx-auto p-2">
<input type="submit" class="btn btn-lg btn-success btn-block" value="가입하기">
<div style="margin-top: 10px">
<a href="/auth/facebook" class="btn btn-lg btn-primary btn-block">
<i class="fa fa-facebook" aria-hidden="true"></i> 페이스북 회원가입
</a>
...
...
views/accounts/login.ejs
View file @
534d5ac
<% include ../includes/header.ejs %>
<div class="
row
">
<div
class="col-md-4 col-md-offset-4"
>
<div class="
w-25 border border-info border-3" style="position: absolute; left: 37%; top: 17%;
">
<div>
<%if(typeof flashMessage !=='undefined') {%>
<div class="alert alert-danger" role="alert"><%=flashMessage%></div>
<%}%>
<div
class="login-panel panel panel-default"
>
<div
class="panel-heading
">
<div>
<div
style="padding-top: 5%; padding-left: 5%;
">
<h3 class="panel-title">로그인</h3>
</div>
<div class="panel-body">
<form role="form" action="" id="login_form" method="post">
<fieldset>
<div class="form-group">
<div class="w-100" style="padding-left: 5%; padding-right: 5%;">
<label for="login" class="form-label">ID</label>
<input class="form-control" placeholder="ID" name="username" type="text" autofocus="" required="">
</div>
<div class="form-group">
<div class="w-100 p-3">
<label for="password" class="form-label">Password</label>
<input class="form-control" placeholder="Password" name="password" type="password" value="" required="">
</div>
<!-- Change this to a button or input when using this as a form -->
<div class="d-grid gap-2 col-11 mx-auto p-2">
<input type="submit" class="btn btn-lg btn-success btn-block" value="로그인">
<div style="margin-top: 10px">
<a href="/auth/facebook" class="btn btn-lg btn-primary btn-block">
<i class="fa fa-facebook" aria-hidden="true"></i> 페이스북 로그인
</a>
...
...
Please
register
or
login
to post a comment