Skip to content
Snippets Groups Projects
Commit b309c291 authored by renater.salaun's avatar renater.salaun
Browse files

Fix tab 2 size and make it scrollable

git-svn-id: https://svn.geant.net/GEANT/edugain_testidp_account_manager/trunk@32 047e039d-479c-447e-8a29-aa6bf4a09bab
parent c588aac4
No related branches found
No related tags found
No related merge requests found
......@@ -97,7 +97,7 @@ jQuery(document).ready(function($){
<h3>Select your Service Provider</h3>
<fieldset>
<legend>Select your Service Provider</legend>
<h3>Select your Service Provider</h3>
<div>
This Test Identity Provider allows you to create test accounts with different profiles to validate the behaviour of your own Service Provider registered
in eduGAIN inter-federation. Note that only a Service Provider administrator can create accounts here.
......@@ -105,7 +105,7 @@ in eduGAIN inter-federation. Note that only a Service Provider administrator can
<label for="sp_entityid">Please select your Service Provider below</label>
<select id="sp_entityid" name="sp_entityid" class="required">
<select id="sp_entityid" name="sp_entityid" class="required">
<option value="">Select your Service Provider below</option>
[% FOREACH entity IN federation_metadata_as_hashref.sort('default_display_name') %]
<option value="[% entity.entityid %]">[% IF entity.default_display_name %][% entity.default_display_name %] [% END %]([% entity.entityid %])</option>
......
......@@ -62,6 +62,9 @@ div.important{border-style:solid;border-color:black;border-width:1px;background-
.mandatory{color:#e00853;font-style:italic;font-weight:bold;margin:0 3px}
.notice{border:2px solid #05a;padding:5px 5px 5px 5px;margin:20px;}
#sp_entityid{width:100%;}
.scrollable{overflow-y: scroll;}
fieldset.scrollable{height: 75%;}
.wizard .content div.radio_inline input[type="radio"]{display: inline;}
--></STYLE>
<title> [% PROCESS 'templates/web/title.tt2.html' %] </title>
......
......@@ -8,7 +8,7 @@
Before you can create test accounts at this Identity Provider, we need to ensure you are a legitimate administrator of "[% sp_display_name %]".
</div>
<fieldset>
<fieldset class="scrollable">
[% IF sp_metadata_as_hashref.contacts.defined %]
<legend>Select your email address</legend>
<label for="sp_entityid">The email addresses below have been extracted from your SP SAML metadata.<br/>Please select the email address where an email challenge
......@@ -24,12 +24,14 @@ Before you can create test accounts at this Identity Provider, we need to ensure
[% contacts.${email} = 1 %]
[% END %]
<div class="radio_inline">
[% FOREACH email IN contacts.keys.sort %]
<input name="email_address" value="[% email %]" id="email_address" type="radio" class="required"/><label for="email_address">[% email %]</label>
<input name="email_address" value="[% email %]" type="radio" class="required"/><label for="email_address">[% email %]</label><br/>
<input type="hidden" name="sp_entityid" value="[% sp_metadata_as_hashref.entityid %]" id="sp_entityid"/>
[% END %]
</div>
[% ELSE %]
No ContactPerson elements could be found in your SP SAML metadata. Therefore we are unable to provide test accounts for your SP. Please contact your local federation
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment