161 lines
7.3 KiB
Plaintext
161 lines
7.3 KiB
Plaintext
@model NP.Model.VMUser
|
|
<!doctype html>
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width,initial-scale=1.0,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no">
|
|
<meta name="HandheldFriendly" content="True">
|
|
<meta name="MobileOptimized" content="320">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, minimal-ui">
|
|
<meta name="mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-capable" content="yes">
|
|
<meta name="apple-mobile-web-app-status-bar-style" content="black">
|
|
<meta name="format-detection" content="telephone=no">
|
|
<meta name="viewport" content="width=device-width, user-scalable=no">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
|
<meta http-equiv="Content-Script-Type" content="text/javascript">
|
|
<meta http-equiv="Content-Style-Type" content="text/css">
|
|
<meta http-equiv="Cache-Control" content="no-cache">
|
|
<meta http-equiv="Expires" content="0">
|
|
<meta http-equiv="Pragma" content="no-cache">
|
|
<meta name="build" content="">
|
|
<meta name="robots" content="ALL">
|
|
<meta name="naver-site-verification" content="">
|
|
<meta name="copyright" content="">
|
|
<meta name="author" content="">
|
|
<meta name="title" content="">
|
|
<meta name="Subject" content="">
|
|
<meta name="keywords" content="">
|
|
|
|
|
|
<meta property="og:title" content=" ">
|
|
<meta property="og:description" content="">
|
|
<meta property="og:type" content="website">
|
|
<meta property="og:image" content="">
|
|
<meta property="og:url" content="">
|
|
|
|
<title>@ViewBag.SiteTitle</title>
|
|
|
|
@Html.Partial("./Partial/CSS")
|
|
@Html.Partial("./Partial/JS")
|
|
<script type="text/javascript" src="/js/master.js"></script>
|
|
<style type="text/css">
|
|
#pageTitle > h3:before {
|
|
background: none;
|
|
}
|
|
</style>
|
|
|
|
<!--[if lt IE 9]>
|
|
<script src="/common/js/selectivizr-min.js"></script>
|
|
<script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
|
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js"></script>
|
|
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE9.js">IE7_PNG_SUFFIX=".png";</script>
|
|
<script src="https://oss.maxcdn.com/libs/respond.js/1.3.0/respond.min.js"></script>
|
|
<style>
|
|
article, aside, canvas, details, figcaption, figure, footer, header, hgroup, nav, menu, nav, section {display: block;}
|
|
</style>
|
|
<![endif]-->
|
|
<!--[if lte IE 8]>
|
|
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE8.js"></script>
|
|
<![endif]-->
|
|
<!--[if lt IE 7]>
|
|
<script src="http://ie7-js.googlecode.com/svn/version/2.1(beta4)/IE7.js"></script>
|
|
<![endif]-->
|
|
</head>
|
|
<body id="mainbody">
|
|
<div id="wrap" style="padding-top: 20px;">
|
|
<div class="container">
|
|
<form id="mform" action="" method="post">
|
|
<div class="lgnWrap">
|
|
<div id="pageTitle" class="lgn" style="padding-top: 120px; background: url(@string.Format("{0}{1}", ViewBag.Files, ViewBag.Assign.fileurl)) no-repeat center top; background-size:contain; ">
|
|
<h3 style="background-color:none;"></h3>
|
|
</div>
|
|
<h3 style="margin: 30px; text-align: center; font-size: 40px; font-weight: 700;">로그인</h3>
|
|
<ul class="lgnForm">
|
|
<li><input type="text" name="uid" id="uid" placeholder="아이디" value="@ViewBag.SavedId" /></li>
|
|
<li><input type="password" name="upw" id="upw" placeholder="비밀번호"></li>
|
|
</ul>
|
|
<div class="lgnChk">
|
|
<input type="checkbox" name="issaveid" id="issaveid" @(ViewBag.SavedId == "" ? "" : "checked")>
|
|
<label for="issaveid">아이디저장</label>
|
|
</div>
|
|
<a href="#" class="lgnBtn" onclick="login();">로그인</a>
|
|
|
|
<ul class="lgnFind">
|
|
<li><a href="/Account/FindMe">아이디/비밀번호찾기</a></li>
|
|
<li><a href="/Account/JoinTSel">회원가입</a></li>
|
|
</ul>
|
|
|
|
@*<div id="naverIdLogin" style="display:none"></div>
|
|
<ul class="lgnSns">
|
|
<li><a href="#">네이버 아이디로 로그인</a></li>
|
|
<li><a href="#">카카오톡 아이디로 로그인</a></li>
|
|
<li><a href="#">구글 아이디로 로그인</a></li>
|
|
</ul>*@
|
|
</div>
|
|
|
|
</form>
|
|
<br />
|
|
<div class="a-c">@Html.Raw(ViewBag.Assign.sitefooter ?? "")</div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
$(document).ready(function () {
|
|
if (opener != null && opener._ismain == 1) {
|
|
opener.location.href = "/Account/Index";
|
|
self.close();
|
|
}
|
|
else {
|
|
if (!ismobile()) {
|
|
if (val("uid").length > 0) { focus("upw"); } else { focus("uid"); }
|
|
}
|
|
$("#uid").on("keydown", function (e) {
|
|
if (e.keyCode == 13) {
|
|
if (val("uid") != "") {
|
|
focus("upw");
|
|
}
|
|
else {
|
|
focus("uid");
|
|
}
|
|
}
|
|
});
|
|
$("#upw").on("keydown", function (e) {
|
|
if (e.keyCode == 13) {
|
|
if (val("uid") != "" && val("upw") != "") {
|
|
login();
|
|
}
|
|
else if (val("uid") == "") {
|
|
focus("uid");
|
|
}
|
|
else {
|
|
focus("upw");
|
|
}
|
|
}
|
|
});
|
|
}
|
|
});
|
|
function login() {
|
|
if (val("uid") != "" && val("upw") != "") {
|
|
capp("/focommon/login", { uid: val("uid"), upw: strEnConvert(val("upw")), issaveid: $("#issaveid").prop("checked") }, "cblogin");
|
|
}
|
|
else if (val("uid") == "") {
|
|
focus("uid");
|
|
}
|
|
else {
|
|
focus("upw");
|
|
}
|
|
}
|
|
function cblogin() {
|
|
if (capResult.code == 1000) {
|
|
$("#mform").attr("action", "/My/Index");
|
|
submit();
|
|
} else { msg("입력하신 아이디/비밀번호와 일치하는 계정이 없습니다. 다시 확인해주세요."); }
|
|
}
|
|
</script>
|
|
<div id="bglayer"></div>
|
|
<div id="layermessage"><div></div><a href="#" class="mainokbutton" onclick="javascript:hidelayermsg();">확인</a></div>
|
|
<div id="bgprogress">...</div>
|
|
<div id="confirmbox"><div id="confirmboxmsg">dddd</div><div class="confirmbtnbox"><a href="#" class="btn btn1 confirmokbutton" onclick="confirmok();">예</a><a href="#" class="btn btn0 confirmokbutton" onclick="confirmtoggle();">아니오</a></div></div>
|
|
</body>
|
|
</html> |