2014-02-25 18:18:22 +00:00
|
|
|
<#import "template.ftl" as layout>
|
|
|
|
<@layout.mainLayout active='social' bodyClass='social'; section>
|
|
|
|
|
|
|
|
<div class="row">
|
|
|
|
<div class="col-md-10">
|
2015-03-20 09:36:42 +00:00
|
|
|
<h2>${msg("federatedIdentitiesHtmlTitle")}</h2>
|
2014-02-25 18:18:22 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<form action="${url.passwordUrl}" class="form-horizontal" method="post">
|
2015-01-13 02:58:19 +00:00
|
|
|
<#list federatedIdentity.identities as identity>
|
2014-02-25 18:18:22 +00:00
|
|
|
<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>
|
2014-02-25 18:18:22 +00:00
|
|
|
</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!}">
|
2014-02-25 18:18:22 +00:00
|
|
|
</div>
|
|
|
|
<div class="col-sm-5 col-md-5">
|
2015-01-13 02:58:19 +00:00
|
|
|
<#if identity.connected>
|
|
|
|
<#if federatedIdentity.removeLinkPossible>
|
2015-06-02 08:47:13 +00:00
|
|
|
<a href="${identity.actionUrl}" type="submit" id="remove-${identity.providerId!}" class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonLargeClass!}">${msg("doRemove")}</a>
|
2014-05-07 13:02:57 +00:00
|
|
|
</#if>
|
2014-02-25 18:18:22 +00:00
|
|
|
<#else>
|
2015-06-02 08:47:13 +00:00
|
|
|
<a href="${identity.actionUrl}" type="submit" id="add-${identity.providerId!}" class="${properties.kcButtonClass!} ${properties.kcButtonPrimaryClass!} ${properties.kcButtonLargeClass!}">${msg("doAdd")}</a>
|
2014-02-25 18:18:22 +00:00
|
|
|
</#if>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</#list>
|
|
|
|
</form>
|
|
|
|
|
|
|
|
</@layout.mainLayout>
|