Merge pull request #40 from vivo-project/feature/1233
[VIVO-1233] Wrap large buttons on ontology edit page
This commit is contained in:
commit
1493711434
1 changed files with 77 additions and 65 deletions
|
@ -6,17 +6,22 @@
|
||||||
xmlns:c="http://java.sun.com/jsp/jstl/core"
|
xmlns:c="http://java.sun.com/jsp/jstl/core"
|
||||||
xmlns:form="http://vitro.mannlib.cornell.edu/edit/tags"
|
xmlns:form="http://vitro.mannlib.cornell.edu/edit/tags"
|
||||||
version="2.0">
|
version="2.0">
|
||||||
<jsp:directive.page import="edu.cornell.mannlib.vitro.webapp.controller.Controllers"/>
|
<jsp:directive.page import="edu.cornell.mannlib.vitro.webapp.controller.Controllers"/>
|
||||||
|
|
||||||
|
|
||||||
<div class="editingForm">
|
<div class="editingForm">
|
||||||
|
<style>
|
||||||
|
.editingForm .form-button {
|
||||||
|
white-space: normal;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|
||||||
<jsp:include page="/templates/edit/fetch/vertical.jsp"/>
|
<jsp:include page="/templates/edit/fetch/vertical.jsp"/>
|
||||||
|
|
||||||
<div align="center">
|
<div align="center">
|
||||||
<table class="form-background" border="0" cellpadding="2" cellspacing="2">
|
<table class="form-background" border="0" cellpadding="2" cellspacing="2">
|
||||||
<tr valign="bottom" align="center">
|
<tr valign="bottom" align="center">
|
||||||
<td>
|
<td width="46%">
|
||||||
<form action="listOntologies" method="get">
|
<form action="listOntologies" method="get">
|
||||||
<input type="submit" class="form-button" value="All Ontologies"/>
|
<input type="submit" class="form-button" value="All Ontologies"/>
|
||||||
</form>
|
</form>
|
||||||
|
@ -33,14 +38,14 @@
|
||||||
<input type="hidden" name="ontologyUri" value="${Ontology.URI}" />
|
<input type="hidden" name="ontologyUri" value="${Ontology.URI}" />
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
<td valign="bottom" align="center">
|
<td valign="bottom" align="center" width="27%">
|
||||||
<form action="editForm" method="get">
|
<form action="editForm" method="get">
|
||||||
<input type="submit" class="form-button" value="Edit ${Ontology.name}"/>
|
<input type="submit" class="form-button" value="Edit ${Ontology.name}"/>
|
||||||
<input name="uri" type = "hidden" value="${Ontology.URI}" />
|
<input name="uri" type = "hidden" value="${Ontology.URI}" />
|
||||||
<input type="hidden" name="controller" value="Ontology"/>
|
<input type="hidden" name="controller" value="Ontology"/>
|
||||||
</form>
|
</form>
|
||||||
</td>
|
</td>
|
||||||
<td valign="bottom">
|
<td valign="bottom" width="27%">
|
||||||
<form action="editForm" method="get">
|
<form action="editForm" method="get">
|
||||||
<input type="submit" class="form-button" value="Add New Ontology"/>
|
<input type="submit" class="form-button" value="Add New Ontology"/>
|
||||||
<input type="hidden" name="controller" value="Ontology"/>
|
<input type="hidden" name="controller" value="Ontology"/>
|
||||||
|
@ -52,7 +57,14 @@
|
||||||
<input type="hidden" name="controller" value="Refactor"/>
|
<input type="hidden" name="controller" value="Refactor"/>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
<div style="margin-left:-0.5em;margin-top:0.5em;padding:0.5em;border-style:solid;border-width:1px;">
|
</td>
|
||||||
|
</tr>
|
||||||
|
<tr><td colspan="3"><hr></hr></td></tr>
|
||||||
|
</table>
|
||||||
|
<table class="form-background" border="0" cellpadding="2" cellspacing="2">
|
||||||
|
<tr valign="bottom" align="center">
|
||||||
|
<td>
|
||||||
|
<div style="margin-left:-0.5em;margin-top:0.5em;padding:0.5em;border-style:solid;border-width:1px;float:right">
|
||||||
<form action="${exportURL}" method="get">
|
<form action="${exportURL}" method="get">
|
||||||
<input type="hidden" name="subgraph" value="tbox"/>
|
<input type="hidden" name="subgraph" value="tbox"/>
|
||||||
<input type="hidden" name="assertedOrInferred" value="asserted"/>
|
<input type="hidden" name="assertedOrInferred" value="asserted"/>
|
||||||
|
@ -70,9 +82,9 @@
|
||||||
|
|
||||||
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</jsp:root>
|
</jsp:root>
|
||||||
|
|
Loading…
Add table
Reference in a new issue