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:

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

  

Also available in: Unified diff