Layout cleanup, harmonize browsers behaviour

This commit is contained in:
Andrea Bollini
2013-11-23 12:50:03 +01:00
parent 070f4ee65c
commit 35c5deedcf

View File

@@ -216,11 +216,9 @@
<%-- <p><strong>PLEASE NOTE: These changes are not validated in any way. <%-- <p><strong>PLEASE NOTE: These changes are not validated in any way.
You are responsible for entering the data in the correct format. You are responsible for entering the data in the correct format.
If you are not sure what the format is, please do NOT make changes.</strong></p> --%> If you are not sure what the format is, please do NOT make changes.</strong></p> --%>
<div class="container"> <p class="alert alert-danger"><strong><fmt:message key="jsp.tools.edit-item-form.note"/></strong></p>
<p class="alert alert-danger"><strong><fmt:message key="jsp.tools.edit-item-form.note"/></strong></p>
</div>
<div class="row">
<div class="col-md-9"> <div class="col-md-9">
<div class="panel panel-primary"> <div class="panel panel-primary">
<div class="panel-heading"><fmt:message key="jsp.tools.edit-item-form.details" /></div> <div class="panel-heading"><fmt:message key="jsp.tools.edit-item-form.details" /></div>
@@ -275,8 +273,6 @@
</div> </div>
</div> </div>
<div class="row">
<div class="col-md-3"> <div class="col-md-3">
<div class="panel panel-default"> <div class="panel panel-default">
<div class="panel-heading"><fmt:message key="jsp.actiontools"/></div> <div class="panel-heading"><fmt:message key="jsp.actiontools"/></div>
@@ -407,9 +403,6 @@
<% <%
} }
%> %>
<p>&nbsp;</p>
<form id="edit_metadata" name="edit_metadata" method="post" action="<%= request.getContextPath() %>/tools/edit-item"> <form id="edit_metadata" name="edit_metadata" method="post" action="<%= request.getContextPath() %>/tools/edit-item">
<div class="table-responsive"> <div class="table-responsive">
<table class="table" summary="Edit item withdrawn table"> <table class="table" summary="Edit item withdrawn table">
@@ -523,7 +516,7 @@
</div> </div>
<p>&nbsp;</p> <br/>
<%-- <h2>Bitstreams</h2> --%> <%-- <h2>Bitstreams</h2> --%>
<h2><fmt:message key="jsp.tools.edit-item-form.heading"/></h2> <h2><fmt:message key="jsp.tools.edit-item-form.heading"/></h2>
@@ -531,7 +524,7 @@
<%-- <p>Note that if the "user format description" field isn't empty, the format will <%-- <p>Note that if the "user format description" field isn't empty, the format will
always be set to "Unknown", so clear the user format description before changing the always be set to "Unknown", so clear the user format description before changing the
format field.</p> --%> format field.</p> --%>
<p class="alert alert-info"><fmt:message key="jsp.tools.edit-item-form.note3"/></p> <p class="alert alert-warning"><fmt:message key="jsp.tools.edit-item-form.note3"/></p>
<div class="table-responsive"> <div class="table-responsive">
<table id="bitstream-edit-form-table" class="table" summary="Bitstream data table"> <table id="bitstream-edit-form-table" class="table" summary="Bitstream data table">
<tr> <tr>
@@ -573,15 +566,16 @@
<tr id="<%="row_" + bundles[i].getName() + "_" + bitstreams[j].getID()%>"> <tr id="<%="row_" + bundles[i].getName() + "_" + bitstreams[j].getID()%>">
<td headers="t10" class="<%= row %>RowEvenCol" align="center"> <td headers="t10" class="<%= row %>RowEvenCol" align="center">
<%-- <a target="_blank" href="<%= request.getContextPath() %>/retrieve/<%= bitstreams[j].getID() %>">View</a>&nbsp;<input type="submit" name="submit_delete_bitstream_<%= key %>" value="Remove"> --%> <%-- <a target="_blank" href="<%= request.getContextPath() %>/retrieve/<%= bitstreams[j].getID() %>">View</a>&nbsp;<input type="submit" name="submit_delete_bitstream_<%= key %>" value="Remove"> --%>
<a target="_blank" href="<%= request.getContextPath() %>/retrieve/<%= bitstreams[j].getID() %>"><fmt:message key="jsp.tools.general.view"/></a>&nbsp; <a class="btn btn-info" target="_blank" href="<%= request.getContextPath() %>/retrieve/<%= bitstreams[j].getID() %>"><fmt:message key="jsp.tools.general.view"/></a>&nbsp;
</td> </td>
<% if (bundles[i].getName().equals("ORIGINAL")) <% if (bundles[i].getName().equals("ORIGINAL"))
{ %> { %>
<td headers="t11" class="<%= row %>RowEvenCol" align="center"> <td headers="t11" class="<%= row %>RowEvenCol" align="center">
<input class="form-control" type="radio" name="<%= bundles[i].getID() %>_primary_bitstream_id" value="<%= bitstreams[j].getID() %>" <span class="form-control">
<input type="radio" name="<%= bundles[i].getID() %>_primary_bitstream_id" value="<%= bitstreams[j].getID() %>"
<% if (bundles[i].getPrimaryBitstreamID() == bitstreams[j].getID()) { %> <% if (bundles[i].getPrimaryBitstreamID() == bitstreams[j].getID()) { %>
checked="<%="checked" %>" checked="<%="checked" %>"
<% } %> /> <% } %> /></span>
</td> </td>
<% } else { %> <% } else { %>
<td headers="t11"> </td> <td headers="t11"> </td>