KEYCLOAK-74 login-oauth-grant placeholder

This commit is contained in:
vrockai 2013-09-27 18:40:05 +02:00
parent 666aed0226
commit 625061002f
3 changed files with 66 additions and 0 deletions

View file

@ -0,0 +1 @@
<#include "./theme/" + template.theme + "/login-oauth-grant.ftl">

View file

@ -295,6 +295,35 @@ a.zocial:before {
left: 35.7em;
}
.rcue-login-register.oauth .form-actions {
margin-bottom: 0;
margin-top: 2em;
}
.rcue-login-register .background-area .content-area {
width: 50em;
}
.rcue-login-register .background-area .content-area ul {
border-bottom: 1px solid #34393C;
margin-bottom: 2em;
}
.rcue-login-register .background-area .content-area ul li {
border-top: 1px solid #34393C;
padding: 2em;
}
.rcue-login-register .background-area .content-area ul li span:first-child {
font-size: 1.3em;
}
.rcue-login-register .background-area .content-area ul li span.icon-info {
float: right;
margin-top: 0.5em;
}
.rcue-login-register .background-area .content-area p.terms {
color: #999999;
font-size: 1.1em;
line-height: 1.3em;
}
.rcue-login-register .background-area p.instruction.instruction.second {
color: #999999;
}

View file

@ -0,0 +1,36 @@
<#-- TODO: Only a placeholder, implementation needed -->
<#import "template-login-action.ftl" as layout>
<@layout.registrationLayout bodyClass="reset oauth"; section>
<#if section = "title">
OAuth Grant
<#elseif section = "header">
<strong>Keycloak</strong> Central Login
<#elseif section = "form">
<div class="content-area">
<p class="instruction">This application requests access to:</p>
<ul>
<li>
<span>View basic information about your account</span>
</li>
<li>
<span>View your email address</span>
</li>
</ul>
<p class="terms">Keycloak Central Login and Google will use this information in accordance with their respective terms of service and privacy policies.</p>
<div class="form-actions">
<button class="primary" type="submit">Accept</button>
<button type="submit">Cancel</button>
</div>
</div>
<#elseif section = "info" >
<div id="info">
</div>
</#if>
</@layout.registrationLayout>