1 |
9513
|
tao
|
<%@ page language="java" %>
|
2 |
9498
|
tao
|
<%@ 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>EZID for DOI Configuration</title>
|
35 |
|
|
<%@ include file="./head-section.jsp"%>
|
36 |
|
|
</head>
|
37 |
|
|
<body>
|
38 |
|
|
<%@ include file="./header-section.jsp"%>
|
39 |
|
|
|
40 |
|
|
<div class="document">
|
41 |
|
|
<h2>EZID for DOI Configuration</h2>
|
42 |
|
|
|
43 |
|
|
<p>
|
44 |
|
|
Configure the EZID service to generate and assign Digital Object Identifiers (DOIs) to objects
|
45 |
|
|
</p>
|
46 |
|
|
<!-- MCD TODO add geoserver instructions page -->
|
47 |
|
|
<br clear="right"/>
|
48 |
|
|
|
49 |
|
|
<%@ include file="page-message-section.jsp"%>
|
50 |
|
|
|
51 |
|
|
<form method="POST" name="configuration_form" action="<%= request.getContextPath() %>/admin"
|
52 |
|
|
onsubmit="return submitForm(this);">
|
53 |
|
|
|
54 |
|
|
<h3>EZID Service Configuration</h3>
|
55 |
|
|
<div class="form-row">
|
56 |
|
|
<div class="textinput-label"><label for="guid.ezid.enabled" title="Enable EZID service">Enable EZID service</label></div>
|
57 |
|
|
|
58 |
|
|
<%
|
59 |
|
|
boolean enable = (Boolean) request.getAttribute("guid.ezid.enabled");
|
60 |
|
|
if (enable) {
|
61 |
|
|
%>
|
62 |
|
|
<input type="checkbox" class="textinput" id="guid.ezid.enabled"
|
63 |
|
|
name="guid.ezid.enabled"
|
64 |
|
|
value="true"
|
65 |
|
|
checked="checked"/>
|
66 |
|
|
<% } else {%>
|
67 |
|
|
<input type="checkbox" class="textinput" id="guid.ezid.enabled"
|
68 |
|
|
name="guid.ezid.enabled"
|
69 |
|
|
value="true"/>
|
70 |
|
|
<% } %>
|
71 |
9510
|
tao
|
<i class="icon-question-sign" onClick="helpWindow('<%= request.getContextPath() %>','docs/metacat-properties.html#guid-ezid-enabled')"></i>
|
72 |
9498
|
tao
|
</div>
|
73 |
|
|
<div class="form-row">
|
74 |
|
|
<div class="textinput-label"><label for="guid.ezid.username" title="EZID user name">User Name</label></div>
|
75 |
|
|
<input class="textinput" id="guid.ezid.username"
|
76 |
|
|
name="guid.ezid.username"
|
77 |
|
|
value="<%= request.getAttribute("guid.ezid.username") %>"/>
|
78 |
9510
|
tao
|
<i class="icon-question-sign" onClick="helpWindow('<%= request.getContextPath() %>','docs/metacat-properties.html#guid-ezid-username')"></i>
|
79 |
9498
|
tao
|
</div>
|
80 |
|
|
<div class="form-row">
|
81 |
|
|
<div class="textinput-label"><label for="guid.ezid.password" title="Password">Password</label></div>
|
82 |
|
|
<input class="textinput" id="guid.ezid.password"
|
83 |
|
|
name="guid.ezid.password"
|
84 |
|
|
type="password"
|
85 |
|
|
value="<%= request.getAttribute("guid.ezid.password") %>"/>
|
86 |
9510
|
tao
|
<i class="icon-question-sign" onClick="helpWindow('<%= request.getContextPath() %>','docs/metacat-properties.html#guid-ezid-password')"></i>
|
87 |
9498
|
tao
|
</div>
|
88 |
|
|
<div class="form-row">
|
89 |
9502
|
tao
|
<div class="textinput-label"><label for="guid.ezid.baseurl" title="EZID Service URL">Service Base URL</label></div>
|
90 |
9498
|
tao
|
<input class="textinput" id="guid.ezid.baseurl"
|
91 |
|
|
name="guid.ezid.baseurl"
|
92 |
|
|
value="<%= request.getAttribute("guid.ezid.baseurl") %>"/>
|
93 |
9510
|
tao
|
<i class="icon-question-sign" onClick="helpWindow('<%= request.getContextPath() %>','docs/metacat-properties.html#guid-ezid-baseurl')"></i>
|
94 |
9498
|
tao
|
</div>
|
95 |
|
|
<div class="form-row">
|
96 |
9502
|
tao
|
<div class="textinput-label"><label for="guid.ezid.doishoulder.1" title="DOI shoulder">DOI Shoulder</label></div>
|
97 |
9498
|
tao
|
<input class="textinput" id="guid.ezid.doishoulder.1"
|
98 |
|
|
name="guid.ezid.doishoulder.1"
|
99 |
|
|
value="<%= request.getAttribute("guid.ezid.doishoulder.1") %>"/>
|
100 |
9510
|
tao
|
<i class="icon-question-sign" onClick="helpWindow('<%= request.getContextPath() %>','docs/metacat-properties.html#guid-ezid-doishoulder-1')"></i>
|
101 |
9498
|
tao
|
</div>
|
102 |
|
|
|
103 |
|
|
|
104 |
|
|
<div class="buttons-wrapper">
|
105 |
|
|
<input type="hidden" name="configureType" value="ezid"/>
|
106 |
|
|
<input type="hidden" name="processForm" value="true"/>
|
107 |
|
|
<input class=button type="submit" value="Update"/>
|
108 |
9513
|
tao
|
<!--<input class=button type="button" value="Bypass" onClick="forward('./admin?configureType=ezid&bypass=true&processForm=true')"> -->
|
109 |
9498
|
tao
|
<input class=button type="button" value="Cancel" onClick="forward('./admin')">
|
110 |
|
|
</div>
|
111 |
|
|
</form>
|
112 |
|
|
</div>
|
113 |
|
|
|
114 |
|
|
<%@ include file="./footer-section.jsp"%>
|
115 |
|
|
|
116 |
|
|
</body>
|
117 |
|
|
</html>
|