-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feat/add-microsoft-login-button'
- Loading branch information
Showing
6 changed files
with
278 additions
and
279 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,37 +1,36 @@ | ||
<#import "template.ftl" as layout> | ||
<#import "login-form.ftl" as loginLayout> | ||
<@layout.registrationLayout displayInfo=social.displayInfo displayLoginFormScriptsAndStyles=true; section> | ||
<#if section = "title"> | ||
${msg("loginTitle",(realm.displayName!''))} | ||
<#elseif section = "header"> | ||
${msg("loginTitleHtml",(realm.displayNameHtml!''))?no_esc} | ||
<#elseif section = "form"> | ||
<#if realm.password> | ||
<@loginLayout.loginLayout></@loginLayout.loginLayout> | ||
</#if> | ||
<#elseif section = "info" > | ||
<#if realm.password && realm.registrationAllowed && !usernameEditDisabled??> | ||
<div id="separator-group"> | ||
<div class="separator"></div> | ||
<span class="separator-text"> ${msg("separatorMessage")} </span> | ||
<div class="separator"></div> | ||
</div> | ||
<#import "login-form.ftl" as loginLayout> | ||
<@layout.registrationLayout displayInfo=social.displayInfo displayLoginFormScriptsAndStyles=true; section> | ||
<#if section="title"> | ||
${msg("loginTitle",(realm.displayName!''))} | ||
<#elseif section="header"> | ||
${msg("loginTitleHtml",(realm.displayNameHtml!''))?no_esc} | ||
<#elseif section="form"> | ||
<#if realm.password> | ||
<@loginLayout.loginLayout></@loginLayout.loginLayout> | ||
</#if> | ||
<#elseif section="info"> | ||
<#if realm.password && realm.registrationAllowed && !usernameEditDisabled??> | ||
<div id="separator-group"> | ||
<div class="separator"></div> | ||
<span class="separator-text"> ${msg("separatorMessage")} </span> | ||
<div class="separator"></div> | ||
</div> | ||
|
||
<div id="kc-registration"> | ||
<#-- <input class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonLargeClass!}" name="login" id="kc-login" ref="kc-login" type="submit" value="${msg("doLogIn")}" /> --> | ||
<unnnic-button | ||
class="sign-up-button" | ||
size="small" | ||
text="${msg('doRegisterForFree')}" | ||
type="terciary" | ||
@click.prevent="location.href = '${url.registrationUrl}'" | ||
></unnnic-button> | ||
</div> | ||
</#if> | ||
<div class="footer"> | ||
<a class="privacy-policy" target="_blank" href="${properties.urlPrivacyPolicy!}"> | ||
${msg('termsOfService')} | ||
</a> | ||
</div> | ||
</#if> | ||
</@layout.registrationLayout> | ||
<div id="kc-registration"> | ||
<#-- <input | ||
class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonLargeClass!}" | ||
name="login" id="kc-login" ref="kc-login" type="submit" value="${msg(" | ||
doLogIn")}" /> --> | ||
<unnnic-button class="sign-up-button" size="small" | ||
text="${msg('doRegisterForFree')}" type="terciary" | ||
@click.prevent="location.href = '${url.registrationUrl}'"></unnnic-button> | ||
</div> | ||
</#if> | ||
<div class="footer"> | ||
<a class="privacy-policy" target="_blank" href="${properties.urlPrivacyPolicy!}"> | ||
${msg('termsOfService')} | ||
</a> | ||
</div> | ||
</#if> | ||
</@layout.registrationLayout> |
Oops, something went wrong.