NIHVIVO-707 Small modifications to markup on Manage Web Pages screen

This commit is contained in:
ryounes 2011-07-11 21:40:51 +00:00
parent b1a320b412
commit 77c2a28295
2 changed files with 7 additions and 18 deletions

View file

@ -23,33 +23,22 @@ class, in case we want to re-enable DD without a page reload. */
width: 15em;
}
#showAddForm span.or {
display: none;
}
#showAddForm a.cancel {
#returnToIndividual {
margin-left: 2em;
}
#manageWebpages a:link.remove,
#manageWebpages a:visited.remove,
#manageWebpages a:link.undo,
#manageWebpages a:visited.undo,
#manageWebpages a:visited.remove,
#manageWebpages a:hover.remove,
#manageWebpages a:hover.undo,
#showAddForm a:hover.cancel {
color: #fff;
background: #f70;
}
#manageWebpages a:hover.remove,
#manageWebpages a:hover.undo,
#showAddForm a:hover.cancel {
color: #fff;
background: #f70;
}
#manageWebpages a.undo {
margin-left: 1em;
}

View file

@ -92,7 +92,9 @@
%>
<c:url var="deleteWebpageUrl" value="/edit/primitiveDelete" />
<c:url var="returnToIndividualUrl" value="/individual?uri=<%= subjectUri %>" />
<c:set var="subjectUri" value="<%= subjectUri %>" />
<c:url var="returnToIndividualUrl" value="/individual?uri=${subjectUri}" />
<jsp:include page="${preForm}"/>
@ -130,10 +132,8 @@
</c:forEach>
</ul>
<div id="showAddForm">
<a href="${showAddFormUrl}" class="button">Add Web Page</a>
<a href="${returnToIndividualUrl}" class="">Return to Individual</a>
</div>
<a href="${showAddFormUrl}" id="showAddForm" class="button">Add Web Page</a>
<a href="${returnToIndividualUrl}" id="returnToIndividual">Return to Individual</a>
<jsp:include page="${postForm}"/>