Skip to content
Snippets Groups Projects
Commit 91d1afe2 authored by Guillaume ROUSSE's avatar Guillaume ROUSSE
Browse files

move forms buttons at bottom right, as originally

parent 87623aac
Branches
Tags
No related merge requests found
...@@ -101,6 +101,12 @@ main form { ...@@ -101,6 +101,12 @@ main form {
/* prevent horizontal scrollbar */ /* prevent horizontal scrollbar */
overflow-x: hidden; overflow-x: hidden;
} }
.wizard > .actions {
position: relative;
display: block;
text-align: right;
width: 100%;
}
/* Accounts profile */ /* Accounts profile */
.accounts { .accounts {
......
[% WRAPPER index.tt2.html %] [% WRAPPER index.tt2.html %]
<div class="wizard clearfix vertical"> <form class="wizard clearfix" action="[% app.url %]" method="get">
<div class="steps clearfix"> <div class="steps clearfix">
<ol> <ol>
<li class="done">[% lh.maketext("Select your federation") %]</li> <li class="done">[% lh.maketext("Select your federation") %]</li>
...@@ -15,16 +15,16 @@ ...@@ -15,16 +15,16 @@
[% lh.maketext("An email challenge including a validation token has been emailed to you at [_1].", email) %] [% lh.maketext("An email challenge including a validation token has been emailed to you at [_1].", email) %]
[% lh.maketext("Please copy and paste the validation token in the form below to proof that you are administrator of this service.") %] [% lh.maketext("Please copy and paste the validation token in the form below to proof that you are administrator of this service.") %]
</p> </p>
<form action="[% app.url %]" method="get"> <label for="token">[% lh.maketext("Please provide the validation token here:") %]</label>
<label for="token">[% lh.maketext("Please provide the validation token here:") %]</label> <br/>
<br/> <input name="token" value="" id="token" type="text" class="required error"/>
<input name="token" value="" id="token" type="text" class="required error"/> <input type="hidden" name="entityid" value="[% entityid %]"/>
<br/> <input type="hidden" name="email" value="[% email %]"/>
<input type="hidden" name="entityid" value="[% entityid %]"/>
<input type="hidden" name="email" value="[% email %]"/>
<button class="button" type="submit" name="action" value="select_email">[% lh.maketext("Previous") %]</button>
<button class="button" type="submit" name="action" value="create_accounts">[% lh.maketext("Next") %]</button>
</form>
</div> </div>
</div>
<div class="actions clearfix">
<button type="submit" class="button" name="action" value="select_email">[% lh.maketext("Previous") %]</button>
<button type="submit" class="button" name="action" value="create_accounts">[% lh.maketext("Next") %]</button>
</div>
</form>
[% END %] [% END %]
[% WRAPPER index.tt2.html %] [% WRAPPER index.tt2.html %]
<div class="wizard clearfix"> <form class="wizard clearfix" action="[% app.url %]" method="get">
<div class="steps clearfix"> <div class="steps clearfix">
<ol> <ol>
<li class="done">[% lh.maketext("Select your federation") %]</li> <li class="done">[% lh.maketext("Select your federation") %]</li>
...@@ -14,18 +14,14 @@ ...@@ -14,18 +14,14 @@
<p>[% lh.maketext("Before you can create test accounts at this Identity Provider, we need to ensure you are a legitimate administrator of '[_1]'.", sp.displayname) %]</p> <p>[% lh.maketext("Before you can create test accounts at this Identity Provider, we need to ensure you are a legitimate administrator of '[_1]'.", sp.displayname) %]</p>
[% IF sp.contacts.defined %] [% IF sp.contacts.defined %]
<form action="[% app.url %]" method="get"> <p>[% lh.maketext("Select the email address where an email challenge can be sent to validate your identity:") %]</p>
<p>[% lh.maketext("Select the email address where an email challenge can be sent to validate your identity:") %]</p>
[% FOREACH email IN sp.contacts.sort %] [% FOREACH email IN sp.contacts.sort %]
<input id="[% email %]" name="email" value="[% email %]" type="radio" class="required"/> <input id="[% email %]" name="email" value="[% email %]" type="radio" class="required"/>
<label for="[% email %]">[% email %]</label> <label for="[% email %]">[% email %]</label>
<br/> <br/>
[% END %] [% END %]
<div class="callout primary">[% lh.maketext("Those email addresses have been extracted from your service metadata.") %]</div> <div class="callout primary">[% lh.maketext("Those email addresses have been extracted from your service metadata.") %]</div>
<input type="hidden" name="entityid" value="[% sp.entityid %]"/> <input type="hidden" name="entityid" value="[% sp.entityid %]"/>
<button class="button" type="submit" name="action" value="select_sp">[% lh.maketext("Previous") %]</button>
<button class="button" type="submit" name="action" value="complete_challenge">[% lh.maketext("Next") %]</button>
</form>
[% ELSE %] [% ELSE %]
<p> <p>
[% lh.maketext("No ContactPerson element could be found in your service metadata, therefore we are unable to provide test accounts for this service.") %] [% lh.maketext("No ContactPerson element could be found in your service metadata, therefore we are unable to provide test accounts for this service.") %]
...@@ -33,5 +29,10 @@ ...@@ -33,5 +29,10 @@
</p> </p>
[% END %] [% END %]
</div> </div>
</div>
<div class="actions clearfix">
<button type="submit" class="button" name="action" value="select_sp">[% lh.maketext("Previous") %]</button>
<button type="submit" class="button" name="action" value="complete_challenge">[% lh.maketext("Next") %]</button>
</div>
</form>
[% END %] [% END %]
[% WRAPPER index.tt2.html %] [% WRAPPER index.tt2.html %]
<div class="wizard clearfix"> <form class="wizard clearfix" action="[% app.url %]" method="get">
<div class="steps clearfix"> <div class="steps clearfix">
<ol> <ol>
<li class="current">[% lh.maketext("Select your federation") %]</li> <li class="current">[% lh.maketext("Select your federation") %]</li>
...@@ -12,16 +12,17 @@ ...@@ -12,16 +12,17 @@
<div class="content clearfix"> <div class="content clearfix">
<h2>[% lh.maketext("Select your federation") %]</h2> <h2>[% lh.maketext("Select your federation") %]</h2>
<form action="[% app.url %]" method="get"> <p>[% lh.maketext("Select the federation corresponding to the service you want to test::") %]</p>
<p>[% lh.maketext("Select the federation corresponding to the service you want to test::") %]</p>
[% FOREACH federation IN federations.sort %] [% FOREACH federation IN federations.sort %]
<input id="[% federation %]" name="federation" value="[% federation %]" type="radio" class="required"/> <input id="[% federation %]" name="federation" value="[% federation %]" type="radio" class="required"/>
<label for="[% federation %]">[% federation %]</label> <label for="[% federation %]">[% federation %]</label>
<br/> <br/>
[% END %] [% END %]
<button class="button disabled" type="submit" name="action" value="">[% lh.maketext("Previous") %]</button>
<button class="button" type="submit" name="action" value="select_sp">[% lh.maketext("Next") %]</button>
</form>
</div> </div>
</div>
<div class="actions clearfix">
<button type="submit" class="button" name="action" value="">[% lh.maketext("Previous") %]</button>
<button type="submit" class="button" name="action" value="select_sp">[% lh.maketext("Next") %]</button>
</div>
</form>
[% END %] [% END %]
[% WRAPPER index.tt2.html %] [% WRAPPER index.tt2.html %]
<div class="wizard clearfix"> <form class="wizard clearfix" action="[% app.url %]" method="get">
<div class="steps clearfix"> <div class="steps clearfix">
<ol> <ol>
<li class="done">[% lh.maketext("Select your federation") %]</li> <li class="done">[% lh.maketext("Select your federation") %]</li>
...@@ -16,22 +16,23 @@ ...@@ -16,22 +16,23 @@
[% lh.maketext("You must be an administrator of that service to continue afterwards.") %] [% lh.maketext("You must be an administrator of that service to continue afterwards.") %]
</p> </p>
<form action="[% app.url %]" method="get"> <label for="entityid">[% lh.maketext("Type the name or entityID of service to test:") %]</label>
<label for="entityid">[% lh.maketext("Type the name or entityID of service to test:") %]</label> <br/>
<br/> <select id="entityid" name="entityid" class="required">
<select id="entityid" name="entityid" class="required"> <option value=""></option>
<option value=""></option> [% FOREACH entity IN metadata.sort('display_name') %]
[% FOREACH entity IN metadata.sort('display_name') %] <option value="[% entity.entityid %]">[% entity.display_name %]</option>
<option value="[% entity.entityid %]">[% entity.display_name %]</option> [% END %]
[% END %] </select>
</select> <p>[% lh.maketext("Only Service Providers included in eduGAIN metadata are included in the list.") %]</p>
<p>[% lh.maketext("Only Service Providers included in eduGAIN metadata are included in the list.") %]</p> <input type="hidden" name="federation" value="[% federation %]"/>
<input type="hidden" name="federation" value="[% federation %]"/>
<button type="submit" class="button" name="action" value="select_federation">[% lh.maketext("Previous") %]</button>
<button type="submit" class="button" name="action" value="select_email">[% lh.maketext("Next") %]</button>
</form>
</div> </div>
</div>
<div class="actions clearfix">
<button type="submit" class="button" name="action" value="select_federation">[% lh.maketext("Previous") %]</button>
<button type="submit" class="button" name="action" value="select_email">[% lh.maketext("Next") %]</button>
</div>
</form>
<script type="text/javascript"> <script type="text/javascript">
$( document ).ready(function() { $( document ).ready(function() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment