drought/templates/registration/login.html

61 lines
2.5 KiB
HTML
Raw Normal View History

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>宝鸡地区气象灾害监测、预警与决策支持系统</title>
2018-07-06 06:42:00 +00:00
<!-- 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" method="post">
2018-07-06 07:04:06 +00:00
{% csrf_token %}
<h2 class="form-signin-heading">用户登陆</h2>
<label for="inputEmail" class="sr-only">用户名</label>
<input type="text" id="inputEmail" name="username" class="form-control" placeholder="请输入用户名" required
2018-07-06 07:04:06 +00:00
autofocus>
<label for="inputPassword" class="sr-only">密码</label>
<input type="password" id="inputPassword" name="password" class="form-control" placeholder="请输入密码" required>
{# <div class="checkbox">#}
{# <label>#}
{# <input type="checkbox" value="remember-me" > Remember me#}
{# </label>#}
{# </div>#}
<button class="btn btn-lg btn-primary btn-block" type="submit">登陆</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>