minor ui adjustments

This commit is contained in:
tworrall 2012-06-28 15:59:48 +00:00
parent 93cb7682ae
commit bbd616b227
2 changed files with 19 additions and 22 deletions

View file

@ -19,7 +19,7 @@
<form id="editForm" name="editForm" action="${action}" method="post" onsubmit="${onSubmit}"> <form id="editForm" name="editForm" action="${action}" method="post" onsubmit="${onSubmit}">
<input type="hidden" name="_epoKey" value="${epoKey}" /> <input type="hidden" name="_epoKey" value="${epoKey}" />
<table cellpadding="4" cellspacing="2"> <table cellpadding="4" cellspacing="2" style="background-color:#fff">
<tr><th colspan="${colspan}"> <tr><th colspan="${colspan}">
<div> <div>
<h2>${title}</h2> <h2>${title}</h2>

View file

@ -59,7 +59,7 @@
</tr> </tr>
<tr><td colspan="5"><hr class="formDivider"/></td></tr> <tr><td colspan="5"><hr class="formDivider"/></td></tr>
<tr class="editformcell"> <tr class="editformcell">
<td style="vertical-align:top;" valign="top" colspan="1"> <td style="vertical-align:top;" valign="top" colspan="2">
<b>Inverse property ontology</b><br/> <b>Inverse property ontology</b><br/>
<c:choose> <c:choose>
<c:when test="${_action eq 'update'}"> <c:when test="${_action eq 'update'}">
@ -71,7 +71,7 @@
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</td> </td>
<td style="vertical-align:top;" valign="top" colspan="2"> <td style="vertical-align:top;" valign="top" colspan="1">
<b>Inverse internal name</b><br/> <b>Inverse internal name</b><br/>
<c:choose> <c:choose>
<c:when test="${_action eq 'update'}"> <c:when test="${_action eq 'update'}">
@ -89,7 +89,7 @@
<span class="notice"><c:out value="${LocalNameInverseError}"/></span> <span class="notice"><c:out value="${LocalNameInverseError}"/></span>
</c:if> </c:if>
</td> </td>
<td valign="top" style="vertical-align:top;" colspan="2"> <td valign="top" style="vertical-align:top;" colspan="1">
<b>Inverse label</b><br/> <b>Inverse label</b><br/>
<input type="text" class="fullWidthInput" name="RangePublic" value="<form:value name="RangePublic"/>" maxlength="80" /><br/> <input type="text" class="fullWidthInput" name="RangePublic" value="<form:value name="RangePublic"/>" maxlength="80" /><br/>
<br/> <br/>
@ -98,6 +98,7 @@
<span class="notice"><c:out value="${RangePublicError}"/></span> <span class="notice"><c:out value="${RangePublicError}"/></span>
</c:if> </c:if>
</td> </td>
<td>&nbsp;</td>
</tr> </tr>
<tr><td colspan="5"><hr class="formDivider"/></td></tr> <tr><td colspan="5"><hr class="formDivider"/></td></tr>
<tr class="editformcell"> <tr class="editformcell">
@ -122,9 +123,7 @@
<input name="Transitive" type="checkbox" value="TRUE"/>transitive <input name="Transitive" type="checkbox" value="TRUE"/>transitive
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</td> <span style="margin-left:170px">&nbsp;</span>
<td valign="top" colspan="1">
<br/><br/>
<c:choose> <c:choose>
<c:when test="${symmetric}"> <c:when test="${symmetric}">
<input name="Symmetric" type="checkbox" value="TRUE" checked="checked"/> symmetric <input name="Symmetric" type="checkbox" value="TRUE" checked="checked"/> symmetric
@ -134,7 +133,7 @@
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</td> </td>
<td valign="top" colspan="1"> <td valign="top" colspan="3">
<br/><br/> <br/><br/>
<c:choose> <c:choose>
<c:when test="${functional}"> <c:when test="${functional}">
@ -144,9 +143,7 @@
<input name="Functional" type="checkbox" value="TRUE"/> functional <input name="Functional" type="checkbox" value="TRUE"/> functional
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</td> <span style="margin-left:150px">&nbsp;</span>
<td valign="top" colspan="1">
<br/><br/>
<c:choose> <c:choose>
<c:when test="${inverseFunctional}"> <c:when test="${inverseFunctional}">
<input name="InverseFunctional" type="checkbox" value="TRUE" checked="checked"/> inverse functional <input name="InverseFunctional" type="checkbox" value="TRUE" checked="checked"/> inverse functional
@ -269,8 +266,8 @@
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</td> </td>
<td valign="top" colspan="2"> <td valign="top" colspan="1">
Allow creating new related individuals?<br/><br/> Allow creating new related individuals?<br/>
<c:choose> <c:choose>
<c:when test="${offerCreateNewOption}"> <c:when test="${offerCreateNewOption}">
<input name="OfferCreateNewOption" type="checkbox" value="TRUE" checked="checked"/>offer create option <input name="OfferCreateNewOption" type="checkbox" value="TRUE" checked="checked"/>offer create option
@ -280,7 +277,7 @@
</c:otherwise> </c:otherwise>
</c:choose> </c:choose>
</td> </td>
<td valign="top" colspan="1"> <td valign="top" colspan="2">
<b>Custom entry form</b><br/> <b>Custom entry form</b><br/>
<input type="text" class="fullWidthInput" name="CustomEntryForm" value="<form:value name="CustomEntryForm"/>" /> <input type="text" class="fullWidthInput" name="CustomEntryForm" value="<form:value name="CustomEntryForm"/>" />
<c:set var="CustomEntryFormError"><form:error name="CustomEntryForm"/></c:set> <c:set var="CustomEntryFormError"><form:error name="CustomEntryForm"/></c:set>