2022-12-22 01:55:19 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html lang="ko" xmlns:th="http://www.thymeleaf.org"
|
|
|
|
|
xmlns:layout="http://www.ultraq.net.nz/thymeleaf/layout"
|
|
|
|
|
layout:decorate="~{layout/layout}">
|
|
|
|
|
<th:block layout:fragment="css">
|
|
|
|
|
<link rel="stylesheet" th:href="@{/css/login/login.css}">
|
|
|
|
|
</th:block>
|
|
|
|
|
<th:block layout:fragment="script">
|
|
|
|
|
<script type="text/javascript" th:src="@{/js/login/login.js}"></script>
|
|
|
|
|
</th:block>
|
|
|
|
|
<div layout:fragment="content">
|
2023-01-25 06:10:53 +00:00
|
|
|
|
|
|
|
|
<div class="index_warp form-login">
|
2022-12-22 01:55:19 +00:00
|
|
|
<form action="/login" method="post">
|
|
|
|
|
<!-- Spring Security가 적용되면 POST 방식으로 보내는 모든 데이터는 csrf 토큰 값이 필요 -->
|
|
|
|
|
<input type="hidden" name="_csrf_header" th:value="${_csrf.headerName}"/>
|
|
|
|
|
<input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
|
2023-01-25 06:10:53 +00:00
|
|
|
<p th:if="${loginError}" class="error text-warning login-Fail">로그인에 실패하였습니다.</p>
|
2022-12-22 01:55:19 +00:00
|
|
|
<!-- 로그인 시 아이디의 name 애트리뷰트 값은 username -->
|
|
|
|
|
<!-- 파라미터명을 변경하고 싶을 경우 config class formlogin()에서 .usernameParameter("") 명시 -->
|
2023-01-25 06:10:53 +00:00
|
|
|
<h1>사이버외사정보시스템</h1>
|
|
|
|
|
<h2>FOREIGN AFFAIRS INTELLIGENCE CYBER SYSTEM</h2>
|
|
|
|
|
<ul>
|
|
|
|
|
<li>
|
|
|
|
|
<div><img src="img/logo_big.png" alt="해양경찰청"></div>
|
|
|
|
|
</li>
|
|
|
|
|
<li>
|
|
|
|
|
<img src="img/logo.png" alt="해양경찰청">
|
|
|
|
|
<h3>FOREIGN AFFAIRS DIVISION</h3>
|
|
|
|
|
<h4>LOGIN</h4>
|
|
|
|
|
|
|
|
|
|
<input type="text" name="username" id="username" placeholder="아이디" onfocus="this.placeholder=''"
|
|
|
|
|
onblur="this.placeholder='아이디'" class="form_01 form_log">
|
|
|
|
|
<input type="password" name="password" id="password" placeholder="비밀번호" onfocus="this.placeholder=''"
|
|
|
|
|
onblur="this.placeholder='비밀번호'" class="form_01 form_pw">
|
|
|
|
|
|
|
|
|
|
<!-- <input name="idcchk" type="checkbox" id="idcchk" class="form_02"> 아이디저장-->
|
|
|
|
|
<!--<div class="checkbox mb-3">
|
|
|
|
|
<label>
|
|
|
|
|
<input type="checkbox" class="disabled" value="remember-me"> 계정저장(비활성화)
|
|
|
|
|
</label>
|
|
|
|
|
</div>-->
|
|
|
|
|
<input type="submit" name="login" id="login" value="로그인" class="btn_login">
|
|
|
|
|
|
2023-01-25 08:36:29 +00:00
|
|
|
<div class="join">
|
2023-01-25 06:23:01 +00:00
|
|
|
<a href="#" data-bs-toggle="modal" data-bs-target="#userInsertModal">회원가입</a>
|
2023-01-25 06:10:53 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<a href="#">
|
|
|
|
|
<div class="find">아이디/패스워드찾기</div>
|
|
|
|
|
</a>
|
|
|
|
|
</li>
|
|
|
|
|
</ul>
|
2022-12-22 01:55:19 +00:00
|
|
|
</form>
|
|
|
|
|
</div>
|
2023-01-25 08:36:29 +00:00
|
|
|
|
|
|
|
|
<div class="modal fade" id="userInsertModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1"
|
|
|
|
|
aria-labelledby="userInsertModalLabel" aria-hidden="true">
|
|
|
|
|
<div class="modal-dialog modal-lg">
|
|
|
|
|
<div class="modal-content " id="userInsertModalContent">
|
|
|
|
|
<div class="modal-header bg-dark">
|
|
|
|
|
<h5 class="modal-title text-white" id="userInsertModalLabel">사용자 신청</h5>
|
|
|
|
|
<button type="button" class="btn-close f-invert" data-bs-dismiss="modal" aria-label="Close"></button>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="modal-body">
|
|
|
|
|
<div class="mb-3 mt-3 row">
|
|
|
|
|
<label for="dicCode" class="col-sm-2 col-form-label col-form-label-sm text-center ">공무원식별번호</label>
|
|
|
|
|
<div class="col-sm-3">
|
|
|
|
|
<input type="text" class="form-control form-control-sm" id="dicCode" name="dicCode" autocomplete="off">
|
|
|
|
|
</div>
|
|
|
|
|
<button type="button" class="btn btn-sm btn-outline-primary col-sm-1" id="dicCodeSearchBtn">검색</button>
|
2022-12-22 01:55:19 +00:00
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
2023-01-25 08:36:29 +00:00
|
|
|
|
2023-01-25 06:10:53 +00:00
|
|
|
</div>
|
2023-01-25 06:23:01 +00:00
|
|
|
|
2022-12-22 01:55:19 +00:00
|
|
|
</html>
|