|
@{
|
Layout = null;
|
}
|
<!DOCTYPE html>
|
<html>
|
<head>
|
<meta charset="utf-8">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0">
|
<meta name="description" content="">
|
<meta name="author" content="ThemeBucket">
|
<title>@(SiteConfig.SiteName + " - 登录")</title>
|
<link rel="shortcut icon" href="@SiteConfig.ShortcutIcon">
|
<link href="/css/font-awesome.min.css" rel="stylesheet">
|
<link href="/css/bootstrap.min.css" rel="stylesheet">
|
<link href="/css/login/style.css" rel="stylesheet">
|
<link href="/css/login/style-responsive.css" rel="stylesheet">
|
<!--[if lt IE 9]>
|
<script src="/js/plugins/html5shiv.js"></script>
|
<script src="/js/plugins/respond.min.js"></script>
|
<![endif]-->
|
<style>
|
* {
|
margin: 0px;
|
padding: 0px;
|
box-sizing: border-box;
|
}
|
|
html {
|
font-size: 16px;
|
width: 100%;
|
height: 100%;
|
}
|
|
body {
|
font-size: 1rem;
|
background: #f3f3f3;
|
line-height: 2rem;
|
color: #666;
|
height: 100%;
|
}
|
|
.login-body {
|
background: #005599 url(/img/images/bodybg.png) center bottom no-repeat fixed;
|
background-size: cover;
|
width: 100%;
|
height: 100%;
|
}
|
|
.container {
|
position: relative;
|
height: 100%;
|
}
|
|
.form-signin {
|
max-width: none;
|
margin: 0 auto;
|
background: transparent;
|
border-radius: 0px;
|
-webkit-border-radius: 0px;
|
width: 500px;
|
text-align: center;
|
left: 50%;
|
margin-left: -250px;
|
position: absolute;
|
bottom: 20%;
|
}
|
|
.login-body .login-wrap {
|
background: url(/img/images/loginbg.png) no-repeat;
|
background-size: 100%;
|
width: 450px;
|
height: 338px;
|
margin: 0px auto;
|
padding: 40px 70px 30px;
|
}
|
|
.form-signin input[type="text"], .form-signin input[type="password"] {
|
height: 40px;
|
line-height: 40px;
|
margin: 0px;
|
border-radius: 5px;
|
padding-left: 50px;
|
background: #ecf4fb;
|
border: none;
|
width: 100%;
|
}
|
|
.form-control-feedback {
|
left: 10px;
|
color: #fff;
|
position: absolute;
|
top: 3px;
|
right: auto;
|
z-index: 2;
|
display: block;
|
width: 34px;
|
height: 34px;
|
line-height: 34px;
|
text-align: center;
|
pointer-events: none;
|
}
|
|
.form-group {
|
margin-bottom: 15px;
|
}
|
|
.has-feedback {
|
position: relative;
|
}
|
|
.row {
|
position: relative;
|
width: 100%;
|
margin: 0px;
|
}
|
|
.login-wrap .col-xs-7 {
|
float: none;
|
width: 180px;
|
padding: 0px;
|
}
|
|
.login-wrap .col-xs-4 {
|
width: 110px;
|
padding-top: 3px;
|
position: absolute;
|
height: 40px;
|
border-radius: 5px;
|
top: 0px;
|
right: 0px;
|
background: #ecf4fb;
|
}
|
|
.form-signin .btn-login {
|
background: #2460aa;
|
box-shadow: 0px 2px 0px #0d4387;
|
color: #fff;
|
border-radius: 5px;
|
border: none;
|
height: 45px;
|
line-height: 45px;
|
width: 100%;
|
font-size: 18px;
|
padding: 0px;
|
margin-top: 0px;
|
}
|
|
.form-signin .btn-login:hover {
|
background: #0d4387;
|
}
|
|
.col-xs-12 {
|
text-align: center;
|
color: #FF0;
|
font-size: 14px;
|
}
|
|
.check {
|
font-size: 12px;
|
color: #fff;
|
text-align: left;
|
margin: 5px 0px;
|
}
|
|
.check input {
|
margin-right: 5px;
|
vertical-align: middle;
|
display: inline-block;
|
width: auto;
|
margin-top: 0px;
|
}
|
|
.tel {
|
text-align: center;
|
position: absolute;
|
width: 100%;
|
bottom: 16%;
|
font-size: 16px;
|
color: #fff;
|
}
|
|
.tel img {
|
display: inline-block;
|
vertical-align: middle;
|
margin-right: 8px;
|
width: 30px;
|
}
|
|
.app {
|
text-align: center;
|
position: absolute;
|
width: 100px;
|
bottom: 10px;
|
right: 150px;
|
font-size: 12px;
|
color: #fff;
|
}
|
|
.app img {
|
width: 100px;
|
height: 100px;
|
display: block;
|
line-height: 0px;
|
}
|
|
.appios {
|
text-align: center;
|
position: absolute;
|
width: 100px;
|
bottom: 10px;
|
right: 0px;
|
font-size: 12px;
|
color: #fff;
|
}
|
|
.appios img {
|
width: 100px;
|
height: 100px;
|
display: block;
|
line-height: 0px;
|
}
|
|
.form-control-feedback {
|
color: #ccc;
|
}
|
</style>
|
</head>
|
<body class="login-body">
|
<script src="/js/jquery.min.js" type="text/javascript"></script>
|
<script src="/js/bootstrap.min.js" type="text/javascript"></script>
|
<script type="text/javascript">
|
$(function () {
|
|
window.opener = null;
|
window.open('', '_self', '');
|
window.close();//以上三行可关闭单个页面
|
window.open('', '_top');
|
window.top.close();
|
window.location.href = 'about:blank ';
|
window.close();//上面两次关闭适用于FireFox等浏览器
|
window.location.href = '/home/index';
|
// parent.window.opener = null;
|
//parent.window.open('', '_self', '');
|
//parent.window.close();
|
//parent.window.open('', '_top');
|
//parent.window.top.close();
|
//parent.window.location.href = 'about:blank ';
|
//window.close();
|
});
|
|
</script>
|
</body>
|
</html>
|