Update style

0.4-beta
Li Shengzhao 9 years ago
parent 9376291dc9
commit d26d60ee6c

@ -28,8 +28,9 @@
</div>
<div>
<hr/>
<p>
<a href="mailto:monkeyk1987@gmail.com">monkeyk1987@gmail.com</a>, from <a
<p class="text-center text-muted">
&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>
</p>
</div>

@ -8,26 +8,42 @@
<!DOCTYPE HTML>
<html>
<head>
<title>Oauth login</title>
<title>Oauth Login</title>
</head>
<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">
<div class="form-group">
<label for="username" class="col-sm-3 control-label">Username</label>
<div class="col-sm-9">
<input type="text" id="username" name="username" value="" placeholder="Type username"
required="required" class="form-control"/>
</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"/>
<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.authentication_error eq 1}">Authentication Failure</c:if>
</span>
</form>
</div>
</div>
<label for="username">Username:</label>
<input type="text" id="username" name="username" value="" required="required"/>
<br/>
<br/>
<label for="password">Password:</label>
<input type="password" name="password" id="password" value="" required="required"/>
<br/>
<input type="submit" value="Login" class="btn btn-primary"/>
<span class="text-danger">
<c:if test="${param.authorization_error eq 2}">Access denied !!!</c:if>
<c:if test="${param.authentication_error eq 1}">Authentication Failure</c:if>
</span>
</form>
<div>
<p>You can use the users to login as follow:</p>
<table class="table table-bordered">

Loading…
Cancel
Save