Project

General

Profile

1
<%@ page language="java"
2
	import="java.util.Vector,edu.ucsb.nceas.metacat.util.OrganizationUtil"%>
3
<!--
4
  *  '$RCSfile$'
5
  *      Authors: Matt Jones, CHad Berkley
6
  *    Copyright: 2000 Regents of the University of California and the
7
  *               National Center for Ecological Analysis and Synthesis
8
  *  For Details: http://www.nceas.ucsb.edu/
9
  *
10
  *   '$Author: leinfelder $'
11
  *     '$Date: 2013-07-17 10:04:41 -0700 (Wed, 17 Jul 2013) $'
12
  * '$Revision: 8016 $'
13
  * 
14
  * This program is free software; you can redistribute it and/or modify
15
  * it under the terms of the GNU General Public License as published by
16
  * the Free Software Foundation; either version 2 of the License, or
17
  * (at your option) any later version.
18
  *
19
  * This program is distributed in the hope that it will be useful,
20
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
21
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
22
  * GNU General Public License for more details.
23
  *
24
  * You should have received a copy of the GNU General Public License
25
  * along with this program; if not, write to the Free Software
26
  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
27
  *
28
-->
29
<%@ include file="settings.jsp"%>
30
<%@ include file="session_vars.jsp"%>
31
<%
32
	Vector<String> organizationList = OrganizationUtil.getOrganizations();
33
%>
34
<head>
35
<title>Metacat Harvester Registration Login</title>
36
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
37
<link href="<%=STYLE_SKINS_URL%>/default/default.css" rel="stylesheet"
38
	type="text/css">
39
<script language="javascript" type="text/javascript"
40
	src="<%=STYLE_SKINS_URL%>/default/default.js"></script>
41
</head>
42

    
43
<body>
44

    
45
	<h3>Metacat Harvester Registration Login</h3>
46

    
47
	<form name="myform" method="POST"
48
		action="<%=CONTEXT_URL%>/harvesterRegistrationLogin">
49

    
50
		<p>Please Enter Username, Organization, and Password</p>
51
		<table>
52
			<tr>
53
				<td>Username</td>
54
				<td>
55
					<input type="text" name="uid" maxlength="100" size="28">
56
				</td>
57
			</tr>
58
			<tr>
59
				<td>Organization</td>
60
				<td>
61
					<select name="o">
62
						<%
63
							for (String orgName : organizationList) {
64
						%>
65
						<option value="<%=orgName%>"><%=orgName%></option>
66
						<%
67
							}
68
						%>
69
					</select>
70
				</td>
71
			</tr>
72
			<tr>
73
				<td>Password</td>
74
				<td>
75
					<input type="password" name="passwd" maxlength="60" size="28">
76
				</td>
77
			</tr>
78
		</table>
79

    
80
		<input type="submit" value="Login"> <input type="reset"
81
			value="Reset">
82
	</form>
83
</body>
(9-9/19)