Project

General

Profile

1 4010 tao
[% IF cfg == 'nceas' %]
2
  [% INCLUDE "nceasHeader.tmpl" %]
3 5142 cjones
[% ELSIF cfg == 'parc' %]
4
  [% INCLUDE "parcHeader.tmpl" %]
5 4010 tao
[% ELSE %]
6
  [% INCLUDE "genericHeader.tmpl" %]
7
[% END %]
8 3582 walbridge
      <script language="JavaScript">
9
function submitform(formObj) {
10 2775 sgarg
11
  if (trim(formObj.elements["loginAction"].value)!="Login") return true;
12
  //trim username & passwd:
13
  var username = trim(formObj.elements["uid"].value);
14
  var organization  = trim(formObj.elements["organization"].value);
15
  var password      = trim(formObj.elements["password"].value);
16
17
  if (username=="") {
18
    alert("You must type a username. \n"+popupMsg);
19
        formObj.elements["uid"].focus();
20
    return false;
21
  }
22
23
  if (organization=="") {
24
    alert("You must select an organization. \n"+popupMsg);
25
        formObj.elements["organization"].focus();
26
    return false;
27
  }
28
29
  if (password=="") {
30
    alert("You must type a password. \n"+popupMsg);
31
        formObj.elements["password"].focus();
32
    return false;
33
  }
34
35
  formObj.username.value="uid="+formObj.elements["uid"].value+",o="+formObj.elements["organization"].value+",dc=ecoinformatics,dc=org";
36
  return true;
37
}
38
39
function trim(stringToTrim) {
40
  return stringToTrim.replace(/^\s*/, '').replace(/\s*$/,'');
41
}
42
      </script>
43
  <br />
44 2860 sgarg
      [% IF message != '' %]
45 2873 tyburczy
			<p class="redbold">[% message %]</p>
46
			</br>
47 2878 tyburczy
		[%IF showInstructions %]
48
	  	[%IF cfg =='esa' %]
49 2873 tyburczy
				<p><strong>Steps for registering an ESA data set</strong></p>
50
51
52
				<p><span class="greenbold">Step 1: Create an Account</span> <br>
53 4191 walbridge
		   			Create an account by registering with the <a href="[% cgiPrefix %]/ldapweb.cgi?cfg=[%cfg%]">KNB</a>.
54 2873 tyburczy
55
					Many scientists will already have accounts in the KNB, especially those
56
					from institutions like NCEAS and LTER. If you already have an account
57
					please use that existing account rather than creating a new one.</p>
58 2884 tyburczy
				<p><span class="greenbold">Step 2: Login</span><br />
59
		   			Login to the ESA Registry website with the account you created.</p>
60 2873 tyburczy
				<p><span class="greenbold">Step 3: Register Data</span><br />
61 6758 leinfelder
					Fill out the <a href="http://data.esa.org/esa/cgi-bin/register-dataset.cgi?cfg=esa">ESA Data Registry Form</a>
62 2873 tyburczy
					A page titled "Success" will appear when the form has been successfully submitted.             </p>
63
				<p> <span class="greenbold">Step 4: Look for Feedback</span> <br />
64 2885 bowdish
					After you submit, watch for e-mail sent by the ESA moderator regarding whether your data set has been accepted.</p>
65 2876 tyburczy
				<br /><br />
66 2873 tyburczy
		[% END %]
67 2878 tyburczy
		[% END %]
68 2873 tyburczy
69 2833 sgarg
      [% END %]
70 4010 tao
  <menu>
71 4191 walbridge
<form method="post" action="[% cgiPrefix %]/register-dataset.cgi" onsubmit="return submitform(this);" >
72 2876 tyburczy
    <input type="hidden" name="stage" value="login">
73
    <input type="hidden" name="username" value="">
74
    <input type="hidden" name="cfg" value="[%cfg%]">
75 2833 sgarg
76 2876 tyburczy
    <table>
77
78 2833 sgarg
      <tr valign="middle">
79 2775 sgarg
        <td align="left" valign="middle" class="text_plain">
80
        Username:</td>
81
82
        <td width="173" align="left" class="text_plain" style=
83
        "padding-top: 2px; padding-bottom: 2px;"><input name="uid"
84
        type="text" style="width: 140px;" value=""></td>
85
      </tr>
86
87
      <tr valign="middle">
88
        <td height="28" align="left" valign="middle" class=
89
        "text_plain">Organization:</td>
90
91
        <td align="left" class="text_plain" style=
92
        "padding-top: 2px; padding-bottom: 2px;"><select name=
93
        "organization" style="width:140px;">
94
          <option value=""    selected>&#8212; choose one &#8212;</option>
95
          <option value="NCEAS"       >NCEAS</option>
96 3116 tao
          <option value="LTER"        >LTER</option>
97
          <option value="KU"          >KU</option>
98
          <option value="OBFS"        >OBFS</option>
99
          <option value="OSUSB"       >OSUSB</option>
100 5144 cjones
          <option value="PARC"        >PARC</option>
101 2775 sgarg
          <option value="PISCO"       >PISCO</option>
102 3656 leinfelder
          <option value="SAEON"       >SAEON</option>
103
          <option value="SANParks"    >SANParks</option>
104 2775 sgarg
          <option value="SDSC"        >SDSC</option>
105 3116 tao
          <option value="UCNRS"       >UCNRS</option>
106 2775 sgarg
          <option value="unaffiliated">unaffiliated</option>
107
        </select></td>
108
      </tr>
109
110
      <tr valign="middle">
111
        <td width="85" align="left" valign="middle" class=
112
        "text_plain">Password:</td>
113
114
        <td colspan="2" align="left" class="text_plain" style=
115
        "padding-top: 2px; padding-bottom: 2px;">
116
          <table width="100%" border="0" cellpadding="0"
117
          cellspacing="0">
118
            <tr>
119
              <td width="150" align="left"><input name="password"
120
              type="password" maxlength="50" style="width:140px;"
121
              value=""></td>
122
123
              <td align="center" class="buttonBG_login">
124
              <input type="submit" name="loginAction" value="Login"
125
              class="button_login"></td>
126
127
              <td align="left">&nbsp;</td>
128
            </tr>
129
          </table>
130
        </td>
131
      </tr>
132
    </table>
133
  </form>
134 4010 tao
  </menu>
135
136 4191 walbridge
  Dont have an account yet? <a href="[% cgiPrefix %]/ldapweb.cgi?cfg=[%cfg%]">Create a new account</a>
137 4010 tao
  <br />
138 4191 walbridge
  Forgot your password? <a href="[% cgiPrefix %]/ldapweb.cgi?cfg=[%cfg%]&amp;stage=resetpass">Reset your password</a>
139 3915 walbridge
140 4010 tao
[% IF cfg == 'nceas' %]
141
  [% INCLUDE "nceasFooter.tmpl" %]
142 5142 cjones
[% ELSIF cfg == 'parc' %]
143
  [% INCLUDE "parcFooter.tmpl" %]
144 4010 tao
[% ELSE %]
145
  [% INCLUDE "genericFooter.tmpl" %]
146
[% END %]