Restyling admin jsp

This commit is contained in:
Pascarelli Luigi Andrea
2013-10-07 14:47:34 +02:00
parent c9c3fdb5b5
commit a9a213d23f
3 changed files with 32 additions and 44 deletions

View File

@@ -17,13 +17,18 @@
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" <%@ taglib uri="http://java.sun.com/jsp/jstl/fmt"
prefix="fmt" %> prefix="fmt" %>
<dspace:layout titlekey="jsp.dspace-admin.supervise-main.title" <%@ page import="javax.servlet.jsp.jstl.fmt.LocaleSupport" %>
<dspace:layout style="submission"
titlekey="jsp.dspace-admin.supervise-main.title"
navbar="admin" navbar="admin"
locbar="link" locbar="link"
parentlink="/dspace-admin" parentlink="/dspace-admin"
parenttitlekey="jsp.administer"> parenttitlekey="jsp.administer">
<h1><fmt:message key="jsp.dspace-admin.supervise-main.heading"/></h1> <h1><fmt:message key="jsp.dspace-admin.supervise-main.heading"/>
<dspace:popup page="<%= LocaleSupport.getLocalizedMessage(pageContext, \"help.site-admin\") + \"#supervision\"%>"><fmt:message key="jsp.morehelp"/></dspace:popup>
</h1>
<h3><fmt:message key="jsp.dspace-admin.supervise-main.subheading"/></h3> <h3><fmt:message key="jsp.dspace-admin.supervise-main.subheading"/></h3>
@@ -32,11 +37,11 @@
<div align="center" /> <div align="center" />
<%-- form to navigate to any of the three options available --%> <%-- form to navigate to any of the three options available --%>
<form method="post" action=""> <form method="post" action="">
<input type="submit" name="submit_add" value="<fmt:message key="jsp.dspace-admin.supervise-main.add.button"/>"/> <input class="btn btn-default" type="submit" name="submit_add" value="<fmt:message key="jsp.dspace-admin.supervise-main.add.button"/>"/>
<br/><br/> <br/><br/>
<input type="submit" name="submit_view" value="<fmt:message key="jsp.dspace-admin.supervise-main.view.button"/>"/> <input class="btn btn-default" type="submit" name="submit_view" value="<fmt:message key="jsp.dspace-admin.supervise-main.view.button"/>"/>
<br/><br/> <br/><br/>
<input type="submit" name="submit_clean" value="<fmt:message key="jsp.dspace-admin.supervise-main.clean.button"/>"/> <input class="btn btn-default" type="submit" name="submit_clean" value="<fmt:message key="jsp.dspace-admin.supervise-main.clean.button"/>"/>
</form> </form>
<div align="center" /> <div align="center" />

View File

@@ -37,25 +37,17 @@
(WorkflowItem[]) request.getAttribute("workflows"); (WorkflowItem[]) request.getAttribute("workflows");
%> %>
<dspace:layout titlekey="jsp.dspace-admin.workflow-list.title" <dspace:layout style="submission"
titlekey="jsp.dspace-admin.workflow-list.title"
navbar="admin" navbar="admin"
locbar="link" locbar="link"
parenttitlekey="jsp.administer" parenttitlekey="jsp.administer"
parentlink="/dspace-admin" parentlink="/dspace-admin"
nocache="true"> nocache="true">
<table width="95%"> <h1><fmt:message key="jsp.dspace-admin.workflow-list.heading"/><dspace:popup page="<%= LocaleSupport.getLocalizedMessage(pageContext, \"help.site-admin\") + \"#workflow\"%>"><fmt:message key="jsp.help"/></dspace:popup></h1>
<tr>
<%-- <td align="left"> <h1>Currently Active Workflows</h1> --%>
<td align="left"><h1><fmt:message key="jsp.dspace-admin.workflow-list.heading"/></h1>
</td>
<td align="right" class="standard">
<dspace:popup page="<%= LocaleSupport.getLocalizedMessage(pageContext, \"help.site-admin\") + \"#workflow\"%>"><fmt:message key="jsp.help"/></dspace:popup>
</td>
</tr>
</table>
<table class="miscTable" align="center" summary="Table displaying list of currently active workflows"> <table class="table" align="center" summary="Table displaying list of currently active workflows">
<tr> <tr>
<th class="oddRowOddCol"> <strong>ID</strong></th> <th class="oddRowOddCol"> <strong>ID</strong></th>
<th class="oddRowEvenCol"><strong><fmt:message key="jsp.dspace-admin.workflow-list.collection"/></strong></th> <th class="oddRowEvenCol"><strong><fmt:message key="jsp.dspace-admin.workflow-list.collection"/></strong></th>
@@ -82,7 +74,7 @@
<td class="<%= row %>RowOddCol"> <td class="<%= row %>RowOddCol">
<form method="post" action=""> <form method="post" action="">
<input type="hidden" name="workflow_id" value="<%= workflows[i].getID() %>"/> <input type="hidden" name="workflow_id" value="<%= workflows[i].getID() %>"/>
<input type="submit" name="submit_abort" value="<fmt:message key="jsp.dspace-admin.general.abort-w-confirm"/>" /> <input class="btn btn-default" type="submit" name="submit_abort" value="<fmt:message key="jsp.dspace-admin.general.abort-w-confirm"/>" />
</form> </form>
</td> </td>
</tr> </tr>

View File

@@ -26,14 +26,16 @@
<%@ page import="org.dspace.core.ConfigurationManager" %> <%@ page import="org.dspace.core.ConfigurationManager" %>
<dspace:layout titlekey="jsp.tools.get-item-id.title" <dspace:layout style="submission" titlekey="jsp.tools.get-item-id.title"
navbar="admin" navbar="admin"
locbar="link" locbar="link"
parenttitlekey="jsp.administer" parenttitlekey="jsp.administer"
parentlink="/dspace-admin"> parentlink="/dspace-admin">
<%-- <h1>Edit or Delete Item</h1> --%> <%-- <h1>Edit or Delete Item</h1> --%>
<h1><fmt:message key="jsp.tools.get-item-id.heading"/></h1> <h1><fmt:message key="jsp.tools.get-item-id.heading"/>
<dspace:popup page="<%= LocaleSupport.getLocalizedMessage(pageContext, \"help.site-admin\") + \"#items\"%>"><fmt:message key="jsp.morehelp"/></dspace:popup>
</h1>
<% <%
if (request.getAttribute("invalid.id") != null) { %> if (request.getAttribute("invalid.id") != null) { %>
@@ -48,31 +50,20 @@
<%-- <p>Enter the Handle or internal item ID of the item you want to edit or <%-- <p>Enter the Handle or internal item ID of the item you want to edit or
delete. <dspace:popup page="/help/site-admin.html#items">More help...</dspace:popup></p> --%> delete. <dspace:popup page="/help/site-admin.html#items">More help...</dspace:popup></p> --%>
<div><fmt:message key="jsp.tools.get-item-id.info2"/> <dspace:popup page="<%= LocaleSupport.getLocalizedMessage(pageContext, \"help.site-admin\") + \"#items\"%>"><fmt:message key="jsp.morehelp"/></dspace:popup></div> <div><fmt:message key="jsp.tools.get-item-id.info2"/></div>
<form method="get" action=""> <form method="get" action="">
<center> <div class="row">
<table class="miscTable"> <label class="col-md-2" for="thandle"><fmt:message key="jsp.tools.get-item-id.handle"/></label>
<tr class="oddRowEvenCol"> <span class="col-md-3"><input class="form-control" type="text" name="handle" id="thandle" value="<%= ConfigurationManager.getProperty("handle.prefix") %>/" size="12"/></span>
<%-- <td class="submitFormLabel">Handle:</td> --%> <%-- <input type="submit" name="submit" value="Find" /> --%>
<td class="submitFormLabel"><label for="thandle"><fmt:message key="jsp.tools.get-item-id.handle"/></label></td> <input class="btn btn-default" type="submit" name="submit" value="<fmt:message key="jsp.tools.get-item-id.find.button"/>" />
<td> </div>
<input type="text" name="handle" id="thandle" value="<%= ConfigurationManager.getProperty("handle.prefix") %>/" size="12"/> <div class="row">
<%-- <input type="submit" name="submit" value="Find" /> --%> <label class="col-md-2" for="thandle"><fmt:message key="jsp.tools.get-item-id.internal"/></label>
<input type="submit" name="submit" value="<fmt:message key="jsp.tools.get-item-id.find.button"/>" /> <span class="col-md-3"><input class="form-control" type="text" name="item_id" id="titem_id" size="12"/></span>
</td> <%-- <input type="submit" name="submit" value="Find"> --%>
</tr> <input class="btn btn-default" type="submit" name="submit" value="<fmt:message key="jsp.tools.get-item-id.find.button"/>" />
<tr><td></td></tr> </div>
<tr class="oddRowEvenCol">
<%-- <td class="submitFormLabel">Internal ID:</td> --%>
<td class="submitFormLabel"><label for="titem_id"><fmt:message key="jsp.tools.get-item-id.internal"/></label></td>
<td>
<input type="text" name="item_id" id="titem_id" size="12"/>
<%-- <input type="submit" name="submit" value="Find"> --%>
<input type="submit" name="submit" value="<fmt:message key="jsp.tools.get-item-id.find.button"/>" />
</td>
</tr>
</table>
</center>
</form> </form>
</dspace:layout> </dspace:layout>