forked from Fireply/Enter
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
引入 gradle gretty 插件,完成基本登录功能(登录风险监测等未添加)
Showing
48 changed files
with
1,336 additions
and
83 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
body { | ||
padding-top: 40px; | ||
padding-bottom: 40px; | ||
background-color: #eee; | ||
} | ||
|
||
.form-signin { | ||
max-width: 330px; | ||
padding: 15px; | ||
margin: 0 auto; | ||
} | ||
.form-signin .form-signin-heading, | ||
.form-signin .checkbox { | ||
margin-bottom: 10px; | ||
} | ||
.form-signin .checkbox { | ||
font-weight: normal; | ||
} | ||
.form-signin .form-control { | ||
position: relative; | ||
height: auto; | ||
-webkit-box-sizing: border-box; | ||
-moz-box-sizing: border-box; | ||
box-sizing: border-box; | ||
padding: 10px; | ||
font-size: 16px; | ||
} | ||
.form-signin .form-control:focus { | ||
z-index: 2; | ||
} | ||
.form-signin input[type="email"] { | ||
margin-bottom: -1px; | ||
border-bottom-right-radius: 0; | ||
border-bottom-left-radius: 0; | ||
} | ||
.form-signin input[type="password"] { | ||
margin-bottom: 10px; | ||
border-top-left-radius: 0; | ||
border-top-right-radius: 0; | ||
} |
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | ||
<!DOCTYPE html> | ||
<html lang="cn"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<title>首页</title> | ||
<link rel="icon" href="favicon.ico"> | ||
<link href="css/bootstrap.min.css" rel="stylesheet"> | ||
<link href="css/signin.css" rel="stylesheet"> | ||
|
||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
<script src="js/html5shiv.min.js"></script> | ||
<script src="js/respond.min.js"></script> | ||
<![endif]--> | ||
</head> | ||
|
||
<body> | ||
<nav class="navbar navbar-default navbar-fixed-top"> | ||
<div class="container-fluid"> | ||
<!-- Brand and toggle get grouped for better mobile display --> | ||
<div class="navbar-header"> | ||
<button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar-collapse" aria-expanded="false"> | ||
<span class="sr-only">折叠导航栏</span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
<span class="icon-bar"></span> | ||
</button> | ||
<a class="navbar-brand" href="#">Enter</a> | ||
</div> | ||
|
||
<!-- Collect the nav links, forms, and other content for toggling --> | ||
<div class="collapse navbar-collapse" id="navbar-collapse"> | ||
<ul class="nav navbar-nav"> | ||
<li class="active"><a href="#">首页 <span class="sr-only">(current)</span></a></li> | ||
<li><a href="#">新闻</a></li> | ||
<li class="dropdown"> | ||
<a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">产品 <span class="caret"></span></a> | ||
<ul class="dropdown-menu"> | ||
<li><a href="#">产品1</a></li> | ||
<li><a href="#">产品2</a></li> | ||
<li><a href="#">产品3</a></li> | ||
<li role="separator" class="divider"></li> | ||
<li><a href="#">产品4</a></li> | ||
<li role="separator" class="divider"></li> | ||
<li><a href="#">产品5</a></li> | ||
</ul> | ||
</li> | ||
</ul> | ||
<ul class="nav navbar-nav navbar-right"> | ||
<li><a href="login">登录</a></li> | ||
<li><a href="#">注册</a></li> | ||
</ul> | ||
<form class="navbar-form navbar-right" role="search"> | ||
<div class="form-group"> | ||
<input type="text" class="form-control" placeholder="Search"> | ||
</div> | ||
<button type="submit" class="btn btn-default">搜索</button> | ||
</form> | ||
</div><!-- /.navbar-collapse --> | ||
</div><!-- /.container-fluid --> | ||
</nav> | ||
|
||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> | ||
<script src="js/ie10-viewport-bug-workaround.js"></script> | ||
|
||
<script src="js/jquery.min.js"></script> | ||
<script src="js/bootstrap.min.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
pageEncoding="UTF-8"%> | ||
<!DOCTYPE html> | ||
<html lang="cn"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<title>主页</title> | ||
<link rel="icon" href="favicon.ico"> | ||
<link href="css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
<script src="js/html5shiv.min.js"></script> | ||
<script src="js/respond.min.js"></script> | ||
<![endif]--> | ||
</head> | ||
<body> | ||
管理员主页 | ||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> | ||
<script src="js/ie10-viewport-bug-workaround.js"></script> | ||
|
||
<script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script> | ||
<script src="js/bootstrap.min.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
pageEncoding="UTF-8"%> | ||
<!DOCTYPE html> | ||
<html lang="cn"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<title>主页</title> | ||
<link rel="icon" href="favicon.ico"> | ||
<link href="css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
<script src="js/html5shiv.min.js"></script> | ||
<script src="js/respond.min.js"></script> | ||
<![endif]--> | ||
</head> | ||
<body> | ||
用户主页 | ||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> | ||
<script src="js/ie10-viewport-bug-workaround.js"></script> | ||
|
||
<script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script> | ||
<script src="js/bootstrap.min.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | ||
<!DOCTYPE html> | ||
<html lang="cn"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<title>登陆</title> | ||
<link rel="icon" href="favicon.ico"> | ||
<link href="css/bootstrap.min.css" rel="stylesheet"> | ||
<link href="css/signin.css" rel="stylesheet"> | ||
|
||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
<script src="js/html5shiv.min.js"></script> | ||
<script src="js/respond.min.js"></script> | ||
<![endif]--> | ||
</head> | ||
|
||
<body> | ||
|
||
<div class="container"> | ||
|
||
<form class="form-signin" action="login"> | ||
<h2 class="form-signin-heading">登陆</h2> | ||
<label for="userId" class="sr-only">用户 ID</label> | ||
<input type="text" id="userId" name="userId" class="form-control" placeholder="用户 ID" required autofocus /> | ||
<label for="userPassword" class="sr-only">密码</label> | ||
<input type="password" id="userPassword" name="userPassword" class="form-control" placeholder="密码" required /> | ||
<div class="checkbox"> | ||
<label> | ||
<input type="checkbox" value="remember-me" /> 记住我 | ||
</label> | ||
</div> | ||
<button class="btn btn-lg btn-primary btn-block" type="submit">Sign in</button> | ||
</form> | ||
|
||
</div> <!-- /container --> | ||
|
||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> | ||
<script src="js/ie10-viewport-bug-workaround.js"></script> | ||
|
||
<script src="js/jquery.min.js"></script> | ||
<script src="js/bootstrap.min.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
<%@ page language="java" contentType="text/html; charset=UTF-8" | ||
pageEncoding="UTF-8"%> | ||
<!DOCTYPE html> | ||
<html lang="cn"> | ||
<head> | ||
<meta charset="UTF-8"> | ||
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0"> | ||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> | ||
<title>注册</title> | ||
<link rel="icon" href="favicon.ico"> | ||
<link href="css/bootstrap.min.css" rel="stylesheet"> | ||
|
||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
<script src="js/html5shiv.min.js"></script> | ||
<script src="js/respond.min.js"></script> | ||
<![endif]--> | ||
</head> | ||
|
||
<body> | ||
sign up | ||
|
||
<!-- IE10 viewport hack for Surface/desktop Windows 8 bug --> | ||
<script src="js/ie10-viewport-bug-workaround.js"></script> | ||
|
||
<script src="//cdn.bootcss.com/jquery/1.11.3/jquery.min.js"></script> | ||
<script src="js/bootstrap.min.js"></script> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.