<div class="row">


    <div class="alert-box success radius">
    <strong>Success:</strong> Your identity as administrator of the Service Provider with entityID <strong>[% entityid %]</strong> could successfully be validated!
    </div>

    <h3>The following test accounts with different profiles were created for you:</h3>

            <p>You can now use these test accounts to login at your federated service.<br/>
    <strong>To do so, select the "[% idp_displayname %]" when choosing an organisation to login at.</strong></p>
</div>

<div class="accounts_profile">
    [% FOREACH account IN accounts %]
    <div class="tbl">
        <table>
            <caption>Account profile: [% account.profile() %]</caption>
            <tr>
                <th>user name:</th><td> user[% account.id() %]</td>
            </tr>
            <tr>
                <th>user password:</th><td>[% account.password() %]</td>
            </tr>
            <tr>
                <td colspan="2"><strong>comment:</strong><div><p>[% account.comment() %]</p></div></td>
            </tr>
            <tr>
                <td colspan=2 class="align-center" ><button data-reveal-id="account_details_[% account.id() %]" class="show_account_details" id="show_account_details_[% account.id() %]">show account details</button></td>
            </tr>
        </table>
    </div>
    <div class="accounts_profile reveal-modal" data-reveal id="account_details_[% account.id() %]"> <!-- old version : class="account_details"-->
        <h3>List of user attributes associated</h3>
        <p>Below is the list of user attributes associated to this test account. After a successfull authentication process these attributes are transmited
        via the SAML protocol from [% app.name %] Identity Provider to your Service Provider.</p>
        <div>
            <table>
                <caption>List of user attributes</caption>
    [% FOREACH attribute IN [ 'cn', 'displayName', 'givenName', 'sn', 'mail', 'schacHomeOrganization', 'schacHomeOrganizationType', 'eduPersonPrincipalName', 'eduPersonAffiliation', 'eduPersonScopedAffiliation' ] -%]
                <tr>
                    <th>[% attribute %]</th><td> [% account.$attribute %]</td>
                </tr>
    [% END %]
                <tr>
                    <th>eduPersonTargetedID:</th><td><i>value dynamically generated by the SP</i></td>
                </tr>
            </table>
        </div>

        <div class="alert-box info radius">If you need a customized test account with additional user attributes, you should contact <a href="mailto:[% app.support_email %]">[% app.support_email %]</a>.</div>
        <div>(1) eduPersonAffiliation and eduPersonScoppedAffilisation attributes are assigned quite differently from federation to federation. <a href="http://tnc2010.terena.org/files/ePSA%20comparison%20v0%2006.ppt">This usage comparison of eduPersonAffiliation accross different countries</a> discusses these differences. Therefore its values should be handled with great care.</div>
        <a class="close-reveal-modal">&#215;</a>
    </div>
    [% END %]
</div>

<div class="alert-box warning radius">
    <p>Note that these test accounts will automatically expire in [% accounts_validity_period %] days and that they can only be used to test federated login to your eduGAIN-enabled Service Provider with entityID <strong>[% entityid %]</strong>.</p>
</div>

<p class="align-center"><Strong>Thank you for using the [% app.name %]</strong></p>