Skip to content

Commit

Permalink
Merge pull request #18 from OSC/keycloak-12
Browse files Browse the repository at this point in the history
Keycloak 12 Support
  • Loading branch information
treydock authored Dec 22, 2020
2 parents 8a6df6a + fba91ef commit 94b5608
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 2 deletions.
9 changes: 9 additions & 0 deletions account/account.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,15 @@
</div>
</div>

<!--<div class="form-group">
<div id="kc-form-buttons" class="col-md-offset-2 col-md-10 submit">
<div class="">
<#if url.referrerURI??><a href="${url.referrerURI}">${kcSanitize(msg("backToApplication")?no_esc)}</a></#if>
<button type="submit" class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonLargeClass!}" name="submitAction" value="Save">${msg("doSave")}</button>
<button type="submit" class="${properties.kcButtonClass!} ${properties.kcButtonDefaultClass!} ${properties.kcButtonLargeClass!}" name="submitAction" value="Cancel">${msg("doCancel")}</button>
</div>
</div>
</div>-->
</form>

</@layout.mainLayout>
9 changes: 7 additions & 2 deletions account/template.ftl
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

<title>${msg("accountManagementTitle")}</title>
<link rel="icon" href="${url.resourcesPath}/img/favicon.ico">
<#if properties.stylesCommon?has_content>
<#list properties.stylesCommon?split(' ') as style>
<link href="${url.resourcesCommonPath}/${style}" rel="stylesheet" />
</#list>
</#if>
<#if properties.styles?has_content>
<#list properties.styles?split(' ') as style>
<link href="${url.resourcesPath}/${style}" rel="stylesheet" />
Expand Down Expand Up @@ -69,8 +74,8 @@
<#if message?has_content>
<div class="alert alert-${message.type}">
<#if message.type=='success' ><span class="pficon pficon-ok"></span></#if>
<#if message.type=='error' ><span class="pficon pficon-error-octagon"></span><span class="pficon pficon-error-exclamation"></span></#if>
${kcSanitize(message.summary)?no_esc}
<#if message.type=='error' ><span class="pficon pficon-error-circle-o"></span></#if>
<span class="kc-feedback-text">${kcSanitize(message.summary)?no_esc}</span>
</div>
</#if>

Expand Down
5 changes: 5 additions & 0 deletions login/theme.properties
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ parent=keycloak
styles=css/bootstrap.min.css css/styles.css

kcLoginClass=container
kcInputClass=form-control
kcButtonClass=btn
kcButtonPrimaryClass=btn-primary
kcButtonBlockClass=btn-block
kcButtonLargeClass=btn-lg
kcHeaderClass=page-header col-sm-10 col-sm-offset-1 col-md-6 col-md-offset-3
kcSocialHeaderClass=page-header
#kcHeaderClass=page-header col-sm-10 col-sm-offset-1 col-md-6 col-md-offset-3
Expand Down

0 comments on commit 94b5608

Please sign in to comment.