00009 spring-oauth-server project add Bootstrap CSS
parent
4eb92dca2b
commit
66bdfb1c4f
|
@ -9,25 +9,30 @@
|
|||
<!DOCTYPE HTML>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta charset="utf-8"/>
|
||||
<c:set var="contextPath" value="${pageContext.request.contextPath}" scope="application"/>
|
||||
|
||||
<meta name="viewport" content="width=device-width,user-scalable=no"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
|
||||
|
||||
<title><decorator:title default=""/> - Spring Security&Oauth2</title>
|
||||
<title><decorator:title default=""/> - Spring Security&Oauth2</title>
|
||||
|
||||
<link href="http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.min.css" rel="stylesheet"/>
|
||||
<decorator:head/>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<body class="container">
|
||||
<div>
|
||||
<decorator:body/>
|
||||
</div>
|
||||
<div>
|
||||
<hr/>
|
||||
<p>
|
||||
<a href="mailto:monkeyk1987@gmail.com">monkeyk1987@gmail.com</a>, from <a href="http://git.oschina.net/shengzhao/spring-oauth-server" target="_blank">spring-oauth-server</a>
|
||||
</p>
|
||||
<div>
|
||||
<decorator:body/>
|
||||
</div>
|
||||
<div>
|
||||
<hr/>
|
||||
<p>
|
||||
<a href="mailto:monkeyk1987@gmail.com">monkeyk1987@gmail.com</a>, from <a
|
||||
href="http://git.oschina.net/shengzhao/spring-oauth-server" target="_blank">spring-oauth-server</a>
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
|
@ -17,11 +17,11 @@
|
|||
<form id='confirmationForm' name='confirmationForm' action='${pageContext.request.contextPath}/oauth/authorize'
|
||||
method='post'>
|
||||
<input name='user_oauth_approval' value='true' type='hidden'/>
|
||||
<label> <input name='authorize' value='Authorize' type='submit'></label>
|
||||
<label> <input name='authorize' value='Authorize' type='submit' class="btn btn-success"/></label>
|
||||
</form>
|
||||
<form id='denialForm' name='denialForm' action='${pageContext.request.contextPath}/oauth/authorize' method='post'>
|
||||
<input name='user_oauth_approval' value='false' type='hidden'/>
|
||||
<label><input name='deny' value='Deny' type='submit'></label>
|
||||
<label><input name='deny' value='Deny' type='submit' class="btn btn-warning"/></label>
|
||||
</form>
|
||||
</body>
|
||||
</html>
|
|
@ -22,15 +22,15 @@
|
|||
<label for="password">Password:</label>
|
||||
<input type="password" name="j_password" id="password" value="" required="required"/>
|
||||
<br/>
|
||||
<input type="submit" value="Login"/>
|
||||
<span style="color:red;">
|
||||
<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 style="border: 1px solid #eee;">
|
||||
<table class="table table-bordered">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>Username</th>
|
||||
|
|
Loading…
Reference in New Issue