Project

General

Profile

« Previous | Next » 

Revision 2411

Added by sgarg over 19 years ago

Fixed formatting of the html page generated by using tables in all ldap files.

(Commit done by Saurabh Garg for Veronique)

View differences:

lib/style/common/templates/ldapChangePassSuccess.tmpl
1
    <h2>Your password has been changed!</h2>
2
    <p>You have successfully changed your account password.
1
    <table class="intro" cellpadding="3" cellspacing="0">
2
    <tr><td align="left"><span class="emphasis">Your password has been changed!</span></td></tr>
3
    <tr><td align="left"><span class="regtext">You have successfully changed your account password.
3 4
    Remember it :-) 
4
    Thanks for your interest in the KNB!
5
    </p>
5
    Thank you for your interest in the KNB!
6
    </span></td></tr></table>
6 7

  
lib/style/common/templates/ldapResetPass.tmpl
1
    <h2>Forgot your KNB Password?</h2>
2
    <p>Fill out the form below to reset your KNB password.  
3
    You will need to know your username.  We will change the password
4
    for you to a new random password, and email it to you at the 
5
    address registered for the account. 
6
    </p>
7
    <p>Required fields are shown in red.</p>
8
    <p class="emphasis">[% errorMessage %]<p>
9
    <p>
1
    
2
  <table class="intro" cellpadding="3" cellspacing="0">
3
    <tr><td align="left"><span class="emphasis">Forgot your KNB password?</span></td></tr>
4
    <tr><td align="left"><span class="regtext">Enter the required information below to reset your KNB password.  
5
    You will need to know your username and organization.  We will change the password
6
    for you to a new random password, and send it to you at the e-mail 
7
    address registered for the account. Required fields are denoted by an asterisk (*).</td></tr>
8
   
9
       
10
    <tr><td align="left"><span class="label">[% errorMessage %]</td></tr>
11
   </table>
12
    
13
    
14
    <table class="intro" cellpadding="3" cellspacing="0"><tr><td>
10 15
    <form name="passwdForm" action="@cgiurl@" method="post">
11 16
      <input type="hidden" name="stage" value="[% stage %]"/>
12 17
      <input type="hidden" name="cfg" value="[% cfg %]"/>
18
          
19
      <p>&nbsp;</p>
13 20
      <table border="0">
14 21
        <tr>
15
          <td align="left" class="required">
16
            Username:
22
          <td align="left" class="label">
23
            *Username:
17 24
          </td>
18 25
          <td align="right">
19 26
            <input name="uid" type="text"
......
23 30
          </td>
24 31
        </tr>
25 32
        <tr>
26
          <td align="left" class="required">
27
            Organization:
33
          <td align="left" class="label">
34
            *Organization:
28 35
          </td>
29 36
          <td align="right">
30 37
            <select name="o">
......
47 54
        </tr>
48 55
      </table>
49 56
    </form>
50
    </p>
57
    </td></tr></table>
lib/style/common/templates/ldapChangePass.tmpl
1
    <h2>Change your KNB Password</h2>
2
    <p>Fill out the form below to change your KNB password.  
3
    You will need to know your username, your old password, and choose
4
    a new password (which is entered twice for confirmation).
5
    <a href="@cgiurl@?stage=resetpass&cfg=[% cfg %]">Forgot your password?</a>
6
    </p>
7
    <p>Required fields are shown in red.</p>
8
    <p class="emphasis">[% errorMessage %]<p>
9
    <p>
1
  
2
  <table class="intro" cellpadding="3" cellspacing="0">
3
    <tr><td align="left"><span class="emphasis">Change your KNB password</span></td></tr>    
4
    <tr><td align="left"><span class="regtext">Enter the required information below to change your KNB password.  
5
    You will need to know your username and your old password, and choose a new password (which is entered twice for confirmation). 
6
    Required fields are denoted by an asterisk (*).</span></td></tr>
7
    <tr><td align="left"><a href="@cgiurl@?stage=initresetpass&cfg=[% cfg %]">Forgot your old password?</a></td></tr>
8
    <tr><td align="left"> <span class="label">[% errorMessage %]</span></td></tr>
9
  </table>
10
    
11
    
12
    
13
   <table class="intro" cellpadding="3" cellspacing="0"><tr><td>
10 14
    <form name="passwdForm" action="@cgiurl@" method="post">
11 15
      <input type="hidden" name="stage" value="[% stage %]"/>
12 16
      <input type="hidden" name="cfg" value="[% cfg %]"/>
17
      
13 18
      <table border="0">
14 19
        <tr>
15
          <td align="left" class="required">
16
            Username:
20
          <td align="left" class="label">
21
            *Username:
17 22
          </td>
18 23
          <td align="right">
19 24
            <input name="uid" type="text"
......
23 28
          </td>
24 29
        </tr>
25 30
        <tr>
26
          <td align="left" class="required">
27
            Organization:
31
          <td align="left" class="label">
32
            *Organization:
28 33
          </td>
29 34
          <td align="right">
30 35
            <select name="o">
......
39 44
          </td>
40 45
        </tr>
41 46
        <tr>
42
          <td align="left" class="required">
43
            Old password:
47
          <td align="left" class="label">
48
            *Old password:
44 49
          </td>
45 50
          <td align="right">
46 51
            <input name="oldpass" type="password" />
47 52
          </td>
48 53
        </tr>
49 54
        <tr>
50
          <td align="left" class="required">
51
            New password:
55
          <td align="left" class="label">
56
            *New password:
52 57
          </td>
53 58
          <td align="right">
54 59
            <input name="userPassword" type="password" />
55 60
          </td>
56 61
        </tr>
57 62
        <tr>
58
          <td align="left" class="required">
59
            Confirm new password:
63
          <td align="left" class="label">
64
            *Confirm new password:
60 65
          </td>
61 66
          <td align="right">
62 67
            <input name="userPassword2" type="password" />
......
71 76
        </tr>
72 77
      </table>
73 78
    </form>
74
    </p>
79
    </td></tr></table>
lib/style/common/templates/ldapRegisterSuccess.tmpl
1
    <h2>Registration Succeeded!</h2>
2
    <p>You have successfully created an account on the 
1
    <table class="intro" cellpadding="3" cellspacing="0">
2
    <tr><td align="left"><span class="emphasis">Registration Succeeded!</span></td></tr>
3
    <tr><td align="left"><span class="regtext">You have successfully created an account on the 
3 4
    <a href="http://knb.ecoinformatics.org">Knowledge 
4 5
    Network for Biocomplexity (KNB)</a>.  You can use this account
5 6
    to share data with collaborators or with the general scientific
6 7
    community by downloading and installing the 
7 8
    <a href="http://knb.ecoinformatics.org/software/morpho">Morpho</a>
8
    software package.  Thanks for your interest in the KNB!
9
    </p>
9
    software package.  Thank you for your interest in the KNB!
10
    </span></td></tr></table>
10 11

  
lib/style/common/templates/ldapRegister.tmpl
1 1
    [% SWITCH stage %]
2 2
    [% CASE 'register' %]
3
    <h2>Register for the KNB!</h2>
4
    <p>Fill out the form below to register for the KNB.  By registering, 
3
    
4
    
5
    
6
    <table class="intro" cellpadding="3" cellspacing="0">
7
       <tr><td align="left"><span class="emphasis">Register for the Knowledge Network for Biocomplexity (KNB)!</span></td></tr>
8
       <tr><td align="left"><span class="regtext">Fill out the form below to register for the KNB.  By registering, 
5 9
    you will be assigned a user account that allows you to store your
6 10
    own data as part of the KNB and to collaborate with other research
7
    scientists through the KNB.
8
    </p>
9
    <p>Required fields are shown in red.</p>
11
    scientists through the KNB.</td></tr>
12
       <tr><td align="left"><span class="label">Required fields are denoted by an asterisk (*).</td></tr>
13
    </table>
14
    <p>&nbsp;</p>
15
    
10 16
    [% fieldType = 'text' %]
11 17
    [% CASE 'registerconfirmed' %]
12
    <h2>Confirm registration information</h2>
13
    <p>If you have confirmed that the accounts listed above do not 
18
    
19
    
20
    <table class="intro" cellpadding="3" cellspacing="0">
21
      <tr><td align="left"><span class="emphasis">Confirm registration information</span></td></tr>
22
      <tr><td align="left"><span class="regtext">If you have confirmed that the accounts listed above do not 
14 23
    represent you, you can continue with the registration process 
15
    using the data you provided, summarized below:
16
    </p>
24
    using the data you provided, summarized below:   </td></tr></table>
25
    
17 26
    [% fieldType = 'hidden' %]
18 27
    [% END %]
19
    <p class="emphasis">[% errorMessage %]<p>
28
    <p class="label">[% errorMessage %]<p>
20 29
    <p>
21 30
    <script type="text/javascript" language="JavaScript1.2">
31
    
22 32
    <!--
23 33
      document.loginForm.givenName.focus();
24 34
      document.loginForm.givenName.select();
......
46 56
    <form name="loginForm" action="@cgiurl@" method="post">
47 57
      <input type="hidden" name="stage" value="[% stage %]"/>
48 58
      <input type="hidden" name="cfg" value="[% cfg %]"/>
49
      <table border="0">
59
      <table hspace="20" border="0">
50 60
        <tr>
51
          <td align="left" class="required">
52
            First Name:
61
          <td align="left" class="label">
62
            *First Name:
53 63
          </td>
54 64
          <td align="right">
55 65
            [% IF stage == 'registerconfirmed' %]
......
60 70
          </td>
61 71
        </tr>
62 72
        <tr>
63
          <td align="left" class="required">
64
            Last Name:
73
          <td align="left" class="label">
74
            *Last Name:
65 75
          </td>
66 76
          <td align="right">
67 77
            [% IF stage == 'registerconfirmed' %]
......
71 81
          </td>
72 82
        </tr>
73 83
        <tr>
74
          <td align="left" class="required">
75
            Organization:
84
          <td align="left" class="label">
85
            *Organization:
76 86
          </td>
77 87
          <td align="right">
78 88
            [% IF stage == 'registerconfirmed' %]
......
93 103
          </td>
94 104
        </tr>
95 105
        <tr>
96
          <td align="left">
106
          <td align="left" class="label">
97 107
            Telephone:
98 108
          </td>
99 109
          <td align="right">
......
105 115
          </td>
106 116
        </tr>
107 117
        <tr>
108
          <td align="left" class="required">
109
            Email:
118
          <td align="left" class="label">
119
            *E-mail:
110 120
          </td>
111 121
          <td align="right">
112 122
            [% IF stage == 'registerconfirmed' %]
......
117 127
          </td>
118 128
        </tr>
119 129
        <tr>
120
          <td align="left">
130
          <td align="left" class="label">
121 131
            Title:
122 132
          </td>
123 133
          <td align="right">
......
129 139
          </td>
130 140
        </tr>
131 141
        <tr>
132
          <td align="left" class="required">
133
            Username:
142
          <td align="left" class="label">
143
            *Username:
134 144
          </td>
135 145
          <td align="right">
136 146
            [% IF stage == 'registerconfirmed' %]
......
141 151
          </td>
142 152
        </tr>
143 153
        <tr>
144
          <td align="left" class="required">
145
            Password:
154
          <td align="left" class="label">
155
            *Password:
146 156
          </td>
147 157
          <td align="right">
148 158
            [% IF stage == 'registerconfirmed' %]
......
156 166
          </td>
157 167
        </tr>
158 168
        <tr>
159
          <td align="left" class="required">
160
            Confirm Password:
169
          <td align="left" class="label">
170
            *Confirm Password:
161 171
          </td>
162 172
          <td align="right">
163 173
            [% IF stage == 'registerconfirmed' %]
......
184 194
        </tr>
185 195
      </table>
186 196
    </form>
187
    </p>
197

  
lib/style/common/templates/ldapRegisterFailed.tmpl
1
    <h2>Registration Failed</h2>
2
    <p>There was a problem creating your account.  The error was:<p>
1
    <table class="intro" cellpadding="3" cellspacing="0">
2
    <tr><td align="left"><span class="emphasis">Registration Failed</span></td></tr>
3
    <tr><td align="left"><span class="regtext">There was a problem creating your account.  The error was:</span></td></tr>
3 4

  
4
    <p class="emphasis">[% errorMessage %]</p>
5
    <tr><td align="left"><span class="label">[% errorMessage %]</span></td></tr>
5 6
    
6
    </p>The most likely
7
    <tr><td align="left"><span class="regtext">The most likely
7 8
    problem is that the username that you chose already exists.  Pick
8 9
    a different username and try submitting the form again.
9
    </p>
10
    </span></td></tr></table>
10 11

  
lib/style/common/templates/ldapRegisterMatch.tmpl
1
    <h2>Similar accounts exist</h2>
2
    <p>KNB accounts already exist with information that is similar to
3
    the information you provided.  <span class="emphasis">Please check 
1
    <table class="intro" cellpadding="3" cellspacing="0">
2
    <tr><td align="left"><span class="emphasis">Similar accounts exist</span></td></tr>
3
    <tr><td align="left"><span class="regtext">KNB accounts already exist with information that is similar to
4
    the information you provided.</span><span class="label"> Please check 
4 5
    the list of similar accounts below to determine if you already 
5
    have an account.</span>  If so, you can use 
6
    have an account.</span><span class="regtext">  If so, you can use 
6 7
    that account.  If not, then you can press "Continue" to create an
7
    account despite the similarities to existing accounts.
8
    </p>
9

  
10
    <p>
8
    account despite the similarities to existing accounts.</span></td></tr>
9
    
10
   <tr><td align="left"><span class="regtext">
11 11
    [% foundAccounts %]
12
    </p>
12
    </span></td></tr></table>
13
    
14
    <p>&nbsp;</p>
13 15

  
lib/style/common/templates/ldapResetPassSuccess.tmpl
1
    <h2>Your password has been Reset!</h2>
1
    
2
    <table class="intro" cellpadding="3" cellspacing="0">
3
    <tr><td align="left"><span class="emphasis">Your password has been reset!</span></td></tr>    
4
  
5
    
6
    
2 7
    [% IF errorMessage %]
3
    <p class="emphasis">[% errorMessage %]<p>
8
    <tr><td align="left"><span class="label"> [% errorMessage %]</span></td></tr>
4 9
    [% ELSE %]
5
    <p>Your new password has been emailed to the account registered for 
6
    this KNB account.</p>
10
    <tr><td align="left"><span class="regtext">Your new password has been sent to the e-mail address registered for 
11
    this KNB account.</span></td></tr>
7 12
    [% END %]
8
    <p>
9
    Thanks for participating in the KNB!
10
    </p>
13
    <tr><td align="left"><span class="regtext">
14
    Thank you for participating in the KNB!</span></td></tr>
15
    </table>
11 16

  

Also available in: Unified diff