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($){ ...@@ -97,7 +97,7 @@ jQuery(document).ready(function($){
<h3>Select your Service Provider</h3> <h3>Select your Service Provider</h3>
<fieldset> <fieldset>
<legend>Select your Service Provider</legend> <h3>Select your Service Provider</h3>
<div> <div>
This Test Identity Provider allows you to create test accounts with different profiles to validate the behaviour of your own Service Provider registered 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. 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 ...@@ -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> <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> <option value="">Select your Service Provider below</option>
[% FOREACH entity IN federation_metadata_as_hashref.sort('default_display_name') %] [% 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> <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- ...@@ -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} .mandatory{color:#e00853;font-style:italic;font-weight:bold;margin:0 3px}
.notice{border:2px solid #05a;padding:5px 5px 5px 5px;margin:20px;} .notice{border:2px solid #05a;padding:5px 5px 5px 5px;margin:20px;}
#sp_entityid{width:100%;} #sp_entityid{width:100%;}
.scrollable{overflow-y: scroll;}
fieldset.scrollable{height: 75%;}
.wizard .content div.radio_inline input[type="radio"]{display: inline;}
--></STYLE> --></STYLE>
<title> [% PROCESS 'templates/web/title.tt2.html' %] </title> <title> [% PROCESS 'templates/web/title.tt2.html' %] </title>
......
...@@ -8,7 +8,7 @@ ...@@ -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 %]". Before you can create test accounts at this Identity Provider, we need to ensure you are a legitimate administrator of "[% sp_display_name %]".
</div> </div>
<fieldset> <fieldset class="scrollable">
[% IF sp_metadata_as_hashref.contacts.defined %] [% IF sp_metadata_as_hashref.contacts.defined %]
<legend>Select your email address</legend> <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 <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 ...@@ -24,12 +24,14 @@ Before you can create test accounts at this Identity Provider, we need to ensure
[% contacts.${email} = 1 %] [% contacts.${email} = 1 %]
[% END %] [% END %]
<div class="radio_inline">
[% FOREACH email IN contacts.keys.sort %] [% 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"/> <input type="hidden" name="sp_entityid" value="[% sp_metadata_as_hashref.entityid %]" id="sp_entityid"/>
[% END %] [% END %]
</div>
[% ELSE %] [% 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 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