Update style

0.4-beta
Li Shengzhao 2015-11-16 18:09:53 +08:00
parent 9376291dc9
commit d26d60ee6c
2 changed files with 35 additions and 18 deletions

View File

@ -28,8 +28,9 @@
</div> </div>
<div> <div>
<hr/> <hr/>
<p> <p class="text-center text-muted">
<a href="mailto:monkeyk1987@gmail.com">monkeyk1987@gmail.com</a>, from <a &copy; 2013 - 2015
<a href="mailto:sz@monkeyk.com">sz@monkeyk.com</a> from <a
href="http://git.oschina.net/shengzhao/spring-oauth-server" target="_blank">spring-oauth-server</a> href="http://git.oschina.net/shengzhao/spring-oauth-server" target="_blank">spring-oauth-server</a>
</p> </p>
</div> </div>

View File

@ -8,26 +8,42 @@
<!DOCTYPE HTML> <!DOCTYPE HTML>
<html> <html>
<head> <head>
<title>Oauth login</title> <title>Oauth Login</title>
</head> </head>
<body> <body>
<h2>Oauth login</h2> <h2 class="page-header">Oauth Login</h2>
<form action="${pageContext.request.contextPath}/login.do" method="post"> <div class="row">
<div class="col-md-4">
<form action="${pageContext.request.contextPath}/login.do" method="post" class="form-horizontal">
<label for="username">Username:</label> <div class="form-group">
<input type="text" id="username" name="username" value="" required="required"/> <label for="username" class="col-sm-3 control-label">Username</label>
<br/>
<br/> <div class="col-sm-9">
<label for="password">Password:</label> <input type="text" id="username" name="username" value="" placeholder="Type username"
<input type="password" name="password" id="password" value="" required="required"/> required="required" class="form-control"/>
<br/> </div>
</div>
<div class="form-group">
<label for="password" class="col-sm-3 control-label">Password</label>
<div class="col-sm-9">
<input type="password" name="password" id="password" value="" placeholder="Type password"
required="required" class="form-control"/>
</div>
</div>
<input type="submit" value="Login" class="btn btn-primary"/> <input type="submit" value="Login" class="btn btn-primary"/>
<span class="text-danger"> <a href="${pageContext.request.contextPath}">Back to Home</a>&nbsp;
<span class="label label-danger">
<c:if test="${param.authorization_error eq 2}">Access denied !!!</c:if> <c:if test="${param.authorization_error eq 2}">Access denied !!!</c:if>
<c:if test="${param.authentication_error eq 1}">Authentication Failure</c:if> <c:if test="${param.authentication_error eq 1}">Authentication Failure</c:if>
</span> </span>
</form> </form>
</div>
</div>
<div> <div>
<p>You can use the users to login as follow:</p> <p>You can use the users to login as follow:</p>
<table class="table table-bordered"> <table class="table table-bordered">