初始化
This commit is contained in:
98
Face.Web/Content/Views/CxwLogin/Index.cshtml
Normal file
98
Face.Web/Content/Views/CxwLogin/Index.cshtml
Normal file
@@ -0,0 +1,98 @@
|
||||
|
||||
@{
|
||||
Layout = null;
|
||||
}
|
||||
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
|
||||
<title>Face-DATA | 登录</title>
|
||||
|
||||
<link href="~/Theme/css/bootstrap.min.css" rel="stylesheet">
|
||||
<link href="~/Theme/font-awesome/css/font-awesome.css" rel="stylesheet">
|
||||
|
||||
<!-- 插件消息框样式 https://gitee.com/wispx/toastr -->
|
||||
<link href="~/Theme/css/plugins/toastr/toastr.min.css" rel="stylesheet">
|
||||
|
||||
<link href="~/Theme/css/animate.css" rel="stylesheet">
|
||||
<link href="~/Theme/css/style.css" rel="stylesheet">
|
||||
|
||||
<!-- Mainly scripts -->
|
||||
<script src="~/Theme/js/jquery-2.1.1.js"></script>
|
||||
|
||||
<script src="~/Theme/js/bootstrap.min.js"></script>
|
||||
<script src="~/Theme/js/jquery.cookie.js"></script>
|
||||
<script src="~/Theme/js/jquery.form.min.js"></script>
|
||||
|
||||
<script>
|
||||
$(document).ready(function () {
|
||||
document.cookie = "userpw=John Doe";
|
||||
$.cookie('key', 'value', { expires: 7 });
|
||||
|
||||
var rem = $.cookie('remember');
|
||||
if (rem) {
|
||||
$("#remember").prop("checked", true);
|
||||
$("#username").val($.cookie("username"));
|
||||
$("#password").val($.cookie("password"));
|
||||
}
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
</head>
|
||||
|
||||
<body class="gray-bg">
|
||||
|
||||
<div class="middle-box loginscreen animated fadeInDown">
|
||||
<div>
|
||||
<div class="text-center">
|
||||
|
||||
<h1 class="logo-name" style="font-size:70px">Face</h1>
|
||||
<h1 class="logo-name" style="font-size:70px">DATA</h1>
|
||||
|
||||
</div>
|
||||
|
||||
<form class="m-t" role="form" id="loginForm">
|
||||
<div class="form-group">
|
||||
<input type="text" name="username" id="username" class="form-control" placeholder="请输入用户名">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="password" name="password" id="password" class="form-control" placeholder="请输入密码">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="i-checks"><label> <input type="checkbox" id="remember"><i></i> 记住密码 </label></div>
|
||||
|
||||
</div>
|
||||
<button type="button" id="btnlogin" class="btn btn-primary block full-width m-b">登 录</button>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-lg-8 col-lg-offset-2 text-center m-t-lg m-b-lg">
|
||||
<p><strong>© 2021 Face</strong><br />v 1.0</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
<!-- Toastr 插件消息框样式 https://gitee.com/wispx/toastr -->
|
||||
<script src="~/Theme/js/plugins/toastr/toastr.min.js"></script>
|
||||
|
||||
<script src="~/CxwPlugin/login.min.js"></script>
|
||||
|
||||
|
||||
<script>
|
||||
|
||||
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user