Project

General

Profile

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