Project

General

Profile

1
<%@ page language="java" %>
2
<%@ page import="java.util.Set,java.util.Map,java.util.Vector,edu.ucsb.nceas.utilities.PropertiesMetaData" %>
3
<%@ page import="edu.ucsb.nceas.utilities.MetaDataGroup,edu.ucsb.nceas.utilities.MetaDataProperty" %>
4
<% 
5
/**
6
 *  '$RCSfile$'
7
 *    Copyright: 2008 Regents of the University of California and the
8
 *               National Center for Ecological Analysis and Synthesis
9
 *  For Details: http://www.nceas.ucsb.edu/
10
 *
11
 *   '$Author: daigle $'
12
 *     '$Date: 2008-07-29 10:31:02 -0700 (Tue, 29 Jul 2008) $'
13
 * '$Revision: 4176 $'
14
 * 
15
 * This program is free software; you can redistribute it and/or modify
16
 * it under the terms of the GNU General Public License as published by
17
 * the Free Software Foundation; either version 2 of the License, or
18
 * (at your option) any later version.
19
 *
20
 * This program is distributed in the hope that it will be useful,
21
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
22
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
23
 * GNU General Public License for more details.
24
 *
25
 * You should have received a copy of the GNU General Public License
26
 * along with this program; if not, write to the Free Software
27
 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
28
 */
29
%>
30

    
31
<html>
32
<head>
33

    
34
<title>Geoserver Configuration</title>
35
<link rel="stylesheet" type="text/css" 
36
        href="<%= request.getContextPath() %>/admin/admin.css"></link>
37
<script language="JavaScript" type="text/JavaScript" src="<%= request.getContextPath() %>/admin/admin.js"></script>
38

    
39
</head>
40
<body>
41
<img src="<%= request.getContextPath() %>/metacat-logo.png" width="100px" align="right"/> 
42
<h2>MetaCat Properties Configuration</h2>
43

    
44
<p>Reset the geoserver password here.  If there are any issues, or you want to defer the password
45
   reset until later, choose to bypass this screen.  You can configure the password later by 
46
   following the <a href="<%= request.getContextPath() %>/docs/user/geoserverconfigure.html">geoserver password change instructions.</a>
47
</p>
48
<!-- MCD TODO add geoserver instructions page -->
49
<br clear="right"/>
50

    
51
<%@ include file="page-message-section.jsp"%>
52

    
53
<form method="POST" name="configuration_form" action="<%= request.getContextPath() %>/admin" 
54
                                        onsubmit="return submitForm(this);">
55

    
56
	<h3>Geoserver Password Configuration</h3>
57
	<hr class="config-line">
58
	<table class="config-section"> 
59
		<tr>
60
			<td class="config-property-label">
61
				<label for="geoserver.username" title="Geoserver user name">User Name</label>
62
     		</td>	
63
     		<td class="config-property-input" >	
64
				<input id="geoserver.username" 
65
					   name="geoserver.username" 	             		    	    	           		    	             			
66
	           		   value="<%= request.getAttribute("geoserver.username") %>"/> 
67
			</td>
68
			<td class="config-question-mark">
69
				<img src="style/images/question-mark.gif" 
70
	           		 alt="Geoserver user name" 
71
	           		 onClick="helpWindow('<%= request.getContextPath() %>','geoserverconfiguration.html')"/>
72
			</td>
73
		</tr>
74
		<tr>
75
			<td class="config-property-label">
76
				<label for="geoserver.password" title="Geoserver user name">Password</label>
77
     		</td>	
78
     		<td class="config-property-input" >	
79
				<input id="geoserver.password" 
80
					   name="geoserver.password" 
81
					   type="password"	             		    	    	           		    	             			
82
	           		   value="<%= request.getAttribute("geoserver.password") %>"/> 
83
			</td>
84
			<td class="config-question-mark">
85
				<img src="style/images/question-mark.gif" 
86
	           		 alt="Geoserver user name" 
87
	           		 onClick="helpWindow('<%= request.getContextPath() %>','geoserverconfiguration.html')"/>
88
			</td>
89
		</tr>
90
	</table>
91

    
92
	<input type="hidden" name="configureType" value="geoserver"/>
93
	<input type="hidden" name="processForm" value="true"/>
94
	<input class=left-button type="submit" value="Update"/>
95
	<input class=button type="button" value="Bypass" onClick="forward('./admin?configureType=geoserver&bypass=true&processForm=true')">
96
	<input class=button type="button" value="Cancel" onClick="forward('./admin')"> 
97

    
98
</form>
99

    
100
</body>
101
</html>
(6-6/13)