Project

General

Profile

metacat / lib / configure.jsp @ 3081

1
<%@ page    language="java" %>
2
<% 
3
/**
4
 *  '$RCSfile$'
5
 *    Copyright: 2006 Regents of the University of California and the
6
 *               National Center for Ecological Analysis and Synthesis
7
 *  For Details: http://www.nceas.ucsb.edu/
8
 *
9
 *   '$Author: jones $'
10
 *     '$Date: 2006-11-11 03:45:02 -0800 (Sat, 11 Nov 2006) $'
11
 * '$Revision: 3081 $'
12
 * 
13
 * This program is free software; you can redistribute it and/or modify
14
 * it under the terms of the GNU General Public License as published by
15
 * the Free Software Foundation; either version 2 of the License, or
16
 * (at your option) any later version.
17
 *
18
 * This program is distributed in the hope that it will be useful,
19
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
20
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
21
 * GNU General Public License for more details.
22
 *
23
 * You should have received a copy of the GNU General Public License
24
 * along with this program; if not, write to the Free Software
25
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
26
 */
27
%>
28
<html>
29
<head>
30
<title>Metacat Configuration</title>
31
<style language="Javascript">
32
<!--
33
.section {
34
    font-size: 16pt;
35
    font-weight: bold;
36
    border-bottom: solid #dddddd 1px;
37
}
38
-->
39
</style>
40
</head>
41
<body>
42
<p><img src="metacat-logo.png" width="75px" align="right"/> 
43
<h2>Metacat Configuration</h2>
44
</p>
45

    
46
<p>Welcome to MetaCat!</p>
47
<p>This installation of Metacat needs to be configured before it can
48
   function properly. Please fill out the required information and you'll be
49
   up and running.
50
</p>
51
<br clear="right"/>
52
<p class="section">Database connection</p>
53
<form method="POST" action="/knb/metacat">
54
<p>Database Username: 
55
   <input type="text" name="user" value="<%= request.getAttribute("user") %>"/></p>
56
<p>Database Password: <input type="password" name="password" value="<%= request.getAttribute("password") %>"/></p>
57
<p><input type="hidden" name="action" value="configure"/>
58
<p><input type="submit" value="Save"/></p>
59
</form>
60

    
61
<p class="section">Access controls</p>
62
<p>More options go here.</p>
63

    
64
</body>
65
</html>