You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
99 lines
3.4 KiB
99 lines
3.4 KiB
<%@ page language="java" contentType="text/html; charset=UTF-8"
|
|
pageEncoding="UTF-8"%>
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<html lang="zh-CN" class="bootstrap-admin-vertical-centered">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<title>图书馆管理系统</title>
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
|
<link rel="stylesheet" href="static/css/bootstrap.min.css">
|
|
<link rel="stylesheet" href="static/css/bootstrap-theme.min.css">
|
|
<link rel="stylesheet" href="static/css/bootstrap-admin-theme.css">
|
|
<link rel="stylesheet" href="static/css/bootstrap-admin-theme.css">
|
|
<script src="static/js/bootstrap.min.js"></script>
|
|
<script src="static/jQuery/jquery-3.1.1.min.js"></script>
|
|
<script src="static/ajax-lib/ajaxutils.js"></script>
|
|
<script src="static/js/login.js"></script>
|
|
</head>
|
|
|
|
<style type="text/css">
|
|
.alert {
|
|
margin: 0 auto 20px;
|
|
text-align: center;
|
|
}
|
|
</style>
|
|
|
|
<script src="static/js/jquery.min.js"></script>
|
|
<script src="static/js/bootstrap.min.js"></script>
|
|
|
|
|
|
<body class="bootstrap-admin-without-padding">
|
|
<div class="container">
|
|
<div class="row">
|
|
<div class="col-lg-12">
|
|
<div class="alert alert-info">
|
|
<a class="close" data-dismiss="alert" href="#">×</a>
|
|
欢迎登录图书馆管理系统
|
|
</div>
|
|
|
|
<form class="bootstrap-admin-login-form" method="post"
|
|
action="LoginServlet">
|
|
<%
|
|
String state = (String) session.getAttribute("state");
|
|
session.removeAttribute("state");
|
|
if (state != null) {
|
|
%>
|
|
<label class="control-label" for="username">密码错误</label>
|
|
|
|
<%
|
|
}
|
|
%>
|
|
<div class="form-group">
|
|
<label class="control-label" for="username">账 号</label> <input
|
|
type="text" class="form-control" id="username" name="username"
|
|
required="required" placeholder="学号" /> <label
|
|
class="control-label" for="username" style="display: none;"></label>
|
|
</div>
|
|
<div class="form-group">
|
|
<label class="control-label" for="password">密 码</label> <input
|
|
type="password" class="form-control" id="password"
|
|
name="password" required="required" placeholder="密码" /> <label
|
|
class="control-label" for="username" style="display: none;"></label>
|
|
</div>
|
|
|
|
<label class="control-label" for="password">没有账号请<a
|
|
href="register.jsp" style="color: blue;">注册</a></label> <br> <input
|
|
type="submit" class="btn btn-lg btn-primary"
|
|
value="登 录" />
|
|
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal fade" id="modal_info" tabindex="-1" role="dialog"
|
|
aria-labelledby="addModalLabel">
|
|
<div class="modal-dialog" role="document">
|
|
<div class="modal-content">
|
|
<div class="modal-header">
|
|
<button type="button" class="close" data-dismiss="modal"
|
|
aria-label="Close">
|
|
<span aria-hidden="true">×</span>
|
|
</button>
|
|
<h4 class="modal-title" id="infoModalLabel">提示</h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="row">
|
|
<div class="col-lg-12" id="div_info"></div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<button type="button" class="btn btn-default" id="btn_info_close"
|
|
data-dismiss="modal">关闭</button>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html> |