Revision 4557
Added by daigle about 16 years ago
lib/admin/login-footer-section.jsp | ||
---|---|---|
1 |
<%@ page language="java" import="java.util.Vector" %> |
|
2 |
<% |
|
3 |
/** |
|
4 |
* '$RCSfile$' |
|
5 |
* Copyright: 2008 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$' |
|
10 |
* '$Date$' |
|
11 |
* '$Revision$' |
|
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 |
|
|
29 |
<% |
|
30 |
if( request.getSession().getAttribute("userId") != null) { |
|
31 |
%> |
|
32 |
<div class=small-message> |
|
33 |
You are logged in as: <%= request.getSession().getAttribute("userId") %><br> |
|
34 |
<a href="<%= request.getContextPath() %>/admin?configureType=login">log in as different user</a> |
|
35 |
</div> |
|
36 |
<% |
|
37 |
} else { |
|
38 |
%> |
|
39 |
<div class=small-message> |
|
40 |
You are not logged in. %><br> |
|
41 |
<a href="<%= request.getContextPath() %>/admin?configureType=login">log in as different user</a> |
|
42 |
</div> |
|
43 |
<% |
|
44 |
} |
|
45 |
%> |
|
46 | 0 |
lib/admin/ldap-configuration.jsp | ||
---|---|---|
37 | 37 |
|
38 | 38 |
</head> |
39 | 39 |
<body> |
40 |
<%@ include file="./header-section.jsp"%> |
|
41 |
|
|
40 | 42 |
<img src="<%= request.getContextPath() %>/metacat-logo.png" width="100px" align="right"/> |
41 | 43 |
<h2>LDAP Configuration</h2> |
42 | 44 |
Enter authentication service properties here. |
... | ... | |
138 | 140 |
|
139 | 141 |
</form> |
140 | 142 |
|
143 |
<%@ include file="./footer-section.jsp"%> |
|
144 |
|
|
141 | 145 |
</body> |
142 | 146 |
</html> |
lib/admin/geoserver-configuration.jsp | ||
---|---|---|
38 | 38 |
|
39 | 39 |
</head> |
40 | 40 |
<body> |
41 |
<%@ include file="./header-section.jsp"%> |
|
42 |
|
|
41 | 43 |
<img src="<%= request.getContextPath() %>/metacat-logo.png" width="100px" align="right"/> |
42 | 44 |
<h2>Geoserver Configuration</h2> |
43 | 45 |
|
... | ... | |
82 | 84 |
|
83 | 85 |
</form> |
84 | 86 |
|
87 |
<%@ include file="./footer-section.jsp"%> |
|
88 |
|
|
85 | 89 |
</body> |
86 | 90 |
</html> |
lib/admin/database-configuration.jsp | ||
---|---|---|
45 | 45 |
|
46 | 46 |
</head> |
47 | 47 |
<body> |
48 |
<%@ include file="./header-section.jsp"%> |
|
49 |
|
|
48 | 50 |
<img src="<%= request.getContextPath() %>/metacat-logo.png" width="100px" align="right"/> |
49 | 51 |
<h2>Database Install/Upgrade Utility</h2> |
50 | 52 |
|
... | ... | |
100 | 102 |
} |
101 | 103 |
%> |
102 | 104 |
|
103 |
<br clear="right"/>
|
|
105 |
<%@ include file="./footer-section.jsp"%>
|
|
104 | 106 |
|
105 | 107 |
</body> |
106 | 108 |
</html> |
lib/admin/header-section.jsp | ||
---|---|---|
1 |
<%@ page language="java" %> |
|
2 |
<% |
|
3 |
/** |
|
4 |
* '$RCSfile$' |
|
5 |
* Copyright: 2008 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: daigle $' |
|
10 |
* '$Date: 2008-07-06 21:25:34 -0700 (Sun, 06 Jul 2008) $' |
|
11 |
* '$Revision: 4080 $' |
|
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 |
|
|
29 |
<% |
|
30 |
if( request.getSession().getAttribute("userId") != null) { |
|
31 |
%> |
|
32 |
<div class=small-message> |
|
33 |
<a href="<%= request.getContextPath() %>/admin?configureType=login">log in as different user</a> | |
|
34 |
<a href="<%= request.getContextPath() %>/docs/user/index.html" target="_blank">view metacat user documentation</a> |
|
35 |
</div> |
|
36 |
<% |
|
37 |
} else { |
|
38 |
%> |
|
39 |
<div class=small-message> |
|
40 |
<a href="<%= request.getContextPath() %>/admin?configureType=login">log in as different user</a> | |
|
41 |
<a href="<%= request.getContextPath() %>/docs/user/index.html" target="_blank">view metacat user documentation</a> |
|
42 |
</div> |
|
43 |
<% |
|
44 |
} |
|
45 |
%> |
|
46 |
|
|
47 |
<hr class="config-line"> |
|
0 | 48 |
lib/admin/skins-configuration.jsp | ||
---|---|---|
44 | 44 |
|
45 | 45 |
</head> |
46 | 46 |
<body> |
47 |
<%@ include file="./header-section.jsp"%> |
|
48 |
|
|
47 | 49 |
<img src="<%= request.getContextPath() %>/metacat-logo.png" width="100px" align="right"/> |
48 | 50 |
<h2>Skins Configuration</h2> |
49 | 51 |
|
... | ... | |
58 | 60 |
<h3>Skins Configuration</h3> |
59 | 61 |
<hr class="config-line"> |
60 | 62 |
<div class="heading-comment"> |
61 |
Choose and configure the skins that will be available in this instance of MetaCat
|
|
63 |
Choose and configure the skins that will be available in this instance of Metacat
|
|
62 | 64 |
</div><br> |
63 | 65 |
|
64 | 66 |
<% |
... | ... | |
223 | 225 |
|
224 | 226 |
</form> |
225 | 227 |
|
228 |
<%@ include file="./footer-section.jsp"%> |
|
229 |
|
|
226 | 230 |
</body> |
227 | 231 |
</html> |
lib/admin/admin-login.jsp | ||
---|---|---|
53 | 53 |
<br> |
54 | 54 |
|
55 | 55 |
<form name="loginform" method="post" action="<%= request.getContextPath() %>/admin" |
56 |
target="_top" onsubmit="return submitform(this);" id="loginform">
|
|
56 |
target="_top" onsubmit="return validateAndSubmitForm(this);" id="loginform">
|
|
57 | 57 |
|
58 | 58 |
<table class="admin-login"> |
59 | 59 |
<tr> |
lib/admin/footer-section.jsp | ||
---|---|---|
1 |
<%@ page language="java"%> |
|
2 |
<% |
|
3 |
/** |
|
4 |
* '$RCSfile$' |
|
5 |
* Copyright: 2008 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$' |
|
10 |
* '$Date$' |
|
11 |
* '$Revision$' |
|
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 |
|
|
29 |
<hr class="config-line"> |
|
30 |
|
|
31 |
<% |
|
32 |
if( request.getSession().getAttribute("userId") != null) { |
|
33 |
%> |
|
34 |
<div class=small-message> |
|
35 |
<p>You are logged in as: <%= request.getSession().getAttribute("userId") %></p> |
|
36 |
<a href="<%= request.getContextPath() %>/admin?configureType=login">log in as different user</a> | |
|
37 |
<a href="<%= request.getContextPath() %>/docs/user/index.html" target="_blank">view metacat user documentation</a> |
|
38 |
</div> |
|
39 |
<% |
|
40 |
} else { |
|
41 |
%> |
|
42 |
<div class=small-message> |
|
43 |
<p>You are not logged in. %></p> |
|
44 |
<a href="<%= request.getContextPath() %>/admin?configureType=login">log in as different user</a> | |
|
45 |
<a href="<%= request.getContextPath() %>/docs/user/index.html" target="_blank">view metacat user documentation</a> |
|
46 |
</div> |
|
47 |
<% |
|
48 |
} |
|
49 |
%> |
|
0 | 50 |
lib/admin/properties-configuration.jsp | ||
---|---|---|
38 | 38 |
|
39 | 39 |
</head> |
40 | 40 |
<body> |
41 |
<%@ include file="./header-section.jsp"%> |
|
42 |
|
|
41 | 43 |
<img src="<%= request.getContextPath() %>/metacat-logo.png" width="100px" align="right"/> |
42 |
<h2>MetaCat Properties Configuration</h2>
|
|
44 |
<h2>Metacat Properties Configuration</h2>
|
|
43 | 45 |
|
44 |
<p>Enter MetaCat System properties here. All Fields must be filled in before saving.
|
|
46 |
<p>Enter Metacat System properties here. All Fields must be filled in before saving.
|
|
45 | 47 |
</p> |
46 | 48 |
<br clear="right"/> |
47 | 49 |
|
... | ... | |
143 | 145 |
|
144 | 146 |
</form> |
145 | 147 |
|
148 |
<%@ include file="./footer-section.jsp"%> |
|
149 |
|
|
146 | 150 |
</body> |
147 | 151 |
</html> |
lib/admin/metacat-configuration.jsp | ||
---|---|---|
50 | 50 |
</head> |
51 | 51 |
|
52 | 52 |
<body> |
53 |
<%@ include file="./header-section.jsp"%> |
|
53 | 54 |
<img src="<%= request.getContextPath() %>/metacat-logo.png" width="100px" align="right"/> |
54 |
<h2>MetaCat Configuration</h2>
|
|
55 |
<h2>Metacat Configuration</h2>
|
|
55 | 56 |
|
56 | 57 |
All of the following sections must be in a configured state for Metacat to run properly: |
57 | 58 |
<br class="main-header"> |
... | ... | |
231 | 232 |
} |
232 | 233 |
%> |
233 | 234 |
|
234 |
<hr class="config-line"> |
|
235 |
<%@ include file="./login-footer-section.jsp"%> |
|
235 |
<%@ include file="./footer-section.jsp"%> |
|
236 | 236 |
|
237 | 237 |
</body> |
238 | 238 |
</html> |
Also available in: Unified diff
Added header and footer sections that allow admin to log in as different user and to see user documentation.