Project

General

Profile

1 4080 daigle
<%@ page    language="java" import="java.util.Vector,edu.ucsb.nceas.metacat.util.LDAPUtil"%>
2 4000 berkley
<%
3
/**
4
 * '$RCSfile$'
5
 *  Copyright: 2008 Regents of the University of California and the
6
 *             National Center for Ecological Analysis and Synthesis
7
 * '$Author$'
8
 * '$Date$'
9
 * '$Revision$'
10
11
 * This program is free software; you can redistribute it and/or modify
12
 * it under the terms of the GNU General Public License as published by
13
 * the Free Software Foundation; either version 2 of the License, or
14
 * (at your option) any later version.
15
16
 * This program is distributed in the hope that it will be useful,
17
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
18
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19
 * GNU General Public License for more details.
20
 *
21
 * You should have received a copy of the GNU General Public License
22
 * along with this program; if not, write to the Free Software
23
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
24
 */
25
 %>
26
27 4080 daigle
<%@ include file="../../common/common-settings.jsp"%>
28
29
<%
30
	Vector<String> organizationList = LDAPUtil.getOrganizations();
31
%>
32 4000 berkley
33
<html>
34
<head>
35
<title>Metacat Harvester Registration Login</title>
36
</head>
37
38
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red">
39
<br><center>
40
<h3>
41
<font color="#132B76" face=verdana size=2%>
42
<b>Metacat Harvester Registration Login</b>
43
</font>
44
</h3>
45
46
<form name="myform"
47
      method="POST"
48 4080 daigle
      action="<%=CONTEXT_URL%>/harvesterRegistrationLogin">
49 4000 berkley
50
<table width=400 align=center cellspacing=1 cellpadding=1
51
       border=0 bgcolor="#333366">
52
  <tr>
53
    <td>
54
      <table bgcolor="#ffffff" border="0" cellpadding="1" width='100%' >
55
        <tr > <td colspan=3 align=center >&nbsp;</td> </tr>
56
        <tr >
57
          <td colspan=3 align=center >
58
            <font face=verdana size=1%>
59
              <b>Please  Enter Username, Organization, and Password</b>
60
            </font>
61
          </td>
62
        </tr>
63
        <tr>
64
          <td width='10%'> &nbsp;</td>
65
          <td width="25%" bgcolor="#4682b4">
66
            <p align="center">
67
            <font color="white" face=verdana size=2%>
68
            <b>Username</b>
69
            </font>
70
          </td>
71
          <td><p><input type="text" name="uid" maxlength="100" size="28"></td>
72
        </tr>
73
        <tr>
74
          <td width='10%'> &nbsp;</td>
75
          <td width="25%" bgcolor="#4682b4">
76
            <p align="center">
77
            <font color="white" face=verdana size=2%>
78
            <b>Organization</b>
79
            </font>
80
          </td>
81
          <td>
82 4080 daigle
<%
83
		for (String orgName : organizationList) {
84
%>
85
            <input type="radio" name="o" value="<%= orgName %>"><%= orgName %>
86
<%
87
			}
88
%>
89 4000 berkley
        </tr>
90
        <tr>
91
          <td width='10%'> &nbsp;</td>
92
          <td bgcolor="#4682b4">
93
            <p align="center">
94
            <font color="white" face=verdana size=2%>
95
            <b>Password</b>
96
            </font>
97
          </td>
98
          <td><p><input type="password" name="passwd" maxlength="60" size="28">
99
          </td>
100
        </tr>
101
        <tr> <td colspan=3 align=center >&nbsp;</td></tr>
102
      </table>
103
    </td>
104
  </tr>
105
</table>
106
<br>
107
<p>
108
<input type="submit" value="Login">
109
<input type="reset" value="Reset">
110
</form>
111
</body>