변경 내용 커밋 로그인 화면
This commit is contained in:
@@ -10,6 +10,215 @@ uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<link rel="stylesheet" href="/css/basic.css" />
|
||||
<script src="/js/jquery-2.1.4.min.js"></script>
|
||||
<script type="text/javascript" src="/js/sweetalert2.js"></script>
|
||||
<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>
|
||||
<script>
|
||||
$(function () {
|
||||
$(document).ready(function () {
|
||||
@@ -19,7 +228,11 @@ uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
|
||||
$(".login_btn").click(function () {
|
||||
//Swal.fire("userId : "+$("#userId").val()+", password : "+$("#password").val());
|
||||
login();
|
||||
$(this).addClass('loading').text('로그인 중...');
|
||||
$("#loadingBar").addClass('active');
|
||||
setTimeout(function() {
|
||||
login();
|
||||
}, 1000);
|
||||
});
|
||||
|
||||
$("#userId, #password").keypress(function (event) {
|
||||
@@ -42,76 +255,55 @@ uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
</script>
|
||||
</head>
|
||||
<body>
|
||||
<div id="loginBack_ilshin">
|
||||
<form name="loginForm" id="loginForm" method="post">
|
||||
<div class="login_layout">
|
||||
<div class="logo_slogan_box">
|
||||
<div class="slogun_box_ilshin"></div>
|
||||
</div>
|
||||
<div id="loginWrap">
|
||||
<div id="login_box">
|
||||
<a class="loginLogo_ilshin"></a>
|
||||
<label for="userId" class="userId">ID</label>
|
||||
<input
|
||||
type="text"
|
||||
id="userId"
|
||||
name="userId"
|
||||
value="plm_admin"
|
||||
placeholder="USER ID"
|
||||
/>
|
||||
<label for="userPw" class="userPw">PWD</label>
|
||||
<input
|
||||
type="password"
|
||||
id="password"
|
||||
name="password"
|
||||
value="qlalfqjsgh11"
|
||||
placeholder="PASSWORD"
|
||||
/>
|
||||
<div
|
||||
style="
|
||||
display: flex;
|
||||
/* border: 1px solid #ffffff80; */
|
||||
border-radius: 5px;
|
||||
padding: 10px;
|
||||
width: 278px;
|
||||
height: 28px;
|
||||
color: #000;
|
||||
margin-top: 9px;
|
||||
"
|
||||
class="radio-group"
|
||||
>
|
||||
<!-- <input type="radio" name="chk_info" value="우성에스이" checked="checked" style="
|
||||
width: 14px;
|
||||
margin-left: 6px;
|
||||
margin-top: -3px;
|
||||
margin-right: 5px;
|
||||
"><div id="radio-name">우성에스이</div>
|
||||
<input type="radio" name="chk_info" value="성하" style="
|
||||
margin-left: 14px;
|
||||
width: 14px;
|
||||
margin-top: -3px;
|
||||
margin-right: 5px;
|
||||
"><div id="radio-name">성하엔지니어링</div>
|
||||
<input type="radio" name="chk_info" value="현준엔지니어링" style="
|
||||
width: 14px;
|
||||
margin-left: 17px;
|
||||
margin-top: -3px;
|
||||
margin-right: 5px;
|
||||
"><div id="radio-name">외주</div>
|
||||
-->
|
||||
</div>
|
||||
<!--
|
||||
<select name="lang" class="userId">
|
||||
<option value="ko">한국어</option>
|
||||
<option value="en">영어</option>
|
||||
<option value="jp">일본어</option>
|
||||
</select> -->
|
||||
<!-- 로딩바 -->
|
||||
<div class="loading-bar" id="loadingBar"></div>
|
||||
|
||||
<input type="button" value="login" class="login_btn" />
|
||||
</div>
|
||||
</div>
|
||||
<div id="loginBack_ilshin">
|
||||
<!-- 상단 로고 -->
|
||||
<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>
|
||||
|
||||
<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=""
|
||||
/>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="form-label">비밀번호</label>
|
||||
<input
|
||||
type="password"
|
||||
id="password"
|
||||
name="password"
|
||||
value="qlalfqjsgh11"
|
||||
placeholder=""
|
||||
/>
|
||||
</div>
|
||||
|
||||
<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>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
@@ -32,13 +32,13 @@ userMenuList = (ArrayList)request.getAttribute("userMenuList");
|
||||
cursor: pointer;
|
||||
}
|
||||
.menu_on{
|
||||
color:#fff !important; padding: 2px 3px; font-size:9px; background-color:#c4c4f4; border-radius:2px;
|
||||
color:#333 !important; padding: 2px 3px; font-size:9px; background-color:#d0d0d0; border-radius:2px;
|
||||
display: inline-block; min-width: 40px; text-align: center; margin: 0px;
|
||||
transition: all 0.3s ease; text-decoration: none !important; border: none;
|
||||
cursor: pointer;
|
||||
}
|
||||
.menu_off:hover {
|
||||
background-color: #c4c4f4 !important;
|
||||
background-color: #003399 !important;
|
||||
text-decoration: none !important;
|
||||
color: #fff !important;
|
||||
}
|
||||
@@ -100,8 +100,8 @@ $(function(){
|
||||
|
||||
// 클릭된 메뉴를 on 스타일로 변경
|
||||
$(this).css({
|
||||
'background-color': '#c4c4f4',
|
||||
'color': '#fff'
|
||||
'background-color': '#d0d0d0',
|
||||
'color': '#333'
|
||||
}).removeClass('menu_off').addClass('menu_on');
|
||||
|
||||
var menuObjid = $(this).attr("menuObjId");
|
||||
@@ -214,8 +214,8 @@ function fn_goFirstMenu(){
|
||||
|
||||
// 첫 번째 메뉴를 on 스타일로 변경
|
||||
$(".menu").eq(0).css({
|
||||
'background-color': '#c4c4f4',
|
||||
'color': '#fff'
|
||||
'background-color': '#d0d0d0',
|
||||
'color': '#333'
|
||||
}).removeClass('menu_off').addClass('menu_on');
|
||||
|
||||
// 안전하게 메뉴 처리
|
||||
|
||||
Reference in New Issue
Block a user