mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-07 01:54:22 +00:00
Restyling authorize and metadata registry/field/format jsp
This commit is contained in:
@@ -53,86 +53,76 @@
|
||||
parentlink="/dspace-admin"
|
||||
parenttitlekey="jsp.administer">
|
||||
|
||||
<h1><fmt:message key="jsp.dspace-admin.authorize-advanced.advanced"/></h1>
|
||||
<h1><fmt:message key="jsp.dspace-admin.authorize-advanced.advanced"/>
|
||||
<dspace:popup page="<%= LocaleSupport.getLocalizedMessage(pageContext, \"help.site-admin\") +\"#advancedpolicies\"%>"><fmt:message key="jsp.morehelp"/></dspace:popup>
|
||||
</h1>
|
||||
|
||||
<%-- <p>Allows you to do wildcard additions to and clearing
|
||||
of policies for types of content contained in a collection.
|
||||
Warning, dangerous - removing READ permissions from
|
||||
items will make them not viewable! <dspace:popup page="/help/site-admin.html#advancedpolicies">More help...</dspace:popup></p> --%>
|
||||
<div><fmt:message key="jsp.dspace-admin.authorize-advanced.text"/> <dspace:popup page="<%= LocaleSupport.getLocalizedMessage(pageContext, \"help.site-admin\") +\"#advancedpolicies\"%>"><fmt:message key="jsp.morehelp"/></dspace:popup></div>
|
||||
<div class="alert alert-info"><fmt:message key="jsp.dspace-admin.authorize-advanced.text"/></div>
|
||||
|
||||
<form method="post" action="">
|
||||
|
||||
<table class="miscTable" align="center" summary="Advanced policy manager">
|
||||
<tr>
|
||||
<%-- <td>Collection:</td> --%>
|
||||
<th id="t1"><label for ="tcollection"><fmt:message key="jsp.dspace-admin.authorize-advanced.col"/></label></th>
|
||||
<td headers="t1">
|
||||
<select size="10" name="collection_id" id="tcollection">
|
||||
<div class="input-group">
|
||||
<span class="col-md-2"><label for="tcollection"><fmt:message key="jsp.dspace-admin.authorize-advanced.col"/></label></span>
|
||||
<span class="col-md-10">
|
||||
<select class="form-control" size="10" name="collection_id" id="tcollection">
|
||||
<% for(int i = 0; i < collections.length; i++ ) { %>
|
||||
<option value="<%= collections[i].getID() %>"> <%= collections[i].getMetadata("name")%>
|
||||
</option>
|
||||
<% } %>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</span>
|
||||
|
||||
<tr>
|
||||
<%-- <td>Content Type:</td> --%>
|
||||
<th id="t2"><label for="tresource_type"><fmt:message key="jsp.dspace-admin.authorize-advanced.type"/></label></th>
|
||||
<td headers="t2">
|
||||
<select name="resource_type" id="tresource_type">
|
||||
<span class="col-md-2"><label for="tresource_type"><fmt:message key="jsp.dspace-admin.authorize-advanced.type"/></label></span>
|
||||
<span class="col-md-10">
|
||||
<select class="form-control" name="resource_type" id="tresource_type">
|
||||
<%-- <option value="<%=Constants.ITEM%>">item</option>
|
||||
<option value="<%=Constants.BITSTREAM%>">bitstream</option> --%>
|
||||
<option value="<%=Constants.ITEM%>"><fmt:message key="jsp.dspace-admin.authorize-advanced.type1"/></option>
|
||||
<option value="<%=Constants.BITSTREAM%>"><fmt:message key="jsp.dspace-admin.authorize-advanced.type2"/></option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</span>
|
||||
|
||||
<tr>
|
||||
<%-- <td>Group:</td> --%>
|
||||
<th id="t3"><fmt:message key="jsp.dspace-admin.general.group-colon"/></th>
|
||||
<td headers="t3">
|
||||
<select size="10" name="group_id" id="tgroup_id">
|
||||
<span class="col-md-2">
|
||||
<label for="tgroup_id"><fmt:message key="jsp.dspace-admin.general.group-colon"/></label>
|
||||
</span>
|
||||
<span class="col-md-10">
|
||||
<select class="form-control" size="10" name="group_id" id="tgroup_id">
|
||||
<% for(int i = 0; i < groups.length; i++ ) { %>
|
||||
<option value="<%= groups[i].getID() %>"> <%= groups[i].getName()%>
|
||||
</option>
|
||||
<% } %>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</span>
|
||||
|
||||
<tr>
|
||||
<span class="col-md-2">
|
||||
<%-- <tr><td>Action:</td> --%>
|
||||
<th id="t4"><label for="taction_id"><fmt:message key="jsp.dspace-admin.general.action-colon"/></label></th>
|
||||
<td headers="t4">
|
||||
<select name="action_id" id="taction_id">
|
||||
<label for="taction_id"><fmt:message key="jsp.dspace-admin.general.action-colon"/></label>
|
||||
</span>
|
||||
<span class="col-md-10">
|
||||
<select class="form-control" name="action_id" id="taction_id">
|
||||
<% for( int i = 0; i < Constants.actionText.length; i++ ) { %>
|
||||
<option value="<%= i %>">
|
||||
<%= Constants.actionText[i]%>
|
||||
</option>
|
||||
<% } %>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</span>
|
||||
</div>
|
||||
|
||||
</table>
|
||||
|
||||
<center>
|
||||
<table width="70%">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<br/>
|
||||
<div class="btn-group">
|
||||
<%-- <input type="submit" name="submit_advanced_add" value="Add Policy"> --%>
|
||||
<input type="submit" name="submit_advanced_add" value="<fmt:message key="jsp.dspace-admin.authorize-advanced.add"/>" />
|
||||
</td>
|
||||
<td align="right">
|
||||
<input class="btn btn-primary" type="submit" name="submit_advanced_add" value="<fmt:message key="jsp.dspace-admin.authorize-advanced.add"/>" />
|
||||
<%-- <input type="submit" name="submit_advanced_clear" value="Clear Policies"> (warning: clears all policies for a given set of objects) --%>
|
||||
<input type="submit" name="submit_advanced_clear" value="<fmt:message key="jsp.dspace-admin.authorize-advanced.clear"/>" /></td> <td><fmt:message key="jsp.dspace-admin.authorize-advanced.warning"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
<input class="btn btn-danger" type="submit" name="submit_advanced_clear" value="<fmt:message key="jsp.dspace-admin.authorize-advanced.clear"/>" /><span class="alert alert-warning"><fmt:message key="jsp.dspace-admin.authorize-advanced.warning"/></span>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
</dspace:layout>
|
||||
|
@@ -76,32 +76,26 @@
|
||||
parentlink="/dspace-admin"
|
||||
nocache="true">
|
||||
|
||||
<table width="95%">
|
||||
<tr>
|
||||
<td align="left">
|
||||
|
||||
<h1><fmt:message key="jsp.dspace-admin.authorize-item-edit.policies">
|
||||
<fmt:param><%= item.getHandle() %></fmt:param>
|
||||
<fmt:param><%= item.getID() %></fmt:param>
|
||||
</fmt:message></h1>
|
||||
</td>
|
||||
<td align="right" class="standard">
|
||||
</fmt:message>
|
||||
<dspace:popup page="<%= LocaleSupport.getLocalizedMessage(pageContext, \"help.site-admin\") + \"#itempolicies\"%>"><fmt:message key="jsp.help"/></dspace:popup>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</h1>
|
||||
|
||||
<p><fmt:message key="jsp.dspace-admin.authorize-item-edit.text1"/></p>
|
||||
<p><fmt:message key="jsp.dspace-admin.authorize-item-edit.text2"/></p>
|
||||
<p class="alert alert-info"><fmt:message key="jsp.dspace-admin.authorize-item-edit.text1"/></p>
|
||||
<p class="alert alert-info"><fmt:message key="jsp.dspace-admin.authorize-item-edit.text2"/></p>
|
||||
|
||||
<h3><fmt:message key="jsp.dspace-admin.authorize-item-edit.item"/></h3>
|
||||
<form method="post" action="">
|
||||
<p align="center">
|
||||
<div class="row col-md-offset-5">
|
||||
<input type="hidden" name="item_id" value="<%=item.getID()%>" />
|
||||
<input type="submit" name="submit_item_add_policy" value="<fmt:message key="jsp.dspace-admin.general.addpolicy"/>" />
|
||||
</p>
|
||||
<input class="btn btn-success" type="submit" name="submit_item_add_policy" value="<fmt:message key="jsp.dspace-admin.general.addpolicy"/>" />
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<table class="miscTable" align="center" summary="Item Policy Edit Form">
|
||||
<table class="table" summary="Item Policy Edit Form">
|
||||
<tr>
|
||||
<th class="oddRowOddCol"><strong><fmt:message key="jsp.general.id" /></strong></th>
|
||||
<th class="oddRowEvenCol"><strong><fmt:message key="jsp.dspace-admin.general.action"/></strong></th>
|
||||
@@ -129,8 +123,8 @@
|
||||
<form method="post" action="">
|
||||
<input type="hidden" name="policy_id" value="<%= rp.getID() %>" />
|
||||
<input type="hidden" name="item_id" value="<%= item.getID() %>" />
|
||||
<input type="submit" name="submit_item_edit_policy" value="<fmt:message key="jsp.dspace-admin.general.edit"/>" />
|
||||
<input type="submit" name="submit_item_delete_policy" value="<fmt:message key="jsp.dspace-admin.general.delete"/>" />
|
||||
<input class="btn btn-primary" type="submit" name="submit_item_edit_policy" value="<fmt:message key="jsp.dspace-admin.general.edit"/>" />
|
||||
<input class="btn btn-danger" type="submit" name="submit_item_delete_policy" value="<fmt:message key="jsp.dspace-admin.general.delete"/>" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -155,14 +149,14 @@
|
||||
</fmt:message></h3>
|
||||
|
||||
<form method="post" action="">
|
||||
<p align="center">
|
||||
<div class="row col-md-offset-5">
|
||||
<input type="hidden" name="item_id" value="<%=item.getID()%>" />
|
||||
<input type="hidden" name="bundle_id" value="<%=myBun.getID()%>" />
|
||||
<input type="submit" name="submit_bundle_add_policy" value="<fmt:message key="jsp.dspace-admin.general.addpolicy"/>" />
|
||||
</p>
|
||||
<input class="btn btn-success" type="submit" name="submit_bundle_add_policy" value="<fmt:message key="jsp.dspace-admin.general.addpolicy"/>" />
|
||||
</div>
|
||||
</form>
|
||||
|
||||
<table class="miscTable" align="center" summary="Bundle Policy Edit Form">
|
||||
<table class="table" summary="Bundle Policy Edit Form">
|
||||
<tr>
|
||||
<th class="oddRowOddCol"><strong><fmt:message key="jsp.general.id" /></strong></th>
|
||||
<th class="oddRowEvenCol"><strong><fmt:message key="jsp.dspace-admin.general.action"/></strong></th>
|
||||
@@ -192,8 +186,8 @@
|
||||
<input type="hidden" name="policy_id" value="<%= rp.getID() %>" />
|
||||
<input type="hidden" name="item_id" value="<%= item.getID() %>" />
|
||||
<input type="hidden" name="bundle_id" value="<%= myBun.getID() %>" />
|
||||
<input type="submit" name="submit_item_edit_policy" value="<fmt:message key="jsp.dspace-admin.general.edit"/>" />
|
||||
<input type="submit" name="submit_item_delete_policy" value="<fmt:message key="jsp.dspace-admin.general.delete"/>" />
|
||||
<input class="btn btn-primary" type="submit" name="submit_item_edit_policy" value="<fmt:message key="jsp.dspace-admin.general.edit"/>" />
|
||||
<input class="btn btn-danger" type="submit" name="submit_item_delete_policy" value="<fmt:message key="jsp.dspace-admin.general.delete"/>" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -220,13 +214,13 @@
|
||||
<fmt:param><%=myBits.getName()%></fmt:param>
|
||||
</fmt:message></p>
|
||||
<form method="post" action="">
|
||||
<p align="center">
|
||||
<div class="row col-md-offset-5">
|
||||
<input type="hidden" name="item_id"value="<%=item.getID()%>" />
|
||||
<input type="hidden" name="bitstream_id" value="<%=myBits.getID()%>" />
|
||||
<input type="submit" name="submit_bitstream_add_policy" value="<fmt:message key="jsp.dspace-admin.general.addpolicy"/>" />
|
||||
</p>
|
||||
<input class="btn btn-success" type="submit" name="submit_bitstream_add_policy" value="<fmt:message key="jsp.dspace-admin.general.addpolicy"/>" />
|
||||
</div>
|
||||
</form>
|
||||
<table class="miscTable" align="center" summary="This table displays the bitstream data">
|
||||
<table class="table" summary="This table displays the bitstream data">
|
||||
<tr>
|
||||
<th class="oddRowOddCol"><strong><fmt:message key="jsp.general.id" /></strong></th>
|
||||
<th class="oddRowEvenCol"><strong><fmt:message key="jsp.dspace-admin.general.action"/></strong></th>
|
||||
@@ -256,8 +250,8 @@
|
||||
<input type="hidden" name="policy_id" value="<%= rp.getID() %>" />
|
||||
<input type="hidden" name="item_id" value="<%= item.getID() %>" />
|
||||
<input type="hidden" name="bitstream_id" value="<%= myBits.getID() %>" />
|
||||
<input type="submit" name="submit_item_edit_policy" value="<fmt:message key="jsp.dspace-admin.general.edit"/>" />
|
||||
<input type="submit" name="submit_item_delete_policy" value="<fmt:message key="jsp.dspace-admin.general.delete"/>" />
|
||||
<input class="btn btn-primary" type="submit" name="submit_item_edit_policy" value="<fmt:message key="jsp.dspace-admin.general.edit"/>" />
|
||||
<input class="btn btn-danger" type="submit" name="submit_item_delete_policy" value="<fmt:message key="jsp.dspace-admin.general.delete"/>" />
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
@@ -71,43 +71,39 @@
|
||||
parenttitlekey="jsp.administer"
|
||||
parentlink="/dspace-admin"
|
||||
nocache="true">
|
||||
<table width="95%">
|
||||
<tr>
|
||||
<td align="left">
|
||||
|
||||
<%-- <h1>Edit Policy for <%= edit_title %>:</h1> --%>
|
||||
<h1><fmt:message key="jsp.dspace-admin.authorize-policy-edit.heading">
|
||||
<fmt:param><%= edit_title %></fmt:param>
|
||||
</fmt:message></h1>
|
||||
</td>
|
||||
<td align="right" class="standard">
|
||||
</fmt:message>
|
||||
<dspace:popup page="<%= LocaleSupport.getLocalizedMessage(pageContext, \"help.site-admin\") + \"#authorize\"%>"><fmt:message key="jsp.help"/></dspace:popup>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</h1>
|
||||
|
||||
<form action="<%= request.getContextPath() %>/tools/authorize" method="post">
|
||||
|
||||
<table class="miscTable" align="center" summary="Edit Policy Form">
|
||||
<tr>
|
||||
<div class="input-group">
|
||||
<span class="col-md-2">
|
||||
<%-- <td>Group:</td> --%>
|
||||
<th id="t1"><label for="tgroup_id"><fmt:message key="jsp.dspace-admin.general.group-colon"/></label></th>
|
||||
<td headers="t1">
|
||||
<select size="15" name="group_id" id="tgroup_id">
|
||||
<label for="tgroup_id"><fmt:message key="jsp.dspace-admin.general.group-colon"/></label>
|
||||
</span>
|
||||
<span class="col-md-10">
|
||||
<select class="form-control" size="15" name="group_id" id="tgroup_id">
|
||||
<% for(int i = 0; i < groups.length; i++ ) { %>
|
||||
<option value="<%= groups[i].getID() %>" <%= (groups[i].getID() == policy.getGroupID() ? "selected=\"selected\"" : "" ) %> >
|
||||
<%= groups[i].getName()%>
|
||||
</option>
|
||||
<% } %>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</span>
|
||||
|
||||
<%-- <tr><td>Action:</td> --%>
|
||||
<tr>
|
||||
<th id="t2"><label for="taction_id"><fmt:message key="jsp.dspace-admin.general.action-colon"/></label></th>
|
||||
<td headers="t2">
|
||||
<span class="col-md-2">
|
||||
<label for="taction_id"><fmt:message key="jsp.dspace-admin.general.action-colon"/></label>
|
||||
</span>
|
||||
<span class="col-md-10">
|
||||
<input type="hidden" name="<%=id_name%>" value="<%=id%>" />
|
||||
<input type="hidden" name="policy_id" value="<%=policy.getID()%>" />
|
||||
<select name="action_id" id="taction_id">
|
||||
<select class="form-control" name="action_id" id="taction_id">
|
||||
<% for( int i = 0; i < Constants.actionText.length; i++ )
|
||||
{
|
||||
// only display if action i is relevant
|
||||
@@ -121,26 +117,16 @@
|
||||
<% }
|
||||
} %>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</span>
|
||||
</div>
|
||||
<% if( newpolicy != null ) { %> <input name="newpolicy" type="hidden" value="<%=newpolicy%>"/> <% } %>
|
||||
|
||||
<center>
|
||||
<table width="70%">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<div class="btn-group pull-right col-md-2">
|
||||
<%-- <input type="submit" name="submit_save_policy" value="Save Policy"> --%>
|
||||
<input type="submit" name="submit_save_policy" value="<fmt:message key="jsp.dspace-admin.general.save"/>" />
|
||||
</td>
|
||||
<td align="right">
|
||||
<%-- <input type="submit" name="submit_cancel_policy" value="Cancel"> --%>
|
||||
<input type="submit" name="submit_cancel_policy" value="<fmt:message key="jsp.dspace-admin.general.cancel"/>" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
<input class="btn btn-primary" type="submit" name="submit_save_policy" value="<fmt:message key="jsp.dspace-admin.general.save"/>" />
|
||||
|
||||
<%-- <input type="submit" name="submit_cancel_policy" value="Cancel"> --%>
|
||||
<input class="btn btn-default" type="submit" name="submit_cancel_policy" value="<fmt:message key="jsp.dspace-admin.general.cancel"/>" />
|
||||
</div>
|
||||
</form>
|
||||
</dspace:layout>
|
||||
|
@@ -27,7 +27,7 @@
|
||||
BitstreamFormat format = (BitstreamFormat) request.getAttribute("format");
|
||||
%>
|
||||
|
||||
<dspace:layout titlekey="jsp.dspace-admin.confirm-delete-format.title"
|
||||
<dspace:layout style="submission" titlekey="jsp.dspace-admin.confirm-delete-format.title"
|
||||
navbar="admin"
|
||||
locbar="link"
|
||||
parenttitlekey="jsp.administer"
|
||||
@@ -40,30 +40,22 @@
|
||||
|
||||
<%-- <p>Are you sure the format <strong><%= format.getShortDescription() %></strong>
|
||||
should be deleted?</p> --%>
|
||||
<p><fmt:message key="jsp.dspace-admin.confirm-delete-format.confirm">
|
||||
<p class="alert alert-info"><fmt:message key="jsp.dspace-admin.confirm-delete-format.confirm">
|
||||
<fmt:param><%= format.getShortDescription() %></fmt:param>
|
||||
</fmt:message></p>
|
||||
|
||||
<%-- <p>Any existing bitstreams of this format will be reverted to the
|
||||
<em>unknown</em> bitstream format.</p> --%>
|
||||
<p><fmt:message key="jsp.dspace-admin.confirm-delete-format.warning"/></p>
|
||||
<p class="alert alert-warning"><fmt:message key="jsp.dspace-admin.confirm-delete-format.warning"/></p>
|
||||
|
||||
<form method="post" action="">
|
||||
<input type="hidden" name="format_id" value="<%= format.getID() %>"/>
|
||||
|
||||
<center>
|
||||
<table width="70%">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<div class="btn-group">
|
||||
<%-- <input type="submit" name="submit_confirm_delete" value="Delete"> --%>
|
||||
<input type="submit" name="submit_confirm_delete" value="<fmt:message key="jsp.dspace-admin.general.delete"/>" />
|
||||
</td>
|
||||
<td align="right">
|
||||
<input class="btn btn-danger" type="submit" name="submit_confirm_delete" value="<fmt:message key="jsp.dspace-admin.general.delete"/>" />
|
||||
|
||||
<%-- <input type="submit" name="submit_cancel" value="Cancel"> --%>
|
||||
<input type="submit" name="submit_cancel" value="<fmt:message key="jsp.dspace-admin.general.cancel"/>" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
<input class="btn btn-default" type="submit" name="submit_cancel" value="<fmt:message key="jsp.dspace-admin.general.cancel"/>" />
|
||||
</div>
|
||||
</form>
|
||||
</dspace:layout>
|
||||
|
@@ -36,7 +36,7 @@
|
||||
}
|
||||
%>
|
||||
|
||||
<dspace:layout titlekey="jsp.dspace-admin.confirm-delete-mdfield.title"
|
||||
<dspace:layout style="submission" titlekey="jsp.dspace-admin.confirm-delete-mdfield.title"
|
||||
navbar="admin"
|
||||
locbar="link"
|
||||
parenttitlekey="jsp.administer"
|
||||
@@ -49,32 +49,26 @@
|
||||
|
||||
<%-- <P>Are you sure the metadata field <strong><%= typeName %></strong>
|
||||
should be deleted?</p> --%>
|
||||
<p><fmt:message key="jsp.dspace-admin.confirm-delete-mdfield.confirm">
|
||||
<p class="alert alert-info"><fmt:message key="jsp.dspace-admin.confirm-delete-mdfield.confirm">
|
||||
<fmt:param><%= typeName %></fmt:param>
|
||||
</fmt:message></p>
|
||||
|
||||
<%
|
||||
if (!failed) { %>
|
||||
<%-- <P>This will result in an error if any items have values for this metadata field.</P> --%>
|
||||
<p><fmt:message key="jsp.dspace-admin.confirm-delete-mdfield.warning"/></p>
|
||||
<p class="alert alert-warning"><fmt:message key="jsp.dspace-admin.confirm-delete-mdfield.warning"/></p>
|
||||
<form method="post" action="">
|
||||
<input type="hidden" name="dc_type_id" value="<%= type.getFieldID() %>">
|
||||
<center>
|
||||
<table width="70%">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<div class="btn-group">
|
||||
<%-- <input type="submit" name="submit_confirm_delete" value="Delete"> --%>
|
||||
<input type="submit" name="submit_confirm_delete" value="<fmt:message key="jsp.dspace-admin.general.delete"/>" />
|
||||
<input class="btn btn-danger" type="submit" name="submit_confirm_delete" value="<fmt:message key="jsp.dspace-admin.general.delete"/>" />
|
||||
<%-- <input type="submit" name="submit_cancel" value="Cancel"> --%>
|
||||
<input type="submit" name="submit_cancel" value="<fmt:message key="jsp.dspace-admin.general.cancel"/>" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
<input class="btn btn-default" type="submit" name="submit_cancel" value="<fmt:message key="jsp.dspace-admin.general.cancel"/>" />
|
||||
</div>
|
||||
</form><%
|
||||
} else {%>
|
||||
<%-- <P>Unable to delete this metadata field. This is most likely to be because it is referenced by at least one item.</P> --%>
|
||||
<p><strong><fmt:message key="jsp.dspace-admin.confirm-delete-mdfield.failed"/></strong></p><%
|
||||
<p class="alert alert-danger"><fmt:message key="jsp.dspace-admin.confirm-delete-mdfield.failed"/></p><%
|
||||
}
|
||||
%>
|
||||
|
||||
|
@@ -27,7 +27,7 @@
|
||||
MetadataSchema schema = (MetadataSchema) request.getAttribute("schema");
|
||||
%>
|
||||
|
||||
<dspace:layout titlekey="jsp.dspace-admin.confirm-delete-dcschema.title"
|
||||
<dspace:layout style="submission" titlekey="jsp.dspace-admin.confirm-delete-dcschema.title"
|
||||
navbar="admin"
|
||||
locbar="link"
|
||||
parenttitlekey="jsp.administer"
|
||||
@@ -40,27 +40,20 @@
|
||||
|
||||
<%-- <P>Are you sure the schema <strong><%= schema.getNamespace() %></strong>
|
||||
should be deleted?</P> --%>
|
||||
<P><fmt:message key="jsp.dspace-admin.confirm-delete-mdschema.confirm">
|
||||
<p class="alert alert-info"><fmt:message key="jsp.dspace-admin.confirm-delete-mdschema.confirm">
|
||||
<fmt:param><%= schema.getName() %></fmt:param>
|
||||
</fmt:message></P>
|
||||
|
||||
<%-- <P>This will result in an error if any metadata fields exist within this schema.</P> --%>
|
||||
<P><fmt:message key="jsp.dspace-admin.confirm-delete-mdschema.warning"/></P>
|
||||
<p class="alert alert-warning"><fmt:message key="jsp.dspace-admin.confirm-delete-mdschema.warning"/></p>
|
||||
|
||||
<form method="post">
|
||||
<input type="hidden" name="dc_schema_id" value="<%= schema.getSchemaID() %>">
|
||||
|
||||
<center>
|
||||
<table width="70%">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<div class="btn-group">
|
||||
<%-- <input type="submit" name="submit_confirm_delete" value="Delete"> --%>
|
||||
<input type="submit" name="submit_confirm_delete" value="<fmt:message key="jsp.dspace-admin.general.delete"/>">
|
||||
<input class="btn btn-danger" type="submit" name="submit_confirm_delete" value="<fmt:message key="jsp.dspace-admin.general.delete"/>">
|
||||
<%-- <input type="submit" name="submit_cancel" value="Cancel"> --%>
|
||||
<input type="submit" name="submit_cancel" value="<fmt:message key="jsp.dspace-admin.general.cancel"/>">
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</center>
|
||||
<input class="btn btn-default" type="submit" name="submit_cancel" value="<fmt:message key="jsp.dspace-admin.general.cancel"/>">
|
||||
</div>
|
||||
</form>
|
||||
</dspace:layout>
|
||||
|
@@ -37,27 +37,28 @@
|
||||
(BitstreamFormat[]) request.getAttribute("formats");
|
||||
%>
|
||||
|
||||
<dspace:layout titlekey="jsp.dspace-admin.list-formats.title"
|
||||
<dspace:layout style="submission" titlekey="jsp.dspace-admin.list-formats.title"
|
||||
navbar="admin"
|
||||
locbar="link"
|
||||
parenttitlekey="jsp.administer"
|
||||
parentlink="/dspace-admin">
|
||||
|
||||
<h1><fmt:message key="jsp.dspace-admin.list-formats.title"/></h1>
|
||||
<h1><fmt:message key="jsp.dspace-admin.list-formats.title"/>
|
||||
<dspace:popup page="<%= LocaleSupport.getLocalizedMessage(pageContext, \"help.site-admin\") + \"#bitstream\"%>"><fmt:message key="jsp.help"/></dspace:popup>
|
||||
</h1>
|
||||
|
||||
<p><fmt:message key="jsp.dspace-admin.list-formats.text1"/></p>
|
||||
<p><fmt:message key="jsp.dspace-admin.list-formats.text2"/></p>
|
||||
|
||||
<dspace:popup page="<%= LocaleSupport.getLocalizedMessage(pageContext, \"help.site-admin\") + \"#bitstream\"%>"><fmt:message key="jsp.help"/></dspace:popup>
|
||||
<p class="alert alert-info"><fmt:message key="jsp.dspace-admin.list-formats.text1"/></p>
|
||||
<p class="alert alert-info"><fmt:message key="jsp.dspace-admin.list-formats.text2"/></p>
|
||||
|
||||
<%
|
||||
Context context = UIUtil.obtainContext(request);
|
||||
|
||||
%>
|
||||
|
||||
<table class="miscTable" align="center" summary="Bitstream Format Registry data table">
|
||||
<table class="table" summary="Bitstream Format Registry data table">
|
||||
<tr>
|
||||
<th class="oddRowOddCol">
|
||||
<span class="col-md-offset-3">
|
||||
<strong>
|
||||
<fmt:message key="jsp.general.id" />
|
||||
/ <fmt:message key="jsp.dspace-admin.list-formats.mime"/>
|
||||
@@ -67,6 +68,7 @@
|
||||
/ <fmt:message key="jsp.dspace-admin.list-formats.internal"/>
|
||||
/ <fmt:message key="jsp.dspace-admin.list-formats.extensions"/>
|
||||
</strong>
|
||||
</span>
|
||||
</th>
|
||||
</tr>
|
||||
<%
|
||||
@@ -88,53 +90,55 @@
|
||||
%>
|
||||
<tr>
|
||||
<td>
|
||||
<form method="post" action="">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="<%= row %>RowOddCol"><%= formats[i].getID() %></td>
|
||||
<td class="<%= row %>RowEvenCol">
|
||||
<input type="text" name="mimetype" value="<%= formats[i].getMIMEType() %>" size="14"/>
|
||||
</td>
|
||||
<td class="<%= row %>RowOddCol">
|
||||
<form class="form-inline" method="post" action="">
|
||||
|
||||
<span class="col-md-1"><%= formats[i].getID() %></span>
|
||||
<div class="form-group">
|
||||
<label class="sr-only" for="mimetype"><fmt:message key="jsp.dspace-admin.list-formats.mime"/></label>
|
||||
<input class="form-control" type="text" name="mimetype" value="<%= formats[i].getMIMEType()!=null?formats[i].getMIMEType():"" %>" size="14" placeholder="<fmt:message key="jsp.dspace-admin.list-formats.mime"/>"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="sr-only" for="short_description"><fmt:message key="jsp.dspace-admin.list-formats.name"/></label>
|
||||
<%
|
||||
if (BitstreamFormat.findUnknown(context).getID() == formats[i].getID()) {
|
||||
%>
|
||||
<i><%= formats[i].getShortDescription() %></i>
|
||||
<span class="form-control"><i><%= formats[i].getShortDescription() %></i></span>
|
||||
<% } else { %>
|
||||
<input type="text" name="short_description" value="<%= formats[i].getShortDescription() %>" size="10"/>
|
||||
<input class="form-control" type="text" name="short_description" value="<%= formats[i].getShortDescription()!=null?formats[i].getShortDescription():"" %>" size="10" placeholder="<fmt:message key="jsp.dspace-admin.list-formats.name"/>"/>
|
||||
<% } %>
|
||||
</td>
|
||||
<td class="<%= row %>RowEvenCol">
|
||||
<input type="text" name="description" value="<%= formats[i].getDescription() %>" size="20"/>
|
||||
</td>
|
||||
<td class="<%= row %>RowOddCol">
|
||||
<select name="support_level">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="sr-only" for="description"><fmt:message key="jsp.dspace-admin.list-formats.description"/></label>
|
||||
<input class="form-control" type="text" name="description" value="<%= formats[i].getDescription()!=null?formats[i].getDescription():"" %>" size="20" placeholder="<fmt:message key="jsp.dspace-admin.list-formats.description"/>"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<select class="form-control" name="support_level">
|
||||
<option value="0" <%= formats[i].getSupportLevel() == 0 ? "selected=\"selected\"" : "" %>><fmt:message key="jsp.dspace-admin.list-formats.unknown"/></option>
|
||||
<option value="1" <%= formats[i].getSupportLevel() == 1 ? "selected=\"selected\"" : "" %>><fmt:message key="jsp.dspace-admin.list-formats.known"/></option>
|
||||
<option value="2" <%= formats[i].getSupportLevel() == 2 ? "selected=\"selected\"" : "" %>><fmt:message key="jsp.dspace-admin.list-formats.supported"/></option>
|
||||
</select>
|
||||
</td>
|
||||
<td class="<%= row %>RowEvenCol" align="center">
|
||||
<input type="checkbox" name="internal" value="true"<%= formats[i].isInternal() ? " checked=\"checked\"" : "" %>/>
|
||||
</td>
|
||||
<td class="<%= row %>RowOddCol">
|
||||
<input type="text" name="extensions" value="<%= extValue %>" size="10"/>
|
||||
</td>
|
||||
<td class="<%= row %>RowEvenCol">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input class="form-control" type="checkbox" name="internal" value="true"<%= formats[i].isInternal() ? " checked=\"checked\"" : "" %>/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="sr-only" for="extensions"><fmt:message key="jsp.dspace-admin.list-formats.extensions"/></label>
|
||||
<input class="form-control" type="text" name="extensions" value="<%= extValue %>" size="10" placeholder="<fmt:message key="jsp.dspace-admin.list-formats.extensions"/>"/>
|
||||
</div>
|
||||
<div class="btn-group pull-right">
|
||||
<input type="hidden" name="format_id" value="<%= formats[i].getID() %>" />
|
||||
<input type="submit" name="submit_update" value="<fmt:message key="jsp.dspace-admin.general.update"/>"/>
|
||||
</td>
|
||||
<td class="<%= row %>RowOddCol">
|
||||
<input class="btn btn-primary" type="submit" name="submit_update" value="<fmt:message key="jsp.dspace-admin.general.update"/>"/>
|
||||
|
||||
<%
|
||||
if (BitstreamFormat.findUnknown(context).getID() != formats[i].getID()) {
|
||||
%>
|
||||
<input type="submit" name="submit_delete" value="<fmt:message key="jsp.dspace-admin.general.delete-w-confirm"/>" />
|
||||
<input class="btn btn-danger" type="submit" name="submit_delete" value="<fmt:message key="jsp.dspace-admin.general.delete-w-confirm"/>" />
|
||||
<%
|
||||
}
|
||||
%>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -146,8 +150,8 @@
|
||||
</table>
|
||||
|
||||
<form method="post" action="">
|
||||
<p align="center">
|
||||
<input type="submit" name="submit_add" value="<fmt:message key="jsp.dspace-admin.general.addnew"/>" />
|
||||
</p>
|
||||
|
||||
<input class="btn btn-success col-md-offset-5" type="submit" name="submit_add" value="<fmt:message key="jsp.dspace-admin.general.addnew"/>" />
|
||||
|
||||
</form>
|
||||
</dspace:layout>
|
||||
|
@@ -41,40 +41,37 @@
|
||||
(MetadataSchema[]) request.getAttribute("schemas");
|
||||
%>
|
||||
|
||||
<dspace:layout titlekey="jsp.dspace-admin.list-metadata-fields.title"
|
||||
<dspace:layout style="submission" titlekey="jsp.dspace-admin.list-metadata-fields.title"
|
||||
navbar="admin"
|
||||
locbar="link"
|
||||
parenttitlekey="jsp.administer"
|
||||
parentlink="/dspace-admin">
|
||||
|
||||
<table width="95%">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<h1><fmt:message key="jsp.dspace-admin.list-metadata-fields.title"/></h1>
|
||||
</td>
|
||||
<td align="right" class="standard">
|
||||
|
||||
<h1><fmt:message key="jsp.dspace-admin.list-metadata-fields.title"/>
|
||||
<a href="<%=request.getContextPath()%>/dspace-admin/metadata-schema-registry">
|
||||
<fmt:message key="jsp.dspace-admin.list-metadata-fields.schemas"/>
|
||||
</a> |
|
||||
<dspace:popup page="<%= LocaleSupport.getLocalizedMessage(pageContext, \"help.site-admin\") + \"#dublincore\"%>"><fmt:message key="jsp.help"/></dspace:popup>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</h1>
|
||||
|
||||
|
||||
|
||||
|
||||
<%
|
||||
String error = (String)request.getAttribute("error");
|
||||
if (error!=null) {
|
||||
%>
|
||||
<p align="center">
|
||||
<font color="red"><%=error%></font>
|
||||
<p class="alert alert-danger">
|
||||
<%=error%>
|
||||
</p>
|
||||
<% } %>
|
||||
|
||||
<p align="center">
|
||||
<p class="alert alert-info">
|
||||
<fmt:message key="jsp.dspace-admin.list-metadata-fields.note"/>
|
||||
</p>
|
||||
|
||||
<table width="70%" class="miscTable" align="center" summary="Dublic Core Type Registry data table">
|
||||
<table class="table" summary="Dublic Core Type Registry data table">
|
||||
<tr>
|
||||
<th class="oddRowOddCol">
|
||||
<strong>
|
||||
@@ -93,29 +90,29 @@ if (error!=null) {
|
||||
%>
|
||||
<tr>
|
||||
<td>
|
||||
<form method="post" action="">
|
||||
<table>
|
||||
<tr>
|
||||
<td class="<%= row %>RowOddCol"><%= types[i].getFieldID() %></td>
|
||||
<td class="<%= row %>RowEvenCol">
|
||||
<input type="text" name="element" value="<%= types[i].getElement() %>" size="12"/>
|
||||
</td>
|
||||
<td class="<%= row %>RowOddCol">
|
||||
<input type="text" name="qualifier" value="<%= (types[i].getQualifier() == null ? "" : types[i].getQualifier()) %>" size="12"/>
|
||||
</td>
|
||||
<td class="<%= row %>RowEvenCol">
|
||||
<textarea name="scope_note" rows="3" cols="40"><%= (types[i].getScopeNote() == null ? "" : types[i].getScopeNote()) %></textarea>
|
||||
</td>
|
||||
<td class="<%= row %>RowOddCol">
|
||||
<form class="form-inline" method="post" action="">
|
||||
<span class="col-md-1"><%= types[i].getFieldID() %></span>
|
||||
|
||||
<div class="form-group">
|
||||
<label class="sr-only" for="element"><fmt:message key="jsp.dspace-admin.list-metadata-fields.element"/></label>
|
||||
<input class="form-control" type="text" name="element" value="<%= types[i].getElement() %>" size="12" placeholder="<fmt:message key="jsp.dspace-admin.list-metadata-fields.element"/>"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="sr-only" for="qualifier"><fmt:message key="jsp.dspace-admin.list-metadata-fields.qualifier"/></label>
|
||||
<input class="form-control" type="text" name="qualifier" value="<%= (types[i].getQualifier() == null ? "" : types[i].getQualifier()) %>" size="12" placeholder="<fmt:message key="jsp.dspace-admin.list-metadata-fields.qualifier"/>"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label class="sr-only" for="scope_note"><fmt:message key="jsp.dspace-admin.list-metadata-fields.scope"/></label>
|
||||
<textarea class="form-control" name="scope_note" rows="3" cols="40"><%= (types[i].getScopeNote() == null ? "" : types[i].getScopeNote()) %></textarea>
|
||||
</div>
|
||||
|
||||
<div class="btn-group pull-right">
|
||||
|
||||
<input type="hidden" name="dc_type_id" value="<%= types[i].getFieldID() %>"/>
|
||||
<input type="submit" name="submit_update" value="<fmt:message key="jsp.dspace-admin.general.update"/>"/>
|
||||
</td>
|
||||
<td class="<%= row %>RowEvenCol">
|
||||
<input type="hidden" name="dc_type_id" value="<%= types[i].getFieldID() %>"/>
|
||||
<input type="submit" name="submit_delete" value="<fmt:message key="jsp.dspace-admin.general.delete-w-confirm"/>"/>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<input class="btn btn-primary" type="submit" name="submit_update" value="<fmt:message key="jsp.dspace-admin.general.update"/>"/>
|
||||
|
||||
<input class="btn btn-danger" type="submit" name="submit_delete" value="<fmt:message key="jsp.dspace-admin.general.delete-w-confirm"/>"/>
|
||||
</div>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
@@ -128,38 +125,32 @@ if (error!=null) {
|
||||
|
||||
<form method="post" action="">
|
||||
<input type="hidden" name="dc_schema_id" value="<%= schema.getSchemaID() %>"/>
|
||||
<table align="center" width="650">
|
||||
<tr><td colspan="2"><h2><fmt:message key="jsp.dspace-admin.list-metadata-fields.addfield"/></h2></td></tr>
|
||||
<tr>
|
||||
<td colspan="2"><p><fmt:message key="jsp.dspace-admin.list-metadata-fields.addfieldnote"/><br/><br/>
|
||||
</p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><fmt:message key="jsp.dspace-admin.list-metadata-fields.element"/>:</p></td>
|
||||
<td><input type="text" name="element"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><fmt:message key="jsp.dspace-admin.list-metadata-fields.qualifier"/>:</p></td>
|
||||
<td><input type="text" name="qualifier"/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top"><p><fmt:message key="jsp.dspace-admin.list-metadata-fields.scope"/>:</p></td>
|
||||
<td><textarea name="scope_note" rows="3" cols="40"></textarea></td>
|
||||
</tr>
|
||||
<tr><td></td><td><input type="submit" name="submit_add" value="<fmt:message key="jsp.dspace-admin.general.addnew"/>"/></td></tr>
|
||||
</table>
|
||||
<h2><fmt:message key="jsp.dspace-admin.list-metadata-fields.addfield"/></h2>
|
||||
<p><fmt:message key="jsp.dspace-admin.list-metadata-fields.addfieldnote"/><br/><br/>
|
||||
|
||||
<p><fmt:message key="jsp.dspace-admin.list-metadata-fields.element"/>:</p>
|
||||
<input class="form-control" type="text" name="element"/>
|
||||
|
||||
<p><fmt:message key="jsp.dspace-admin.list-metadata-fields.qualifier"/>:</p>
|
||||
<input class="form-control" type="text" name="qualifier"/>
|
||||
|
||||
<p><fmt:message key="jsp.dspace-admin.list-metadata-fields.scope"/>:</p>
|
||||
<textarea class="form-control" name="scope_note" rows="3" cols="40"></textarea>
|
||||
|
||||
<input class="btn btn-primary" type="submit" name="submit_add" value="<fmt:message key="jsp.dspace-admin.general.addnew"/>"/>
|
||||
|
||||
</form>
|
||||
|
||||
|
||||
<form method="post" action="">
|
||||
<table align="center" width="650">
|
||||
<tr><td colspan="2"><h2><fmt:message key="jsp.dspace-admin.list-metadata-fields.move"/></h2></td></tr>
|
||||
|
||||
<h2><fmt:message key="jsp.dspace-admin.list-metadata-fields.move"/></h2>
|
||||
<% if (schemas.length > 1) { %>
|
||||
<tr><td colspan="2"><p>
|
||||
<td colspan="2"><p>
|
||||
<fmt:message key="jsp.dspace-admin.list-metadata-fields.movenote"/></p>
|
||||
</td></tr>
|
||||
<tr>
|
||||
<td valign="top"><p><fmt:message key="jsp.dspace-admin.list-metadata-fields.element"/>:</p></td><td>
|
||||
|
||||
|
||||
<p><fmt:message key="jsp.dspace-admin.list-metadata-fields.element"/>:</p>
|
||||
<select name="dc_field_id" multiple="multiple" size="5">
|
||||
<%
|
||||
for (int i = 0; i < types.length; i++)
|
||||
@@ -168,8 +159,8 @@ if (error!=null) {
|
||||
%> <option value="<%= types[i].getFieldID() %>"><%= types[i].getElement()+qualifier %></option>
|
||||
<% }
|
||||
%>
|
||||
</select></td></tr>
|
||||
<tr><td><p><fmt:message key="jsp.dspace-admin.list-metadata-fields.schema"/>: </p></td><td>
|
||||
</select>
|
||||
<p><fmt:message key="jsp.dspace-admin.list-metadata-fields.schema"/>: </p>
|
||||
<select name="dc_dest_schema_id">
|
||||
<%
|
||||
for (int i = 0; i < schemas.length; i++)
|
||||
@@ -180,15 +171,15 @@ if (error!=null) {
|
||||
<% }
|
||||
}
|
||||
%>
|
||||
</select></td></tr>
|
||||
<tr><td></td><td><p><input type="submit" name="submit_move" value="<fmt:message key="jsp.dspace-admin.list-metadata-fields.movesubmit"/>"/></p></td></tr>
|
||||
</select>
|
||||
<p><input class="btn btn-primary" type="submit" name="submit_move" value="<fmt:message key="jsp.dspace-admin.list-metadata-fields.movesubmit"/>"/></p>
|
||||
<% } else { %>
|
||||
<tr><td colspan="2">
|
||||
|
||||
<p><fmt:message key="jsp.dspace-admin.list-metadata-fields.moveformnote"/><br/><br/>
|
||||
</p>
|
||||
</td></tr>
|
||||
|
||||
<% } %>
|
||||
</table>
|
||||
|
||||
</form>
|
||||
|
||||
</dspace:layout>
|
||||
|
@@ -34,34 +34,28 @@
|
||||
(MetadataSchema[]) request.getAttribute("schemas");
|
||||
%>
|
||||
|
||||
<dspace:layout titlekey="jsp.dspace-admin.list-metadata-schemas.title"
|
||||
<dspace:layout style="submission" titlekey="jsp.dspace-admin.list-metadata-schemas.title"
|
||||
navbar="admin"
|
||||
locbar="link"
|
||||
parenttitlekey="jsp.administer"
|
||||
parentlink="/dspace-admin">
|
||||
|
||||
<table width="95%">
|
||||
<tr>
|
||||
<td align="left">
|
||||
<h1><fmt:message key="jsp.dspace-admin.list-metadata-schemas.title"/></h1>
|
||||
</td>
|
||||
<td align="right" class="standard">
|
||||
|
||||
<h1><fmt:message key="jsp.dspace-admin.list-metadata-schemas.title"/>
|
||||
<dspace:popup page="<%= LocaleSupport.getLocalizedMessage(pageContext, \"help.site-admin\") + \"#dublincore\"%>"><fmt:message key="jsp.help"/></dspace:popup>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</h1>
|
||||
|
||||
<%
|
||||
String error = (String)request.getAttribute("error");
|
||||
if (error!=null) {
|
||||
%>
|
||||
<p align="center">
|
||||
<font color="red"><%=error%></font>
|
||||
<p class="alert alert-danger">
|
||||
<%=error%>
|
||||
</p>
|
||||
<% } %>
|
||||
|
||||
|
||||
<table class="miscTable" align="center" width="500">
|
||||
<table class="table" width="500">
|
||||
<tr>
|
||||
<th class="oddRowOddCol"><strong><fmt:message key="jsp.general.id" /></strong></th>
|
||||
<th class="oddRowEvenCol"><strong><fmt:message key="jsp.dspace-admin.list-metadata-schemas.namespace"/></strong></th>
|
||||
@@ -86,8 +80,8 @@ if (error!=null) {
|
||||
<% if ( schemas[i].getSchemaID() != 1 ) { %>
|
||||
<form method="post" action="">
|
||||
<input type="hidden" name="dc_schema_id" value="<%= schemas[i].getSchemaID() %>"/>
|
||||
<input type="button" name="submit_update" value="<fmt:message key="jsp.dspace-admin.general.update"/>" onclick="javascript:document.schema.namespace.value='<%= schemas[i].getNamespace() %>';document.schema.short_name.value='<%= schemas[i].getName() %>';document.schema.dc_schema_id.value='<%= schemas[i].getSchemaID() %>';return null;"/>
|
||||
<input type="submit" name="submit_delete" value="<fmt:message key="jsp.dspace-admin.general.delete-w-confirm"/>"/>
|
||||
<input class="btn btn-primary" type="button" name="submit_update" value="<fmt:message key="jsp.dspace-admin.general.update"/>" onclick="javascript:document.schema.namespace.value='<%= schemas[i].getNamespace() %>';document.schema.short_name.value='<%= schemas[i].getName() %>';document.schema.dc_schema_id.value='<%= schemas[i].getSchemaID() %>';return null;"/>
|
||||
<input class="btn btn-danger" type="submit" name="submit_delete" value="<fmt:message key="jsp.dspace-admin.general.delete-w-confirm"/>"/>
|
||||
</form>
|
||||
<% } %>
|
||||
</td>
|
||||
@@ -100,26 +94,24 @@ if (error!=null) {
|
||||
|
||||
<form method="post" name="schema" action="">
|
||||
<input type="hidden" name="dc_schema_id" value=""/>
|
||||
<table align="center" width="600">
|
||||
<tr>
|
||||
<td align="left" colspan="2">
|
||||
<p>
|
||||
<br/><fmt:message key="jsp.dspace-admin.list-metadata-schemas.instruction"/>
|
||||
<br/><br/>
|
||||
|
||||
<p class="alert alert-info">
|
||||
<fmt:message key="jsp.dspace-admin.list-metadata-schemas.instruction"/>
|
||||
</p>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><fmt:message key="jsp.dspace-admin.list-metadata-schemas.namespace"/>:</p></td>
|
||||
<td><input type="text" name="namespace" value=""/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><fmt:message key="jsp.dspace-admin.list-metadata-schemas.name"/>:</p></td>
|
||||
<td><input type="text" name="short_name" value=""/></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><input type="submit" name="submit_add" value="<fmt:message key="jsp.dspace-admin.general.save"/>"/></p></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="input-group">
|
||||
<div class="input-group-addon">
|
||||
<span class="col-md-2"><fmt:message key="jsp.dspace-admin.list-metadata-schemas.namespace"/>:</span>
|
||||
<span class="col-md-3"><input type="text" name="namespace" value=""/></span>
|
||||
</div></div>
|
||||
<div class="input-group">
|
||||
<div class="input-group-addon">
|
||||
<span class="col-md-2"><fmt:message key="jsp.dspace-admin.list-metadata-schemas.name"/>:</span>
|
||||
<span class="col-md-3"><input type="text" name="short_name" value=""/></span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<input class="btn btn-primary pull-right" type="submit" name="submit_add" value="<fmt:message key="jsp.dspace-admin.general.save"/>"/>
|
||||
|
||||
</form>
|
||||
</dspace:layout>
|
||||
|
@@ -18,7 +18,7 @@
|
||||
<%
|
||||
String navbar = (String) request.getAttribute("navbar");
|
||||
%>
|
||||
<dspace:layout navbar="<%= navbar %>" titlekey="jsp.statistics.no-report.title">
|
||||
<dspace:layout style="submission" navbar="<%= navbar %>" titlekey="jsp.statistics.no-report.title">
|
||||
|
||||
<p><fmt:message key="jsp.statistics.no-report.info1"/></p>
|
||||
|
||||
|
@@ -30,7 +30,7 @@
|
||||
SimpleDateFormat sdfLink = new SimpleDateFormat("yyyy'-'M");
|
||||
%>
|
||||
|
||||
<dspace:layout navbar="<%= navbar %>" titlekey="jsp.statistics.report.title">
|
||||
<dspace:layout style="submission" navbar="<%= navbar %>" titlekey="jsp.statistics.report.title">
|
||||
|
||||
<p>
|
||||
<%
|
||||
|
Reference in New Issue
Block a user