More changes to ontology editing forms and console pages based on help from Manolo
This commit is contained in:
parent
4602b4364d
commit
32cd580d81
7 changed files with 184 additions and 142 deletions
|
@ -6,7 +6,7 @@
|
|||
<tr class="editformcell">
|
||||
<td valign="top" colspan="2">
|
||||
<b>Public label</b><br/>
|
||||
<input name="PublicName" type="text" class="fullWidthInput" value="<form:value name="PublicName"/>"/>
|
||||
<input type="text" class="fullWidthInput" name="PublicName" value="<form:value name="PublicName"/>"/>
|
||||
<c:set var="PublicNameError"><form:error name="PublicName"/></c:set>
|
||||
<c:if test="${!empty PublicNameError}">
|
||||
<span class="notice"><c:out value="${PublicNameError}"/></span>
|
||||
|
@ -15,12 +15,12 @@
|
|||
<td valign="top" colspan="2">
|
||||
<b>Property group</b><br/>
|
||||
<select name="GroupURI">
|
||||
<form:option name="GroupURI"/>
|
||||
<form:option name="GroupURI"/>
|
||||
</select><br/>
|
||||
<i>for grouping properties on individual pages</i><br/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
<tr class="editformcell">
|
||||
<!-- c:set var="existingLocalName" value="<form:value name='LocalName'/>"/ -->
|
||||
<td valign="top" colspan="2">
|
||||
|
@ -40,14 +40,14 @@
|
|||
</c:choose>
|
||||
</td>
|
||||
<td valign="top" colspan="2">
|
||||
<b>Internal name*</b> (RDF local name)<br/><br/>
|
||||
<b>Internal name*</b> (RDF local name)<br/>
|
||||
<c:choose>
|
||||
<c:when test="${_action eq 'update'}">
|
||||
<input type="text" name="LocalName" class="fullWidthInput" value="<form:value name="LocalName"/>" disabled="disabled"/><br/>
|
||||
<input type="text" class="fullWidthInput" name="LocalName" value="<form:value name="LocalName"/>" disabled="disabled"/><br/>
|
||||
<i>Edit via "change URI"</i><br/>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<input type="text" name="LocalName" class="fullWidthInput" value="<form:value name="LocalName"/>"/><br/>
|
||||
<input type="text" class="fullWidthInput" name="LocalName" value="<form:value name="LocalName"/>"/><br/>
|
||||
<i>must be valid XML without spaces; by</i><br/>
|
||||
<i>convention use camel case with no initial capital</i><br/>
|
||||
</c:otherwise>
|
||||
|
@ -58,7 +58,7 @@
|
|||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="2">
|
||||
<b>Domain class</b><br/>
|
||||
|
@ -74,27 +74,27 @@
|
|||
<i>Use "untyped" instead of "string" to allow language tags</i>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="4">
|
||||
<b>Make this property be:</b><br/><br/>
|
||||
<b>Make this property be:</b><br/>
|
||||
<c:set var="functionalLabel" value=" functional"/>
|
||||
<c:choose>
|
||||
<c:when test="${functional}">
|
||||
<input name="Functional" type="checkbox" value="TRUE" checked="checked"/>${functionalLabel}<br/><br/>
|
||||
<input name="Functional" type="checkbox" value="TRUE" checked="checked"/>${functionalLabel}<br/>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<input name="Functional" type="checkbox" value="TRUE"/>${functionalLabel}<br/><br/>
|
||||
<input name="Functional" type="checkbox" value="TRUE"/>${functionalLabel}<br/>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<i>A "functional" property has at most one value for each individual</i></br>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="4">
|
||||
<b>Public description</b> for front-end users, as it will appear on editing forms<br/>
|
||||
<textarea name="PublicDescription"><form:value name="PublicDescription"/></textarea>
|
||||
<textarea class="matchingInput" name="PublicDescription"><form:value name="PublicDescription"/></textarea>
|
||||
<c:set var="PublicDescriptionError"><form:error name="PublicDescription"/></c:set>
|
||||
<c:if test="${!empty PublicDescriptionError}">
|
||||
<span class="notice"><c:out value="${PublicDescriptionError}"/></span>
|
||||
|
@ -104,7 +104,7 @@
|
|||
<tr class="editformcell">
|
||||
<td valign="top" colspan="4">
|
||||
<b>Example</b> for ontology editors<br/>
|
||||
<textarea name="Example"><form:value name="Example"/></textarea>
|
||||
<textarea class="matchingInput" name="Example"><form:value name="Example"/></textarea>
|
||||
<c:set var="ExampleError"><form:error name="Example"/></c:set>
|
||||
<c:if test="${!empty ExampleError}">
|
||||
<span class="notice"><c:out value="${ExampleError}"/></span>
|
||||
|
@ -114,14 +114,14 @@
|
|||
<tr class="editformcell">
|
||||
<td valign="top" colspan="4">
|
||||
<b>Description</b> for ontology editors<br/>
|
||||
<textarea name="Description"><form:value name="Description"/></textarea>
|
||||
<textarea class="matchingInput" name="Description"><form:value name="Description"/></textarea>
|
||||
<c:set var="DescriptionError"><form:error name="Description"/></c:set>
|
||||
<c:if test="${!empty DescriptionError}">
|
||||
<span class="notice"><c:out value="${DescriptionError}"/></span>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="2">
|
||||
<b>Display level</b><br/>
|
||||
|
@ -134,11 +134,11 @@
|
|||
<i>specify least restrictive level allowed</i><br/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="2">
|
||||
<b>Display tier</b> within property group<br/>
|
||||
<input type="text" name="DisplayTier" value="<form:value name="DisplayTier"/>"/>
|
||||
<input type="text" class="shortInput" name="DisplayTier" value="<form:value name="DisplayTier"/>"/>
|
||||
<c:set var="DisplayTierError"><form:error name="DisplayTier"/></c:set>
|
||||
<c:if test="${!empty DisplayTierError}">
|
||||
<span class="notice"><c:out value="${DisplayTierError}"/></span>
|
||||
|
@ -146,18 +146,18 @@
|
|||
</td>
|
||||
<td valign="top" colspan="2">
|
||||
<b>Display limit</b> before "more ..." button is displayed<br/>
|
||||
<input type="text" name="DisplayLimit" value="<form:value name="DisplayLimit"/>"/>
|
||||
<input type="text" class="shortInput" name="DisplayLimit" value="<form:value name="DisplayLimit"/>"/>
|
||||
<c:set var="DisplayLimitError"><form:error name="DisplayLimit"/></c:set>
|
||||
<c:if test="${!empty DisplayLimitError}">
|
||||
<span class="notice"><c:out value="${DisplayLimitError}"/></span>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="2">
|
||||
<b>Custom entry form</b><br/>
|
||||
<input type="text" name="CustomEntryForm" class="fullWidthInput" 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:if test="${!empty CustomEntryFormError}">
|
||||
<span class="notice"><c:out value="${CustomEntryFormError}"/></span>
|
||||
|
@ -165,5 +165,5 @@
|
|||
</td>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="5"><hr color="Gainsboro"/></td></tr>
|
||||
<tr><td colspan="5"><hr class="formDivider"/></td></tr>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue