Files
sentcms/view/admin/index/login.html
tensent 5c320206fb auth
2020-02-16 10:49:43 +08:00

88 lines
3.0 KiB
HTML
Executable File

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>SentCMS网站管理系统|后台登录</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- Bootstrap 3.3.5 -->
<link rel="stylesheet" href="__static__/plugins/bootstrap/css/bootstrap.min.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="__static__/plugins/font-awesome/css/font-awesome.min.css">
<!-- Theme style -->
<link rel="stylesheet" href="__css__/sentcms.min.css">
<link rel="stylesheet" href="__css__/style.css">
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]-->
</head>
<body class="hold-transition login-page">
<div class="login-box">
<div class="login-logo">
<a href="https://www.tensent.cn/" target="_blank"><b>Sent</b>CMS</a>
</div><!-- /.login-logo -->
<div class="login-box-body">
<p class="login-box-msg">用户登录</p>
<form method="post">
<div class="form-group has-feedback">
<input type="text" name="username" class="form-control" placeholder="用户名">
<span class="glyphicon glyphicon-envelope form-control-feedback"></span>
</div>
<div class="form-group has-feedback">
<input type="password" name="password" class="form-control" placeholder="密码">
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
</div>
<div class="row">
<div class="col-xs-8">
</div><!-- /.col -->
<div class="col-xs-4">
<button type="submit" class="btn btn-primary btn-block btn-flat">确认登录</button>
</div><!-- /.col -->
</div>
</form>
</div><!-- /.login-box-body -->
</div><!-- /.login-box -->
<!-- 底部版权信息 开始 -->
<div class="footer notselect">
腾速科技 &copy; TenSent.Icn
</div>
<!-- 底部版本信息 结束 -->
<!-- jQuery 2.1.4 -->
<script src="__static__/plugins/jquery/jquery.min.js"></script>
<!-- Bootstrap 3.3.5 -->
<script src="__static__/plugins/bootstrap/js/bootstrap.min.js"></script>
<!-- iCheck -->
<script src="__static__/plugins/layer/layer.js"></script>
<script src="__static__/common/js/core.js"></script>
<script>
$(function () {
//表单提交
$(document).ajaxStart(function(){
$("button:submit").addClass("log-in").attr("disabled", true);
}).ajaxStop(function(){
$("button:submit").removeClass("log-in").attr("disabled", false);
});
$("form").submit(function(){
var self = $(this);
$.post(self.attr("action"), self.serialize(), function(data){
layer.msg(data.msg, {time:3000, end:function(){
if (data.url) {
window.location.href = data.url;
}
}});
}, "json");
return false;
});
});
</script>
</body>
</html>