2018-07-06 06:42:00 +00:00
|
|
|
{% load static %}
|
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="zh-CN">
|
2018-07-06 07:04:06 +00:00
|
|
|
<head>
|
2018-07-06 06:42:00 +00:00
|
|
|
<meta charset="utf-8">
|
|
|
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
|
|
<!-- 上述3个meta标签*必须*放在最前面,任何其他内容都*必须*跟随其后! -->
|
|
|
|
<meta name="description" content="">
|
|
|
|
<meta name="author" content="">
|
|
|
|
<link rel="icon" href="{% static 'img/favicon.ico' %}">
|
|
|
|
|
|
|
|
<title>Signin Template for Bootstrap</title>
|
|
|
|
|
|
|
|
<!-- Bootstrap core CSS -->
|
|
|
|
<link href="{% static 'css/bootstrap.min.css' %}" rel="stylesheet">
|
|
|
|
|
|
|
|
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
|
|
<link href="{% static 'css/ie10-viewport-bug-workaround.css' %}" rel="stylesheet">
|
|
|
|
|
|
|
|
<!-- Custom styles for this template -->
|
|
|
|
<link href="{% static 'css/signin.css' %}" rel="stylesheet">
|
|
|
|
|
|
|
|
<!-- Just for debugging purposes. Don't actually copy these 2 lines! -->
|
|
|
|
<!--[if lt IE 9]><script src="../../assets/js/ie8-responsive-file-warning.js"></script><![endif]-->
|
|
|
|
<script src="{% static 'js/ie-emulation-modes-warning.js' %}"></script>
|
|
|
|
|
|
|
|
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
|
|
|
|
<!--[if lt IE 9]>
|
|
|
|
<script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
|
|
|
|
<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
|
|
|
|
<![endif]-->
|
2018-07-06 07:04:06 +00:00
|
|
|
</head>
|
2018-07-06 06:42:00 +00:00
|
|
|
|
2018-07-06 07:04:06 +00:00
|
|
|
<body>
|
2018-07-06 06:42:00 +00:00
|
|
|
|
2018-07-06 07:04:06 +00:00
|
|
|
<div class="container">
|
|
|
|
<form class="form-signin">
|
|
|
|
{% csrf_token %}
|
2018-07-06 06:42:00 +00:00
|
|
|
<h2 class="form-signin-heading">Please sign in</h2>
|
|
|
|
<label for="inputEmail" class="sr-only">Email address</label>
|
2018-07-06 07:04:06 +00:00
|
|
|
<input type="text" id="inputEmail" name="username" class="form-control" placeholder="Email address" required
|
|
|
|
autofocus>
|
2018-07-06 06:42:00 +00:00
|
|
|
<label for="inputPassword" class="sr-only">Password</label>
|
2018-07-06 07:04:06 +00:00
|
|
|
<input type="password" id="inputPassword" name="password" class="form-control" placeholder="Password" required>
|
2018-07-06 06:42:00 +00:00
|
|
|
<div class="checkbox">
|
2018-07-06 07:04:06 +00:00
|
|
|
<label>
|
|
|
|
<input type="checkbox" value="remember-me"> Remember me
|
|
|
|
</label>
|
2018-07-06 06:42:00 +00:00
|
|
|
</div>
|
|
|
|
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button>
|
2018-07-06 07:04:06 +00:00
|
|
|
</form>
|
2018-07-06 06:42:00 +00:00
|
|
|
|
2018-07-06 07:04:06 +00:00
|
|
|
</div> <!-- /container -->
|
2018-07-06 06:42:00 +00:00
|
|
|
|
|
|
|
|
2018-07-06 07:04:06 +00:00
|
|
|
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug -->
|
|
|
|
<script src="{% static 'js/ie10-viewport-bug-workaround.js' %}"></script>
|
|
|
|
</body>
|
2018-07-06 06:42:00 +00:00
|
|
|
</html>
|