Project

General

Profile

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