Merge pull request #40 from vivo-project/feature/1233

[VIVO-1233] Wrap large buttons on ontology edit page
This commit is contained in:
grahamtriggs 2016-06-01 15:30:34 +01:00
commit 1493711434

View file

@ -2,77 +2,89 @@
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ --> <!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
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>
<form action="showClassHierarchy" method="get"> <form action="showClassHierarchy" method="get">
<input type="submit" class="form-button" value="Hierarchy of Classes Defined in This Namespace" /> <input type="submit" class="form-button" value="Hierarchy of Classes Defined in This Namespace" />
<input type="hidden" name="ontologyUri" value="${Ontology.URI}" /> <input type="hidden" name="ontologyUri" value="${Ontology.URI}" />
</form> </form>
<form action="listPropertyWebapps" method="get"> <form action="listPropertyWebapps" method="get">
<input type="submit" class="form-button" value="Object Properties Defined in This Namespace" /> <input type="submit" class="form-button" value="Object Properties Defined in This Namespace" />
<input type="hidden" name="ontologyUri" value="${Ontology.URI}" /> <input type="hidden" name="ontologyUri" value="${Ontology.URI}" />
</form> </form>
<form action="listDatatypeProperties" method="get"> <form action="listDatatypeProperties" method="get">
<input type="submit" class="form-button" value="Datatype Properties Defined in This Namespace" /> <input type="submit" class="form-button" value="Datatype Properties Defined in This Namespace" />
<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"/>
</form> </form>
<form action="editForm" method="get"> <form action="editForm" method="get">
<input type="submit" class="form-button" value="Change URI"/> <input type="submit" class="form-button" value="Change URI"/>
<input type="hidden" name="oldURI" value="${realURI}"/> <input type="hidden" name="oldURI" value="${realURI}"/>
<input type="hidden" name="mode" value="renameResource"/> <input type="hidden" name="mode" value="renameResource"/>
<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>
<form action="${exportURL}" method="get"> </tr>
<input type="hidden" name="subgraph" value="tbox"/> <tr><td colspan="3"><hr></hr></td></tr>
<input type="hidden" name="assertedOrInferred" value="asserted"/> </table>
<input type="hidden" name="ontologyURI" value="${Ontology.URI}"/> <table class="form-background" border="0" cellpadding="2" cellspacing="2">
<input type="submit" class="form-button" name="submit" value="Export Ontology Entities Defined in This Namespace to RDF"/> <tr valign="bottom" align="center">
<div style="padding:0;margin-top:0.3em;white-space:nowrap;"> <td>
<input type="radio" name="format" value="RDF/XML-ABBREV" checked="checked" selected="selected"/> RDF/XML abbreviated <div style="margin-left:-0.5em;margin-top:0.5em;padding:0.5em;border-style:solid;border-width:1px;float:right">
<input type="radio" name="format" value="RDF/XML"/> RDF/XML <form action="${exportURL}" method="get">
<input type="radio" name="format" value="N3"/> N3 <input type="hidden" name="subgraph" value="tbox"/>
<input type="radio" name="format" value="N-TRIPLE"/> N-Triples <input type="hidden" name="assertedOrInferred" value="asserted"/>
<input type="radio" name="format" value="TURTLE"/> Turtle <input type="hidden" name="ontologyURI" value="${Ontology.URI}"/>
</div> <input type="submit" class="form-button" name="submit" value="Export Ontology Entities Defined in This Namespace to RDF"/>
</form> <div style="padding:0;margin-top:0.3em;white-space:nowrap;">
</div> <input type="radio" name="format" value="RDF/XML-ABBREV" checked="checked" selected="selected"/> RDF/XML abbreviated
<input type="radio" name="format" value="RDF/XML"/> RDF/XML
<input type="radio" name="format" value="N3"/> N3
<input type="radio" name="format" value="N-TRIPLE"/> N-Triples
<input type="radio" name="format" value="TURTLE"/> Turtle
</div>
</form>
</div>
</td> </td>
</tr> </tr>
</table> </table>
</div> </div>
</div> </div>
</jsp:root> </jsp:root>