keycloak-scim/themes/src/main/resources/theme/base/account/federatedIdentity.ftl

32 lines
1.5 KiB
Text
Raw Normal View History

<#import "template.ftl" as layout>
<@layout.mainLayout active='social' bodyClass='social'; section>
<div class="row">
<div class="col-md-10">
<h2>${msg("federatedIdentitiesHtmlTitle")}</h2>
</div>
</div>
<form action="${url.passwordUrl}" class="form-horizontal" method="post">
2015-01-13 02:58:19 +00:00
<#list federatedIdentity.identities as identity>
<div class="form-group">
<div class="col-sm-2 col-md-2">
2015-01-13 02:58:19 +00:00
<label for="${identity.providerId!}" class="control-label">${identity.providerName!}</label>
</div>
<div class="col-sm-5 col-md-5">
2015-01-13 02:58:19 +00:00
<input disabled="true" class="form-control" value="${identity.userName!}">
</div>
<div class="col-sm-5 col-md-5">
2015-01-13 02:58:19 +00:00
<#if identity.connected>
<#if federatedIdentity.removeLinkPossible>
<a href="${identity.actionUrl}" type="submit" id="remove-${identity.providerId!}" class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonLargeClass!}">${msg("doRemove")}</a>
</#if>
<#else>
<a href="${identity.actionUrl}" type="submit" id="add-${identity.providerId!}" class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonLargeClass!}">${msg("doAdd")}</a>
</#if>
</div>
</div>
</#list>
</form>
</@layout.mainLayout>