118 lines
3.8 KiB
Plaintext
118 lines
3.8 KiB
Plaintext
<%@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" %>
|
|
<!DOCTYPE html>
|
|
<html id="loginhtml">
|
|
<head>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
|
<title><%=Constants.SYSTEM_NAME %></title>
|
|
<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>
|
|
<script>
|
|
$(function () {
|
|
$(document).ready(function () {
|
|
<c:if test="${!empty ERROR_REASON}">
|
|
var errReason = "${ERROR_REASON}"; Swal.fire(errReason);
|
|
</c:if>;
|
|
|
|
$(".login_btn").click(function () {
|
|
//Swal.fire("userId : "+$("#userId").val()+", password : "+$("#password").val());
|
|
login();
|
|
});
|
|
|
|
$("#userId, #password").keypress(function (event) {
|
|
if (event.which == 13) login();
|
|
});
|
|
|
|
$("#userId").focus();
|
|
|
|
$(".loginLogo").attr(
|
|
"class",
|
|
"loginLogo_<%=Constants.COMPANY_NAME_ENG%>"
|
|
);
|
|
});
|
|
});
|
|
|
|
function login() {
|
|
document.loginForm.action = "/main.do";
|
|
document.loginForm.submit();
|
|
}
|
|
</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=""
|
|
placeholder="USER ID"
|
|
/>
|
|
<label for="userPw" class="userPw">PWD</label>
|
|
<input
|
|
type="password"
|
|
id="password"
|
|
name="password"
|
|
value=""
|
|
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> -->
|
|
|
|
<input type="button" value="login" class="login_btn" />
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
</div>
|
|
</body>
|
|
</html>
|