2025-08-30 01:47:43 +09:00
|
|
|
<%@page import="com.pms.common.utils.*"%> <%@ page language="java"
|
|
|
|
|
contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> <%@ page
|
|
|
|
|
import="java.util.*, com.pms.common.utils.CommonUtils" %> <%@ taglib prefix="c"
|
|
|
|
|
uri="http://java.sun.com/jsp/jstl/core" %>
|
2025-08-29 15:46:08 +09:00
|
|
|
<!DOCTYPE html>
|
|
|
|
|
<html id="loginhtml">
|
2025-08-30 01:47:43 +09:00
|
|
|
<head>
|
|
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
2025-08-29 15:46:08 +09:00
|
|
|
<title><%=Constants.SYSTEM_NAME %></title>
|
2025-08-30 01:47:43 +09:00
|
|
|
<link rel="stylesheet" href="/css/basic.css" />
|
2025-08-29 15:46:08 +09:00
|
|
|
<script src="/js/jquery-2.1.4.min.js"></script>
|
2025-08-30 01:47:43 +09:00
|
|
|
<script type="text/javascript" src="/js/sweetalert2.js"></script>
|
2025-10-15 15:24:21 +09:00
|
|
|
<style>
|
|
|
|
|
* {
|
|
|
|
|
margin: 0;
|
|
|
|
|
padding: 0;
|
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
body {
|
|
|
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
|
|
|
|
|
background: #f8fafc;
|
|
|
|
|
min-height: 100vh;
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
color: #334155;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#loginBack_ilshin {
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 100vh;
|
|
|
|
|
display: flex;
|
|
|
|
|
flex-direction: column;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
position: relative;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.login_layout {
|
|
|
|
|
background: white;
|
|
|
|
|
border-radius: 12px;
|
|
|
|
|
padding: 40px;
|
|
|
|
|
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
|
|
|
|
|
width: 420px;
|
|
|
|
|
position: relative;
|
|
|
|
|
border: 1px solid #e2e8f0;
|
|
|
|
|
margin-top: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.logo_slogan_box {
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-bottom: 24px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.company-logo {
|
|
|
|
|
display: block;
|
|
|
|
|
width: 200px;
|
|
|
|
|
height: 60px;
|
|
|
|
|
margin: 0 auto 40px;
|
|
|
|
|
background: url(/images/loginLogo_ilshin.png) center center no-repeat;
|
|
|
|
|
background-size: contain;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.login-title {
|
|
|
|
|
font-size: 24px;
|
|
|
|
|
font-weight: 700;
|
|
|
|
|
color: #1e293b;
|
|
|
|
|
margin-bottom: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.login-subtitle {
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #64748b;
|
|
|
|
|
margin-bottom: 32px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.slogun_box_ilshin {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#loginWrap {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
#login_box {
|
|
|
|
|
width: 100%;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.loginLogo_ilshin {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-group {
|
|
|
|
|
margin-bottom: 20px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.form-label {
|
|
|
|
|
display: block;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
font-weight: 500;
|
|
|
|
|
color: #374151;
|
|
|
|
|
margin-bottom: 6px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
label {
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input[type="text"], input[type="password"] {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 12px 16px;
|
|
|
|
|
border: 1px solid #d1d5db;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
background: white;
|
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
|
outline: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input[type="text"]:focus, input[type="password"]:focus {
|
|
|
|
|
border-color: #3b82f6;
|
|
|
|
|
box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
input[type="text"]::placeholder, input[type="password"]::placeholder {
|
|
|
|
|
color: #9ca3af;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.login_btn {
|
|
|
|
|
width: 100%;
|
|
|
|
|
padding: 12px 16px;
|
|
|
|
|
background: #1e293b;
|
|
|
|
|
color: white;
|
|
|
|
|
border: none;
|
|
|
|
|
border-radius: 8px;
|
|
|
|
|
font-size: 16px;
|
|
|
|
|
font-weight: 600;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
transition: all 0.2s ease;
|
|
|
|
|
margin-top: 8px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.login_btn:hover {
|
|
|
|
|
background: #0f172a;
|
|
|
|
|
transform: translateY(-1px);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.login_btn:active {
|
|
|
|
|
transform: translateY(0);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.radio-group {
|
|
|
|
|
display: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 로딩 상태 */
|
|
|
|
|
.login_btn.loading {
|
|
|
|
|
background: #64748b !important;
|
|
|
|
|
cursor: not-allowed;
|
|
|
|
|
transform: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.login_btn.loading:hover {
|
|
|
|
|
background: #64748b !important;
|
|
|
|
|
transform: none !important;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 로딩바 */
|
|
|
|
|
.loading-bar {
|
|
|
|
|
position: fixed;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
width: 100%;
|
|
|
|
|
height: 3px;
|
|
|
|
|
background: #e2e8f0;
|
|
|
|
|
z-index: 9999;
|
|
|
|
|
display: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.loading-bar.active {
|
|
|
|
|
display: block;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.loading-bar::after {
|
|
|
|
|
content: '';
|
|
|
|
|
position: absolute;
|
|
|
|
|
top: 0;
|
|
|
|
|
left: 0;
|
|
|
|
|
height: 100%;
|
|
|
|
|
width: 0%;
|
|
|
|
|
background: linear-gradient(90deg, #3b82f6, #1d4ed8);
|
|
|
|
|
animation: loading-progress 1s ease-in-out forwards;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@keyframes loading-progress {
|
|
|
|
|
0% { width: 0%; }
|
|
|
|
|
50% { width: 70%; }
|
|
|
|
|
100% { width: 100%; }
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.footer-text {
|
|
|
|
|
text-align: center;
|
|
|
|
|
margin-top: 32px;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
color: #64748b;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.footer-text a {
|
|
|
|
|
color: #3b82f6;
|
|
|
|
|
text-decoration: none;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* 반응형 디자인 */
|
|
|
|
|
@media (max-width: 480px) {
|
|
|
|
|
.login_layout {
|
|
|
|
|
width: 90%;
|
|
|
|
|
padding: 32px 24px;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
</style>
|
2025-08-29 15:46:08 +09:00
|
|
|
<script>
|
2025-08-30 01:47:43 +09:00
|
|
|
$(function () {
|
|
|
|
|
$(document).ready(function () {
|
2025-08-29 15:46:08 +09:00
|
|
|
<c:if test="${!empty ERROR_REASON}">
|
2025-08-30 01:47:43 +09:00
|
|
|
var errReason = "${ERROR_REASON}"; Swal.fire(errReason);
|
|
|
|
|
</c:if>;
|
2025-08-29 15:46:08 +09:00
|
|
|
|
2025-08-30 01:47:43 +09:00
|
|
|
$(".login_btn").click(function () {
|
2025-08-29 15:46:08 +09:00
|
|
|
//Swal.fire("userId : "+$("#userId").val()+", password : "+$("#password").val());
|
2025-10-15 15:24:21 +09:00
|
|
|
$(this).addClass('loading').text('로그인 중...');
|
|
|
|
|
$("#loadingBar").addClass('active');
|
|
|
|
|
setTimeout(function() {
|
|
|
|
|
login();
|
|
|
|
|
}, 1000);
|
2025-08-29 15:46:08 +09:00
|
|
|
});
|
|
|
|
|
|
2025-08-30 01:47:43 +09:00
|
|
|
$("#userId, #password").keypress(function (event) {
|
|
|
|
|
if (event.which == 13) login();
|
2025-08-29 15:46:08 +09:00
|
|
|
});
|
|
|
|
|
|
|
|
|
|
$("#userId").focus();
|
|
|
|
|
|
2025-08-30 01:47:43 +09:00
|
|
|
$(".loginLogo").attr(
|
|
|
|
|
"class",
|
|
|
|
|
"loginLogo_<%=Constants.COMPANY_NAME_ENG%>"
|
|
|
|
|
);
|
2025-08-29 15:46:08 +09:00
|
|
|
});
|
|
|
|
|
});
|
|
|
|
|
|
2025-08-30 01:47:43 +09:00
|
|
|
function login() {
|
2025-08-29 15:46:08 +09:00
|
|
|
document.loginForm.action = "/main.do";
|
|
|
|
|
document.loginForm.submit();
|
|
|
|
|
}
|
|
|
|
|
</script>
|
2025-08-30 01:47:43 +09:00
|
|
|
</head>
|
|
|
|
|
<body>
|
2025-10-15 15:24:21 +09:00
|
|
|
<!-- 로딩바 -->
|
|
|
|
|
<div class="loading-bar" id="loadingBar"></div>
|
|
|
|
|
|
2025-08-30 01:47:43 +09:00
|
|
|
<div id="loginBack_ilshin">
|
2025-10-15 15:24:21 +09:00
|
|
|
<!-- 상단 로고 -->
|
|
|
|
|
<div class="company-logo"></div>
|
|
|
|
|
|
|
|
|
|
<div class="login_layout">
|
|
|
|
|
<div class="logo_slogan_box">
|
|
|
|
|
<div class="login-title">로그인</div>
|
|
|
|
|
<div class="login-subtitle">계정 정보를 입력해주세요</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<form name="loginForm" id="loginForm" method="post">
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="form-label">사용자 ID</label>
|
|
|
|
|
<input
|
|
|
|
|
type="text"
|
|
|
|
|
id="userId"
|
|
|
|
|
name="userId"
|
|
|
|
|
value="plm_admin"
|
|
|
|
|
placeholder=""
|
|
|
|
|
/>
|
2025-08-30 01:47:43 +09:00
|
|
|
</div>
|
2025-10-15 15:24:21 +09:00
|
|
|
|
|
|
|
|
<div class="form-group">
|
|
|
|
|
<label class="form-label">비밀번호</label>
|
|
|
|
|
<input
|
|
|
|
|
type="password"
|
|
|
|
|
id="password"
|
|
|
|
|
name="password"
|
|
|
|
|
value="qlalfqjsgh11"
|
|
|
|
|
placeholder=""
|
|
|
|
|
/>
|
2025-08-30 01:47:43 +09:00
|
|
|
</div>
|
2025-10-15 15:24:21 +09:00
|
|
|
|
|
|
|
|
<div class="radio-group">
|
|
|
|
|
<!-- 기존 라디오 버튼들 숨김 처리 -->
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<input type="button" value="로그인" class="login_btn" />
|
|
|
|
|
</form>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<!-- 하단 푸터 -->
|
|
|
|
|
<div class="footer-text">
|
|
|
|
|
© 2025 RPS. All rights reserved.<br>
|
|
|
|
|
Powered by RPS
|
|
|
|
|
</div>
|
2025-08-30 01:47:43 +09:00
|
|
|
</div>
|
|
|
|
|
</body>
|
|
|
|
|
</html>
|