Newer
Older
<div class="small-12 columns">
<p class="callout alert-callout-border success text-center">
[% c.loc("<strong>Success:</strong> your identity as administrator of the Service Provider <strong>[_1]</strong> has been validated!", sp.entityid) %]
<h2>[% c.loc("Test accounts created") %]</h2>
[% c.loc("You can now use these test accounts to access your <a href=\"[_1]\">service provider</a>, using <strong>[_2]</strong> as identity provider.", sp.url, idp.name) %]
[% c.loc("If you need a customized test account with additional user attributes, you should contact <a href=\"mailto:[_1]\">[_1]</a>.", app.support_email) %]
<p class="callout alert-callout-border warning">
[% c.loc("This page won't be accessible again, you should either keep it open in your web browser, or <a href=\"[_1]\">download accounts in CSV format</a>.", download_url) %]
<div class="accounts row">
[% template = account.profile() _ '.tt2' %]
[% PROCESS $template scope=account.scope() id=account.id() | trim %]
<div class="account small-12 medium-6 large-4 columns">
<h3>[% c.loc("Account profile: [_1]", account.profile()) %]</h3>
<td><strong>[% c.loc("user name") %]</strong></td>
<td>user[% account.id() %]</td>
</tr>
<tr>
<td><strong>[% c.loc("password") %]</strong></td>
<td>[% account.password() %]</td>
</tr>
</table>
<button data-open="account_details_[% account.id() %]" id="show_account_details_[% account.id() %]">[% c.loc("show details") %]</button>
<div class="account reveal" data-reveal id="account_details_[% account.id() %]">
<h3>[% c.loc("User attributes list") %]</h3>
<div class="callout alert-callout-border warning">
"eduPersonAffiliation and eduPersonScopedAffiliation attributes are assigned <a href=\"[_1]\">quite differently from federation to federation</a>, therefore their values should be handled with great care.",
"http://tnc2010.terena.org/files/ePSA%20comparison%20v0%2006.ppt")
%]
</div>
[% FOREACH pair IN attributes.pairs %]
<tr>
<th>[% pair.key %]</th><td>[% pair.value.join(', ') %]</td>
</tr>
<th>eduPersonTargetedID</th><td><i>[% c.loc("value dynamically generated for each SP") %]</i></td>
<button data-close>[% c.loc("close") %]</button>
</div>
[% END %]
</div>
<div class="row">
<div class="callout alert-callout-border warning">
<p>[% c.loc("Note that these test accounts will automatically expire in [_1] days and that they can only be used to test federated login to your service provider <strong>[_2]</strong>.", days, sp.entityid) %]</p>
</div>
</div>
<div class="row">
<div class="callout alert-callout-border primary text-center">
<strong>[% c.loc("Thank you for using the [_1] service", app.name) %]</strong>
<p class="text-center"><a href="[% c.url_for('step1') %]" class="button">[% c.loc("Test another service") %]</a></p>