131 lines
7.0 KiB
HTML
Executable File
131 lines
7.0 KiB
HTML
Executable File
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
<title>AdminLTE 2 | Forget Password</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.7 -->
|
|
<link rel="stylesheet" href="__PUBLIC__/adminlte/bower_components/bootstrap/dist/css/bootstrap.min.css">
|
|
<!-- Font Awesome -->
|
|
<link rel="stylesheet" href="__PUBLIC__/adminlte/bower_components/font-awesome/css/font-awesome.min.css">
|
|
<!-- Ionicons -->
|
|
<link rel="stylesheet" href="__PUBLIC__/adminlte/bower_components/Ionicons/css/ionicons.min.css">
|
|
<!-- Theme style -->
|
|
<link rel="stylesheet" href="__PUBLIC__/adminlte/dist/css/AdminLTE.min.css">
|
|
<!-- iCheck -->
|
|
<link rel="stylesheet" href="__PUBLIC__/adminlte/plugins/iCheck/square/blue.css">
|
|
|
|
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
|
|
<!--[if lt IE 9]>
|
|
<script src="__PUBLIC__/adminlte/js/html5shiv.min.js"></script>
|
|
<script src="__PUBLIC__/adminlte/js/respond.min.js"></script>
|
|
<![endif]-->
|
|
|
|
<!-- Google Font -->
|
|
<link rel="stylesheet" href="__PUBLIC__/adminlte/css/fonts.css">
|
|
</head>
|
|
<body class="hold-transition login-page">
|
|
<div class="login-box">
|
|
<div class="login-logo">
|
|
<a href="./index.html"><b>Admin WEB</b> 应用</a>
|
|
</div>
|
|
<!-- /.login-logo -->
|
|
<div class="login-box-body">
|
|
<p class="login-box-msg">从这里开始</p>
|
|
|
|
<form action="<?php echo url('/admin/passport/login');?>" method="post">
|
|
<div class="form-group has-feedback">
|
|
<input type="text" class="form-control" placeholder="用户名称" name="admin_username" required="">
|
|
<span class="glyphicon glyphicon-user form-control-feedback"></span>
|
|
</div>
|
|
<div class="form-group has-feedback">
|
|
<input type="password" class="form-control" placeholder="用户密码" name="admin_password" required="">
|
|
<span class="glyphicon glyphicon-lock form-control-feedback"></span>
|
|
</div>
|
|
<div class="form-group">
|
|
<div class="col-xs-3 no-padding">
|
|
<input type="text" class="form-control" name="captcha" required="" placeholder="请输入验证码">
|
|
</div>
|
|
<div class="col-xs-6 text-center">
|
|
<img id="verifyimg" src="<?php echo url('/captcha/authcode','','png|jpg|gif');?>" class="img-responsive" style="height: 35px;">
|
|
</div>
|
|
<div class="col-xs-3 no-padding text-center">
|
|
<button type="button" class="btn btn-primary" id="averifyimg">刷新</button>
|
|
</div>
|
|
</div>
|
|
<!-- <div class="clearfix"></div>
|
|
<div class="form-group">
|
|
<div class="col-xs-6 no-padding">
|
|
<div class="checkbox icheck">
|
|
<label>
|
|
<input type="checkbox" name="rememberMe"> 记住用户
|
|
</label>
|
|
</div>
|
|
</div>
|
|
<div class="col-xs-6 no-padding">
|
|
<div class="checkbox pull-right">
|
|
<a href="#">忘记密码</a>
|
|
<span> / </span>
|
|
<a href="#" class="text-center">注册</a>
|
|
</div>
|
|
</div>
|
|
</div>-->
|
|
<div class="clearfix margin"></div>
|
|
<div class="form-group">
|
|
<div class="col-xs-12 no-padding">
|
|
<button type="submit" class="btn btn-primary btn-block">登 录</button>
|
|
</div>
|
|
</div>
|
|
<div class="clearfix margin"></div>
|
|
<div class="form-group">
|
|
<div class="col-xs-12 no-padding">
|
|
<button type="button" class="btn btn-warning btn-block">忘记密码</button>
|
|
</div>
|
|
</div>
|
|
</form>
|
|
<div class="clearfix"></div>
|
|
<div class="social-auth-links margin-bottom-none">
|
|
<div class="row">
|
|
<div class="col-xs-5">
|
|
<div class="text-left">其他登录</div>
|
|
</div>
|
|
<div class="col-xs-7">
|
|
<div class="text-right">
|
|
<a class="btn btn-social-icon btn-primary"><i class="fa fa-github"></i></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<!-- /.social-auth-links -->
|
|
</div>
|
|
</div>
|
|
<!-- /.login-box-body -->
|
|
</div>
|
|
<!-- /.login-box -->
|
|
|
|
<!-- jQuery 3 -->
|
|
<script src="__PUBLIC__/adminlte/bower_components/jquery/dist/jquery.min.js"></script>
|
|
<!-- Bootstrap 3.3.7 -->
|
|
<script src="__PUBLIC__/adminlte/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
|
|
<!-- iCheck -->
|
|
<script src="__PUBLIC__/adminlte/plugins/iCheck/icheck.min.js"></script>
|
|
<script type="text/javascript">
|
|
$(function() {
|
|
$('input').iCheck({
|
|
checkboxClass: 'icheckbox_square-blue',
|
|
radioClass: 'iradio_square-blue',
|
|
increaseArea: '20%' // optional
|
|
});
|
|
$("#verifyimg,#averifyimg").click(function(event) {
|
|
event.preventDefault();
|
|
$img = $("#verifyimg");
|
|
$img.attr("src", "<?php echo url('/captcha/authcode','','png|jpg|gif');?>?t=" + Math.random());
|
|
//$img.attr("src", $img.attr("src").substring(0, 21) + "?" + Math.random());
|
|
//jQuery(this).attr("src", "<?php echo url('/admin/authcode/verify');?>?" + Math.random());
|
|
});
|
|
});
|
|
</script>
|
|
</body>
|
|
</html>
|