Project

General

Profile

« Previous | Next » 

Revision 2876

Added by tyburczy about 19 years ago

moved esa info, error message, and password info out of the table. changed logic for displaying esa info

View differences:

lib/style/common/templates/loginForm.tmpl
80 80
          insertSearchBox();
81 81
      </script>
82 82
  <br />
83
  <menu>
84
<form method="post" action="@cgi-prefix@/register-dataset.cgi" onsubmit="return submitform(this);" >
85
    <input type="hidden" name="stage" value="login"> 
86
    <input type="hidden" name="username" value=""> 
87
    <input type="hidden" name="cfg" value="[%cfg%]"> 
88

  
89
    <table>
90 83
      [% IF message != '' %]
91
      	<tr valign="middle">
92
       		<td align="left" valign="middle" class="text_plain" colspan="2">
93 84
			<p class="redbold">[% message %]</p>
94 85
			</br>
95
			</td>
96
		</tr>
97
	  	[%IF cfg =='esa'%]
98
			<tr valign="middle"><td colspan="2">
86
	  	[%IF (cfg =='esa') && (message =~ m/register.+data ?set/i) %]
99 87
				<p><strong>Steps for registering an ESA data set</strong></p>
100 88
          
101 89
        
......
105 93
					Many scientists will already have accounts in the KNB, especially those 
106 94
					from institutions like NCEAS and LTER. If you already have an account 
107 95
					please use that existing account rather than creating a new one.</p>
108
				<p><span class="greenbold">Step 2: Login</span><br />
96
				<p><span class="greenbold"><span style="font-size:larger">Step 2: Login</span></span><br />
109 97
		   			Login to the ESA Registry website with the account you created. Fill out the ESA Data Registry Form. 
110 98
					A page titled "Success" will appear when the form has been successfully submitted.</p>
111 99
				<p><span class="greenbold">Step 3: Register Data</span><br />
112 100
					Fill out the <a href="http://data.esa.org/cgi-bin/register-dataset.cgi?cfg=esa">ESA Data Registry Form</a>
113 101
					A page titled "Success" will appear when the form has been successfully submitted.             </p>
114 102
				<p> <span class="greenbold">Step 4: Look for Feedback</span> <br />
115
					After you submit, watch for e-mail sent by the ESA moderator regarding whether your data set  has been accepted</p><br />
116
		  </td></tr>
103
					After you submit, watch for e-mail sent by the ESA moderator regarding whether your data set  has been accepted</p>
104
				<br /><br />
117 105
		[% END %]
118 106
	  
119 107
      [% END %]
108
  <menu>
109
<form method="post" action="@cgi-prefix@/register-dataset.cgi" onsubmit="return submitform(this);" >
110
    <input type="hidden" name="stage" value="login"> 
111
    <input type="hidden" name="username" value=""> 
112
    <input type="hidden" name="cfg" value="[%cfg%]"> 
120 113

  
114
    <table>
115

  
121 116
      <tr valign="middle">
122 117
        <td align="left" valign="middle" class="text_plain">
123 118
        Username:</td>
......
167 162
          </table>
168 163
        </td>
169 164
      </tr>
170
	  <tr><td></td><td></td></tr>
171
	  <tr valign="middle">
172
	  	<td align="left" colspan="2">
173
			Dont have an account yet? <a href="@cgi-prefix@/ldapweb.cgi?cfg=[%cfg%]">Create a new account</a>
174
		</td>
175
      </tr>
176
	  <tr valign="middle">
177
	  	<td align="left" colspan="2">
178
			Forgot your password?<a href="@cgi-prefix@/ldapweb.cgi?cfg=[%cfg%]&amp;stage=resetpass">Reset your password</a>
179
		</td>
180
	  </tr>
181 165
    </table>
182 166
  </form>
183 167
  </menu>
184 168
  
169
  
170
	Dont have an account yet? <a href="@cgi-prefix@/ldapweb.cgi?cfg=[%cfg%]">Create a new account</a>
171
	 <br />
172
	Forgot your password? <a href="@cgi-prefix@/ldapweb.cgi?cfg=[%cfg%]&amp;stage=resetpass">Reset your password</a>
173
  
185 174
  <p>&nbsp;</p>
186 175
<script language="JavaScript">          
187 176
    insertTemplateClosing();

Also available in: Unified diff