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
					Fill out the <a href="http://data.esa.org/cgi-bin/register-dataset.cgi?cfg=esa">ESA Data Registry Form</a>
62
					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 2775 sgarg
          <option value="PISCO"       >PISCO</option>
101 3656 leinfelder
          <option value="SAEON"       >SAEON</option>
102
          <option value="SANParks"    >SANParks</option>
103 2775 sgarg
          <option value="SDSC"        >SDSC</option>
104 3116 tao
          <option value="UCNRS"       >UCNRS</option>
105 2775 sgarg
          <option value="unaffiliated">unaffiliated</option>
106
        </select></td>
107
      </tr>
108
109
      <tr valign="middle">
110
        <td width="85" align="left" valign="middle" class=
111
        "text_plain">Password:</td>
112
113
        <td colspan="2" align="left" class="text_plain" style=
114
        "padding-top: 2px; padding-bottom: 2px;">
115
          <table width="100%" border="0" cellpadding="0"
116
          cellspacing="0">
117
            <tr>
118
              <td width="150" align="left"><input name="password"
119
              type="password" maxlength="50" style="width:140px;"
120
              value=""></td>
121
122
              <td align="center" class="buttonBG_login">
123
              <input type="submit" name="loginAction" value="Login"
124
              class="button_login"></td>
125
126
              <td align="left">&nbsp;</td>
127
            </tr>
128
          </table>
129
        </td>
130
      </tr>
131
    </table>
132
  </form>
133 4010 tao
  </menu>
134
135 4191 walbridge
  Dont have an account yet? <a href="[% cgiPrefix %]/ldapweb.cgi?cfg=[%cfg%]">Create a new account</a>
136 4010 tao
  <br />
137 4191 walbridge
  Forgot your password? <a href="[% cgiPrefix %]/ldapweb.cgi?cfg=[%cfg%]&amp;stage=resetpass">Reset your password</a>
138 3915 walbridge
139 4010 tao
[% IF cfg == 'nceas' %]
140
  [% INCLUDE "nceasFooter.tmpl" %]
141 5142 cjones
[% ELSIF cfg == 'parc' %]
142
  [% INCLUDE "parcFooter.tmpl" %]
143 4010 tao
[% ELSE %]
144
  [% INCLUDE "genericFooter.tmpl" %]
145
[% END %]