최초 커밋!
This commit is contained in:
45
front/src/main/resources/templates/security/login.html
Normal file
45
front/src/main/resources/templates/security/login.html
Normal file
@@ -0,0 +1,45 @@
|
||||
<!DOCTYPE html>
|
||||
<html layout:decorate="~{layout/layout}" xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
||||
xmlns:th="http://www.thymeleaf.org">
|
||||
|
||||
<section layout:fragment="content">
|
||||
<form method="post" th:action="@{/login}">
|
||||
|
||||
<div class="" th:if="${session['SPRING_SECURITY_LAST_EXCEPTION']} != null">
|
||||
<div class="alert alert-danger fw-bold"
|
||||
th:utext="${session['SPRING_SECURITY_LAST_EXCEPTION'].message}">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<h3>
|
||||
<a href="/oauth2/authorization/kakao">카카오 로그인</a>
|
||||
<a href="/oauth2/authorization/naver">네이버 로그인</a>
|
||||
</h3>
|
||||
|
||||
<div class="">
|
||||
<label for="">ID</label>
|
||||
<input autofocus class="" id="floatingInput" name="username" placeholder="ID를 입력해주세요"
|
||||
type="text">
|
||||
</div>
|
||||
<div class="">
|
||||
<label for="floatingPassword">Password</label>
|
||||
<input class="f" id="floatingPassword" name="password" placeholder="Password" type="password">
|
||||
</div>
|
||||
|
||||
<div class="">
|
||||
<div aria-label="Basic checkbox toggle button group" class="" roleDto="group">
|
||||
<input autocomplete="off" class="" id="btn_ck1" name="remember-me" type="checkbox">
|
||||
<label class="" for="btn_ck1">로그인 상태 유지하기</label>
|
||||
</div>
|
||||
</div>
|
||||
<button class="" type="submit">Sign in</button>
|
||||
</form>
|
||||
|
||||
<div>
|
||||
<a href="/user/register">회원가입</a>
|
||||
</div>
|
||||
|
||||
</section>
|
||||
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user