Normalize line endings VIVO-101
This commit is contained in:
parent
b097a4d754
commit
54f79f2ea7
587 changed files with 91501 additions and 91501 deletions
|
@ -1,22 +1,22 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<b>Superclass<sup>*</sup></b><br/>
|
||||
<select name="SuperclassURI">
|
||||
<form:option name="SuperclassURI"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="SuperclassURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<b>Subclass<sup>*</sup></b><br/>
|
||||
<select name="SubclassURI" >
|
||||
<form:option name="SubclassURI"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="SubclassURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<b>Superclass<sup>*</sup></b><br/>
|
||||
<select name="SuperclassURI">
|
||||
<form:option name="SuperclassURI"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="SuperclassURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<b>Subclass<sup>*</sup></b><br/>
|
||||
<select name="SubclassURI" >
|
||||
<form:option name="SubclassURI"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="SubclassURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -1,67 +1,67 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
|
||||
xmlns:c="http://java.sun.com/jsp/jstl/core"
|
||||
xmlns:form="http://vitro.mannlib.cornell.edu/edit/tags"
|
||||
version="2.0">
|
||||
<jsp:directive.page import="edu.cornell.mannlib.vitro.webapp.beans.VClass"/>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
|
||||
xmlns:c="http://java.sun.com/jsp/jstl/core"
|
||||
xmlns:form="http://vitro.mannlib.cornell.edu/edit/tags"
|
||||
version="2.0">
|
||||
<jsp:directive.page import="edu.cornell.mannlib.vitro.webapp.beans.VClass"/>
|
||||
<jsp:directive.page import="edu.cornell.mannlib.vitro.webapp.dao.VitroVocabulary"/>
|
||||
|
||||
<div class="editingForm">
|
||||
|
||||
<jsp:include page="/templates/edit/fetch/vertical.jsp"/>
|
||||
|
||||
<!--
|
||||
/**
|
||||
*
|
||||
* @version 1.00
|
||||
* @author Jon Corson-Rikert
|
||||
*
|
||||
* UPDATES:
|
||||
* JCR 2005-11-06 : added code to show properties of parent class(es) as adapted from props_retry.jsp
|
||||
* BJL 2007-07-XX : general overhaul to remove database tags and scriptlets
|
||||
*/
|
||||
-->
|
||||
<div align="center">
|
||||
<table class="form-background" border="0" cellpadding="2" cellspacing="2">
|
||||
<tr valign="bottom" align="center">
|
||||
<td valign="bottom">
|
||||
<form action="listVClassWebapps" method="get">
|
||||
<input type="submit" class="form-button" value="Show All Classes"/>
|
||||
</form>
|
||||
<form action="showClassHierarchy" method="get">
|
||||
<input type="submit" class="form-button" value="Show Class Hierarchy"/>
|
||||
</form>
|
||||
|
||||
<div class="editingForm">
|
||||
|
||||
<jsp:include page="/templates/edit/fetch/vertical.jsp"/>
|
||||
|
||||
<!--
|
||||
/**
|
||||
*
|
||||
* @version 1.00
|
||||
* @author Jon Corson-Rikert
|
||||
*
|
||||
* UPDATES:
|
||||
* JCR 2005-11-06 : added code to show properties of parent class(es) as adapted from props_retry.jsp
|
||||
* BJL 2007-07-XX : general overhaul to remove database tags and scriptlets
|
||||
*/
|
||||
-->
|
||||
<div align="center">
|
||||
<table class="form-background" border="0" cellpadding="2" cellspacing="2">
|
||||
<tr valign="bottom" align="center">
|
||||
<td valign="bottom">
|
||||
<form action="listVClassWebapps" method="get">
|
||||
<input type="submit" class="form-button" value="Show All Classes"/>
|
||||
</form>
|
||||
<form action="showClassHierarchy" method="get">
|
||||
<input type="submit" class="form-button" value="Show Class Hierarchy"/>
|
||||
</form>
|
||||
<form action="showClassHierarchy" method="get">
|
||||
<input type="hidden" name="vclassUri" value="${VClass.URI}"/>
|
||||
<input type="submit" class="form-button" value="Show Hierarchy below This Class"/>
|
||||
</form>
|
||||
<form action="listIndividuals" method="get">
|
||||
<input type="hidden" name="VClassURI" value="${VClass.URI}" />
|
||||
<input type="submit" class="form-button" value="Show All Individuals in This Class"/>
|
||||
<form action="listIndividuals" method="get">
|
||||
<input type="hidden" name="VClassURI" value="${VClass.URI}" />
|
||||
<input type="submit" class="form-button" value="Show All Individuals in This Class"/>
|
||||
</form>
|
||||
<form action="listIndividuals" method="get">
|
||||
<input type="hidden" name="VClassURI" value="${VClass.URI}" />
|
||||
<input type="hidden" name="assertedOnly" value="true"/>
|
||||
<input type="submit" class="form-button" value="Show Individuals Asserted To Be in This Class"/>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="bottom" align="center">
|
||||
<form action="vclass_retry" method="get">
|
||||
<input name="uri" type = "hidden" value="${VClass.URI}" />
|
||||
<input type="submit" class="form-button" value="Edit Class"/>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<form action="vclass_retry" method="get">
|
||||
<input type="submit" class="form-button" value="Add New Class"/>
|
||||
</form>
|
||||
<form action="editForm" method="get">
|
||||
<input type="submit" class="form-button" value="Add New Individual in This Class"/>
|
||||
<input type="hidden" name="controller" value="Entity"/>
|
||||
<input type="hidden" name="VClassURI" value="${VClass.URI}"/>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="bottom" align="center">
|
||||
<form action="vclass_retry" method="get">
|
||||
<input name="uri" type = "hidden" value="${VClass.URI}" />
|
||||
<input type="submit" class="form-button" value="Edit Class"/>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<form action="vclass_retry" method="get">
|
||||
<input type="submit" class="form-button" value="Add New Class"/>
|
||||
</form>
|
||||
<form action="editForm" method="get">
|
||||
<input type="submit" class="form-button" value="Add New Individual in This Class"/>
|
||||
<input type="hidden" name="controller" value="Entity"/>
|
||||
<input type="hidden" name="VClassURI" value="${VClass.URI}"/>
|
||||
</form>
|
||||
<form action="editForm" method="get">
|
||||
<input type="submit" class="form-button" value="Change URI"/>
|
||||
|
@ -71,31 +71,31 @@
|
|||
</form>
|
||||
<form action="editForm" method="get">
|
||||
<input type="submit" class="form-button" value="Move Instances to Another Class"/>
|
||||
<input type="hidden" name="VClassURI" value="${VClass.URI}"/>
|
||||
<c:choose>
|
||||
<c:when test="${VClass.namespace eq 'http://vitro.mannlib.cornell.edu/ns/bnode#'}">
|
||||
<input type="hidden" name="VClassName" value="this anonymous class"/>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<input type="hidden" name="VClassName" value="${VClass.localNameWithPrefix}"/>
|
||||
</c:otherwise>
|
||||
<input type="hidden" name="VClassURI" value="${VClass.URI}"/>
|
||||
<c:choose>
|
||||
<c:when test="${VClass.namespace eq 'http://vitro.mannlib.cornell.edu/ns/bnode#'}">
|
||||
<input type="hidden" name="VClassName" value="this anonymous class"/>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<input type="hidden" name="VClassName" value="${VClass.localNameWithPrefix}"/>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<input type="hidden" name="mode" value="moveInstances"/>
|
||||
<input type="hidden" name="controller" value="Refactor"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="3"><hr/></td></tr>
|
||||
<!-- _____________________________________________ superclasses __________________________________________ -->
|
||||
<tr valign="bottom" align="center">
|
||||
<td colspan="2" valign="bottom" align="left">
|
||||
<c:if test="${!empty superclasses}">
|
||||
<form action="classes2ClassesOp" method="post">
|
||||
<ul style="list-style-type:none;">
|
||||
<c:forEach var="superclass" items="${superclasses}">
|
||||
<c:url var="superclassURL" value="vclassEdit">
|
||||
<c:param name="uri" value="${superclass.URI}"/>
|
||||
</c:url>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="3"><hr/></td></tr>
|
||||
<!-- _____________________________________________ superclasses __________________________________________ -->
|
||||
<tr valign="bottom" align="center">
|
||||
<td colspan="2" valign="bottom" align="left">
|
||||
<c:if test="${!empty superclasses}">
|
||||
<form action="classes2ClassesOp" method="post">
|
||||
<ul style="list-style-type:none;">
|
||||
<c:forEach var="superclass" items="${superclasses}">
|
||||
<c:url var="superclassURL" value="vclassEdit">
|
||||
<c:param name="uri" value="${superclass.URI}"/>
|
||||
</c:url>
|
||||
<li><input type="checkbox" name="SuperclassURI" value="${superclass.URI}" class="form-item"/>
|
||||
<c:choose>
|
||||
<c:when test="${!superclass.anonymous}">
|
||||
|
@ -105,35 +105,35 @@
|
|||
${superclass.localNameWithPrefix}
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</li>
|
||||
</c:forEach>
|
||||
</ul>
|
||||
<input type="hidden" name="SubclassURI" value="${VClass.URI}"/>
|
||||
<input type="hidden" name="operation" value="remove"/>
|
||||
<input type="hidden" name="_epoKey" value="${epoKey}"/>
|
||||
<input type="submit" class="form-button" value="Remove Checked Superclass Links"/>
|
||||
</form>
|
||||
</c:if>
|
||||
</td>
|
||||
<td>
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="SubclassURI" value="${VClass.URI}"/>
|
||||
<input type="hidden" name="controller" value="Classes2Classes"/>
|
||||
<input type="submit" class="form-button" value="New Link to Superclass"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="3"><hr/></td></tr>
|
||||
<!-- _______________________________________________ subclasses _____________________________________________ -->
|
||||
<tr valign="bottom" align="center">
|
||||
<td colspan="2" valign="bottom" align="left">
|
||||
<c:if test="${!empty subclasses}">
|
||||
<form action="classes2ClassesOp" method="post">
|
||||
<ul style="list-style-type:none;">
|
||||
<c:forEach var="subclass" items="${subclasses}">
|
||||
<c:url var="subclassURL" value="vclassEdit">
|
||||
<c:param name="uri" value="${subclass.URI}"/>
|
||||
</c:url>
|
||||
</li>
|
||||
</c:forEach>
|
||||
</ul>
|
||||
<input type="hidden" name="SubclassURI" value="${VClass.URI}"/>
|
||||
<input type="hidden" name="operation" value="remove"/>
|
||||
<input type="hidden" name="_epoKey" value="${epoKey}"/>
|
||||
<input type="submit" class="form-button" value="Remove Checked Superclass Links"/>
|
||||
</form>
|
||||
</c:if>
|
||||
</td>
|
||||
<td>
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="SubclassURI" value="${VClass.URI}"/>
|
||||
<input type="hidden" name="controller" value="Classes2Classes"/>
|
||||
<input type="submit" class="form-button" value="New Link to Superclass"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="3"><hr/></td></tr>
|
||||
<!-- _______________________________________________ subclasses _____________________________________________ -->
|
||||
<tr valign="bottom" align="center">
|
||||
<td colspan="2" valign="bottom" align="left">
|
||||
<c:if test="${!empty subclasses}">
|
||||
<form action="classes2ClassesOp" method="post">
|
||||
<ul style="list-style-type:none;">
|
||||
<c:forEach var="subclass" items="${subclasses}">
|
||||
<c:url var="subclassURL" value="vclassEdit">
|
||||
<c:param name="uri" value="${subclass.URI}"/>
|
||||
</c:url>
|
||||
<li><input type="checkbox" name="SubclassURI" value="${subclass.URI}" class="form-item"/>
|
||||
<c:choose>
|
||||
<c:when test="${!subclass.anonymous}">
|
||||
|
@ -144,28 +144,28 @@
|
|||
</c:otherwise>
|
||||
</c:choose>
|
||||
</li>
|
||||
</c:forEach>
|
||||
</ul>
|
||||
<input type="hidden" name="SuperclassURI" value="${VClass.URI}"/>
|
||||
<input type="submit" class="form-button" value="Remove Checked Subclass Links"/>
|
||||
<input type="hidden" name="operation" value="remove"/>
|
||||
<input type="hidden" name="_epoKey" value="${epoKey}"/>
|
||||
</form>
|
||||
</c:if>
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="controller" value="Classes2Classes"/>
|
||||
<input type="hidden" name="SuperclassURI" value="${VClass.URI}"/>
|
||||
<input type="submit" class="form-button" value="New Link to Subclass"/>
|
||||
</form>
|
||||
<form action="vclass_retry" method="get">
|
||||
<input type="hidden" name="superclassUri" value="${VClass.URI}" />
|
||||
<input type="submit" class="form-button" value="Add New Subclass of This Class"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="3"><hr/></td></tr>
|
||||
</c:forEach>
|
||||
</ul>
|
||||
<input type="hidden" name="SuperclassURI" value="${VClass.URI}"/>
|
||||
<input type="submit" class="form-button" value="Remove Checked Subclass Links"/>
|
||||
<input type="hidden" name="operation" value="remove"/>
|
||||
<input type="hidden" name="_epoKey" value="${epoKey}"/>
|
||||
</form>
|
||||
</c:if>
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="controller" value="Classes2Classes"/>
|
||||
<input type="hidden" name="SuperclassURI" value="${VClass.URI}"/>
|
||||
<input type="submit" class="form-button" value="New Link to Subclass"/>
|
||||
</form>
|
||||
<form action="vclass_retry" method="get">
|
||||
<input type="hidden" name="superclassUri" value="${VClass.URI}" />
|
||||
<input type="submit" class="form-button" value="Add New Subclass of This Class"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="3"><hr/></td></tr>
|
||||
|
||||
<!-- _______________________________________________ equivalent classes _____________________________________________ -->
|
||||
<tr valign="bottom" align="center">
|
||||
|
@ -249,30 +249,30 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="3"><hr/></td></tr>
|
||||
|
||||
<!-- ___________________________________________ domain properties ___________________________________ -->
|
||||
<tr valign="top" align="center">
|
||||
<td>
|
||||
<form action="listPropertyWebapps" method="get">
|
||||
<input type="submit" class="form-button" value="Show All Object Properties Applicable to This Class"/>
|
||||
<input type="hidden" name="vclassUri" value="${VClass.URI}"/>
|
||||
<input type="hidden" name="propsForClass" value="true"/>
|
||||
</form><br/>
|
||||
<form action="listDatatypeProperties" method="get">
|
||||
<input type="submit" class="form-button" value="Show All Data Properties Applicable to This Class"/>
|
||||
<input type="hidden" name="vclassUri" value="${VClass.URI}"/>
|
||||
<input type="hidden" name="propsForClass" value="true"/>
|
||||
|
||||
<!-- ___________________________________________ domain properties ___________________________________ -->
|
||||
<tr valign="top" align="center">
|
||||
<td>
|
||||
<form action="listPropertyWebapps" method="get">
|
||||
<input type="submit" class="form-button" value="Show All Object Properties Applicable to This Class"/>
|
||||
<input type="hidden" name="vclassUri" value="${VClass.URI}"/>
|
||||
<input type="hidden" name="propsForClass" value="true"/>
|
||||
</form><br/>
|
||||
</td>
|
||||
<td></td>
|
||||
<td valign="bottom">
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="domainClassUri" value="${VClass.URI}"/>
|
||||
<input type="hidden" name="controller" value="Property"/>
|
||||
<input type="submit" class="form-button" value="Define New Domain Property at This Class"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<form action="listDatatypeProperties" method="get">
|
||||
<input type="submit" class="form-button" value="Show All Data Properties Applicable to This Class"/>
|
||||
<input type="hidden" name="vclassUri" value="${VClass.URI}"/>
|
||||
<input type="hidden" name="propsForClass" value="true"/>
|
||||
</form><br/>
|
||||
</td>
|
||||
<td></td>
|
||||
<td valign="bottom">
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="domainClassUri" value="${VClass.URI}"/>
|
||||
<input type="hidden" name="controller" value="Property"/>
|
||||
<input type="submit" class="form-button" value="Define New Domain Property at This Class"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<form action="editForm" method="get">
|
||||
|
@ -286,15 +286,15 @@
|
|||
<option value="cardinality">exact cardinality</option>
|
||||
</select>
|
||||
<input type="submit" class="form-button" value="Apply Restriction"/>
|
||||
<input type="hidden" name="VClassURI" value="${VClass.URI}"/>
|
||||
<p>Restrict:
|
||||
<input type="radio" name="propertyType" value="object" checked="checked"/> object property
|
||||
<input type="radio" name="propertyType" value="data"/> data property
|
||||
<input type="hidden" name="VClassURI" value="${VClass.URI}"/>
|
||||
<p>Restrict:
|
||||
<input type="radio" name="propertyType" value="object" checked="checked"/> object property
|
||||
<input type="radio" name="propertyType" value="data"/> data property
|
||||
</p>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</jsp:root>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</jsp:root>
|
||||
|
|
|
@ -1,33 +1,33 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
|
||||
xmlns:c ="http://java.sun.com/jsp/jstl/core"
|
||||
xmlns:fn ="http://java.sun.com/jsp/jstl/functions">
|
||||
|
||||
<div class="editingForm">
|
||||
|
||||
<jsp:include page="/templates/edit/fetch/vertical.jsp"/>
|
||||
|
||||
<!--
|
||||
/**
|
||||
*
|
||||
* @version 0.8
|
||||
* @author bjl23
|
||||
*
|
||||
*/
|
||||
-->
|
||||
|
||||
<div align="center">
|
||||
<table class="form-background" border="0" cellpadding="2" cellspacing="2">
|
||||
<tr valign="bottom" align="center">
|
||||
<td>
|
||||
<form action="showDataPropertyHierarchy" method="get">
|
||||
<input type="submit" class="form-button" value="Data Property Hierarchy"/>
|
||||
</form>
|
||||
<form action="listDatatypeProperties" method="get">
|
||||
<input type="submit" class="form-button" value="All Data Properties"/>
|
||||
|
||||
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.0"
|
||||
xmlns:c ="http://java.sun.com/jsp/jstl/core"
|
||||
xmlns:fn ="http://java.sun.com/jsp/jstl/functions">
|
||||
|
||||
<div class="editingForm">
|
||||
|
||||
<jsp:include page="/templates/edit/fetch/vertical.jsp"/>
|
||||
|
||||
<!--
|
||||
/**
|
||||
*
|
||||
* @version 0.8
|
||||
* @author bjl23
|
||||
*
|
||||
*/
|
||||
-->
|
||||
|
||||
<div align="center">
|
||||
<table class="form-background" border="0" cellpadding="2" cellspacing="2">
|
||||
<tr valign="bottom" align="center">
|
||||
<td>
|
||||
<form action="showDataPropertyHierarchy" method="get">
|
||||
<input type="submit" class="form-button" value="Data Property Hierarchy"/>
|
||||
</form>
|
||||
<form action="listDatatypeProperties" method="get">
|
||||
<input type="submit" class="form-button" value="All Data Properties"/>
|
||||
</form>
|
||||
<form action="listVClassWebapps" method="get">
|
||||
<input type="hidden" name="showPropertyRestrictions" value="true"/>
|
||||
|
@ -40,18 +40,18 @@
|
|||
to <input type="text" name="endAt" value="50" size="3"/><br/>
|
||||
<input type="submit" class="form-button" value="Show Examples of Statements Using This Property"/>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="bottom" align="center">
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="controller" value="Dataprop"/>
|
||||
<input type="hidden" name="uri" value="${datatypeProperty.URI}"/>
|
||||
<input type="submit" class="form-button" value="Edit this Data Property"/>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="controller" value="Dataprop"/>
|
||||
<input type="submit" class="form-button" value="Add New Data Property"/>
|
||||
</td>
|
||||
<td valign="bottom" align="center">
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="controller" value="Dataprop"/>
|
||||
<input type="hidden" name="uri" value="${datatypeProperty.URI}"/>
|
||||
<input type="submit" class="form-button" value="Edit this Data Property"/>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="controller" value="Dataprop"/>
|
||||
<input type="submit" class="form-button" value="Add New Data Property"/>
|
||||
</form>
|
||||
<form action="editForm" method="get">
|
||||
<input type="submit" class="form-button" value="Change URI"/>
|
||||
|
@ -65,113 +65,113 @@
|
|||
<input type="hidden" name="mode" value="movePropertyStatements"/>
|
||||
<input type="hidden" name="propertyType" value="DataProperty"/>
|
||||
<input type="hidden" name="controller" value="Refactor"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td colspan="3"><hr/></td></tr>
|
||||
<!-- _____________________________________________ superproperties __________________________________________ -->
|
||||
<tr valign="bottom" align="center">
|
||||
<td colspan="2" valign="bottom" align="left">
|
||||
<c:if test="${!empty superproperties}">
|
||||
<form action="props2PropsOp" method="post">
|
||||
<ul style="list-style-type:none;">
|
||||
<c:forEach var="superproperty" items="${superproperties}">
|
||||
<c:url var="superpropertyURL" value="datapropEdit">
|
||||
<c:param name="uri" value="${superproperty.URI}"/>
|
||||
</c:url>
|
||||
<li><input type="checkbox" name="SuperpropertyURI" value="${superproperty.URI}" class="form-item"/>
|
||||
<a href="${superpropertyURL}">${superproperty.localNameWithPrefix}</a>
|
||||
</li>
|
||||
</c:forEach>
|
||||
</ul>
|
||||
<input type="hidden" name="SubpropertyURI" value="${datatypeProperty.URI}"/>
|
||||
<input type="hidden" name="operation" value="remove"/>
|
||||
<input type="hidden" name="_epoKey" value="${epoKey}"/>
|
||||
<input type="submit" class="form-button" value="Remove Checked Superproperty Links"/>
|
||||
</form>
|
||||
</c:if>
|
||||
</td>
|
||||
<td>
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="SubpropertyURI" value="${datatypeProperty.URI}"/>
|
||||
<input type="hidden" name="opMode" value="superproperty"/>
|
||||
<input type="hidden" name="controller" value="Properties2Properties"/>
|
||||
<input type="hidden" name="propertyType" value="data"/>
|
||||
<input type="submit" class="form-button" value="New Link to Superproperty"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="3"><hr/></td></tr>
|
||||
<!-- _______________________________________________ subproperties _____________________________________________ -->
|
||||
<tr valign="bottom" align="center">
|
||||
<td colspan="2" valign="bottom" align="left">
|
||||
<c:if test="${!empty subproperties}">
|
||||
<form action="props2PropsOp" method="post">
|
||||
<ul style="list-style-type:none;">
|
||||
<c:forEach var="subproperty" items="${subproperties}">
|
||||
<c:url var="subpropertyURL" value="datapropEdit">
|
||||
<c:param name="uri" value="${subproperty.URI}"/>
|
||||
</c:url>
|
||||
<li><input type="checkbox" name="SubpropertyURI" value="${subproperty.URI}" class="form-item"/>
|
||||
<a href="${subpropertyURL}"> ${subproperty.localNameWithPrefix} </a>
|
||||
</li>
|
||||
</c:forEach>
|
||||
</ul>
|
||||
<input type="hidden" name="SuperpropertyURI" value="${datatypeProperty.URI}"/>
|
||||
<input type="submit" class="form-button" value="Remove Checked Subproperty Links"/>
|
||||
<input type="hidden" name="_epoKey" value="${epoKey}"/>
|
||||
<input type="hidden" name="operation" value="remove"/>
|
||||
</form>
|
||||
</c:if>
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="controller" value="Properties2Properties"/>
|
||||
<input type="hidden" name="SuperpropertyURI" value="${datatypeProperty.URI}"/>
|
||||
<input type="hidden" name="opMode" value="subproperty"/>
|
||||
<input type="hidden" name="propertyType" value="data"/>
|
||||
<input type="submit" class="form-button" value="New Link to Subproperty"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- _______________________________________________ equivalent properties _____________________________________________ -->
|
||||
<tr valign="bottom" align="center">
|
||||
<td colspan="2" valign="bottom" align="left">
|
||||
<c:if test="${!empty equivalentProperties}">
|
||||
<form action="props2PropsOp" method="post">
|
||||
<ul style="list-style-type:none;">
|
||||
<c:forEach var="eqproperty" items="${equivalentProperties}">
|
||||
<c:url var="eqpropertyURL" value="datapropEdit">
|
||||
<c:param name="uri" value="${eqproperty.URI}"/>
|
||||
</c:url>
|
||||
<li><input type="checkbox" name="SubpropertyURI" value="${eqproperty.URI}" class="form-item"/>
|
||||
<a href="${eqpropertyURL}"> ${eqproperty.localNameWithPrefix} </a>
|
||||
</li>
|
||||
</c:forEach>
|
||||
</ul>
|
||||
<input type="hidden" name="SuperpropertyURI" value="${datatypeProperty.URI}"/>
|
||||
<input type="submit" class="form-button" value="Remove Checked Equivalent Property Links"/>
|
||||
<input type="hidden" name="_epoKey" value="${epoKey}"/>
|
||||
<input type="hidden" name="operation" value="remove"/>
|
||||
<input type="hidden" name="opMode" value="equivalentProperty"/>
|
||||
</form>
|
||||
</c:if>
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="controller" value="Properties2Properties"/>
|
||||
<input type="hidden" name="SuperpropertyURI" value="${datatypeProperty.URI}"/>
|
||||
<input type="hidden" name="opMode" value="equivalentProperty"/>
|
||||
<input type="hidden" name="propertyType" value="data"/>
|
||||
<input type="submit" class="form-button" value="New Link to Equivalent Property"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</jsp:root>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr><td colspan="3"><hr/></td></tr>
|
||||
<!-- _____________________________________________ superproperties __________________________________________ -->
|
||||
<tr valign="bottom" align="center">
|
||||
<td colspan="2" valign="bottom" align="left">
|
||||
<c:if test="${!empty superproperties}">
|
||||
<form action="props2PropsOp" method="post">
|
||||
<ul style="list-style-type:none;">
|
||||
<c:forEach var="superproperty" items="${superproperties}">
|
||||
<c:url var="superpropertyURL" value="datapropEdit">
|
||||
<c:param name="uri" value="${superproperty.URI}"/>
|
||||
</c:url>
|
||||
<li><input type="checkbox" name="SuperpropertyURI" value="${superproperty.URI}" class="form-item"/>
|
||||
<a href="${superpropertyURL}">${superproperty.localNameWithPrefix}</a>
|
||||
</li>
|
||||
</c:forEach>
|
||||
</ul>
|
||||
<input type="hidden" name="SubpropertyURI" value="${datatypeProperty.URI}"/>
|
||||
<input type="hidden" name="operation" value="remove"/>
|
||||
<input type="hidden" name="_epoKey" value="${epoKey}"/>
|
||||
<input type="submit" class="form-button" value="Remove Checked Superproperty Links"/>
|
||||
</form>
|
||||
</c:if>
|
||||
</td>
|
||||
<td>
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="SubpropertyURI" value="${datatypeProperty.URI}"/>
|
||||
<input type="hidden" name="opMode" value="superproperty"/>
|
||||
<input type="hidden" name="controller" value="Properties2Properties"/>
|
||||
<input type="hidden" name="propertyType" value="data"/>
|
||||
<input type="submit" class="form-button" value="New Link to Superproperty"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="3"><hr/></td></tr>
|
||||
<!-- _______________________________________________ subproperties _____________________________________________ -->
|
||||
<tr valign="bottom" align="center">
|
||||
<td colspan="2" valign="bottom" align="left">
|
||||
<c:if test="${!empty subproperties}">
|
||||
<form action="props2PropsOp" method="post">
|
||||
<ul style="list-style-type:none;">
|
||||
<c:forEach var="subproperty" items="${subproperties}">
|
||||
<c:url var="subpropertyURL" value="datapropEdit">
|
||||
<c:param name="uri" value="${subproperty.URI}"/>
|
||||
</c:url>
|
||||
<li><input type="checkbox" name="SubpropertyURI" value="${subproperty.URI}" class="form-item"/>
|
||||
<a href="${subpropertyURL}"> ${subproperty.localNameWithPrefix} </a>
|
||||
</li>
|
||||
</c:forEach>
|
||||
</ul>
|
||||
<input type="hidden" name="SuperpropertyURI" value="${datatypeProperty.URI}"/>
|
||||
<input type="submit" class="form-button" value="Remove Checked Subproperty Links"/>
|
||||
<input type="hidden" name="_epoKey" value="${epoKey}"/>
|
||||
<input type="hidden" name="operation" value="remove"/>
|
||||
</form>
|
||||
</c:if>
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="controller" value="Properties2Properties"/>
|
||||
<input type="hidden" name="SuperpropertyURI" value="${datatypeProperty.URI}"/>
|
||||
<input type="hidden" name="opMode" value="subproperty"/>
|
||||
<input type="hidden" name="propertyType" value="data"/>
|
||||
<input type="submit" class="form-button" value="New Link to Subproperty"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- _______________________________________________ equivalent properties _____________________________________________ -->
|
||||
<tr valign="bottom" align="center">
|
||||
<td colspan="2" valign="bottom" align="left">
|
||||
<c:if test="${!empty equivalentProperties}">
|
||||
<form action="props2PropsOp" method="post">
|
||||
<ul style="list-style-type:none;">
|
||||
<c:forEach var="eqproperty" items="${equivalentProperties}">
|
||||
<c:url var="eqpropertyURL" value="datapropEdit">
|
||||
<c:param name="uri" value="${eqproperty.URI}"/>
|
||||
</c:url>
|
||||
<li><input type="checkbox" name="SubpropertyURI" value="${eqproperty.URI}" class="form-item"/>
|
||||
<a href="${eqpropertyURL}"> ${eqproperty.localNameWithPrefix} </a>
|
||||
</li>
|
||||
</c:forEach>
|
||||
</ul>
|
||||
<input type="hidden" name="SuperpropertyURI" value="${datatypeProperty.URI}"/>
|
||||
<input type="submit" class="form-button" value="Remove Checked Equivalent Property Links"/>
|
||||
<input type="hidden" name="_epoKey" value="${epoKey}"/>
|
||||
<input type="hidden" name="operation" value="remove"/>
|
||||
<input type="hidden" name="opMode" value="equivalentProperty"/>
|
||||
</form>
|
||||
</c:if>
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<form action="editForm" method="get">
|
||||
<input type="hidden" name="controller" value="Properties2Properties"/>
|
||||
<input type="hidden" name="SuperpropertyURI" value="${datatypeProperty.URI}"/>
|
||||
<input type="hidden" name="opMode" value="equivalentProperty"/>
|
||||
<input type="hidden" name="propertyType" value="data"/>
|
||||
<input type="submit" class="form-button" value="New Link to Equivalent Property"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</jsp:root>
|
||||
|
|
|
@ -1,17 +1,17 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="2">
|
||||
<b>Name</b>
|
||||
<input name="Name" value="<form:value name="Name"/>"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="2">
|
||||
<b>URI</b>
|
||||
<input size="90%" name="Uri" value="<form:value name="Uri"/>"/>
|
||||
</td>
|
||||
</tr>
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="2">
|
||||
<b>Name</b>
|
||||
<input name="Name" value="<form:value name="Name"/>"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="2">
|
||||
<b>URI</b>
|
||||
<input size="90%" name="Uri" value="<form:value name="Uri"/>"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -1,33 +1,33 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<div class="editingForm">
|
||||
|
||||
<jsp:include page="/templates/edit/fetch/vertical.jsp"/>
|
||||
|
||||
<hr/>
|
||||
<p/>
|
||||
<div align=center>
|
||||
<table class="form-background" border="0" cellpadding="2" cellspacing="2">
|
||||
<tr valign="bottom" align="center">
|
||||
<td>
|
||||
<form action="fetch" method="post">
|
||||
<input type="submit" class="form-button" value="See All Datatypes"/>
|
||||
<input type="hidden" name="queryspec" value="private_datatypes"/>
|
||||
<input type="hidden" name="header" value="titleonly"/>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="bottom" align="center">
|
||||
<form action="datatype_retry" method="get">
|
||||
<input type="hidden" name="id" value="<%=request.getAttribute("firstvalue")%>"/>
|
||||
<input type="submit" class="form-button" value="Edit This Datatype"/>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<form action="datatype_retry" method="get">
|
||||
<input type="submit" class="form-button" value="Add New Datatype"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<div class="editingForm">
|
||||
|
||||
<jsp:include page="/templates/edit/fetch/vertical.jsp"/>
|
||||
|
||||
<hr/>
|
||||
<p/>
|
||||
<div align=center>
|
||||
<table class="form-background" border="0" cellpadding="2" cellspacing="2">
|
||||
<tr valign="bottom" align="center">
|
||||
<td>
|
||||
<form action="fetch" method="post">
|
||||
<input type="submit" class="form-button" value="See All Datatypes"/>
|
||||
<input type="hidden" name="queryspec" value="private_datatypes"/>
|
||||
<input type="hidden" name="header" value="titleonly"/>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="bottom" align="center">
|
||||
<form action="datatype_retry" method="get">
|
||||
<input type="hidden" name="id" value="<%=request.getAttribute("firstvalue")%>"/>
|
||||
<input type="submit" class="form-button" value="Edit This Datatype"/>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<form action="datatype_retry" method="get">
|
||||
<input type="submit" class="form-button" value="Add New Datatype"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
|
||||
<input type="hidden" value="disjointWith" name="opMode"/>
|
||||
<input type="hidden" value="add" name="operation"/>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<select name="SuperclassURI">
|
||||
<form:option name="SuperclassURI"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="SuperclassURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td><p><strong>disjoint with</strong></p></td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<select name="SubclassURI" >
|
||||
<form:option name="SubclassURI"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="SubclassURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
|
||||
<input type="hidden" value="disjointWith" name="opMode"/>
|
||||
<input type="hidden" value="add" name="operation"/>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<select name="SuperclassURI">
|
||||
<form:option name="SuperclassURI"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="SuperclassURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td><p><strong>disjoint with</strong></p></td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<select name="SubclassURI" >
|
||||
<form:option name="SubclassURI"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="SubclassURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -1,30 +1,30 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<tr class="editformcell" id="entityNameTr">
|
||||
<td valign="bottom" id="entityNameTd" colspan="2">
|
||||
<b>Individual Name *</b><br/>
|
||||
<input style="width:80%;" type="text" name="Name" value="<form:value name="Name"/>" />
|
||||
<c:set var="NameError"><form:error name="Name"/></c:set>
|
||||
<c:if test="${!empty NameError}">
|
||||
<span class="notice"><c:out value="${NameError}"/></span>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- begin datatype properties section -->
|
||||
|
||||
<tr class="editformcell" style="border-collapse:collapse;">
|
||||
<td colspan="2">
|
||||
<ul style="margin-left:0;padding-left:0;list-style-type:none">
|
||||
<form:dynamicFields type="dataprops" usePage="entity_retry_dataprops.jsp"/>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- end datatype properties section -->
|
||||
|
||||
|
||||
|
||||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<tr class="editformcell" id="entityNameTr">
|
||||
<td valign="bottom" id="entityNameTd" colspan="2">
|
||||
<b>Individual Name *</b><br/>
|
||||
<input style="width:80%;" type="text" name="Name" value="<form:value name="Name"/>" />
|
||||
<c:set var="NameError"><form:error name="Name"/></c:set>
|
||||
<c:if test="${!empty NameError}">
|
||||
<span class="notice"><c:out value="${NameError}"/></span>
|
||||
</c:if>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- begin datatype properties section -->
|
||||
|
||||
<tr class="editformcell" style="border-collapse:collapse;">
|
||||
<td colspan="2">
|
||||
<ul style="margin-left:0;padding-left:0;list-style-type:none">
|
||||
<form:dynamicFields type="dataprops" usePage="entity_retry_dataprops.jsp"/>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<!-- end datatype properties section -->
|
||||
|
||||
|
||||
|
||||
|
|
|
@ -1,42 +1,42 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<!-- this is a page set up to be parsed by the dynamicFields tag -->
|
||||
<!-- the datapropsNN, $$, $foo, and @x symbols are special notations understood by this tag and are not part of JSP -->
|
||||
|
||||
<!-- @pre -->
|
||||
|
||||
<li style="padding-top:0.8em;padding-bottom:0.5em;" id="datapropsNNsuper">
|
||||
<strong>$fieldName</strong><a id="datapropsNNaddLink" style="margin-left:0.5em;font-style:italic;font-weight:bold;" href="#" onClick="addLine(this, 'dataprops');return false;">add</a>
|
||||
|
||||
<span id="datapropsNNgenTaName" style="display:none;">$genTaName</span>
|
||||
|
||||
<ul id="datapropsNNul">
|
||||
|
||||
<li style="display:none;">This is a dummy li to make sure the ul has at least one child.</li>
|
||||
|
||||
<!-- @template -->
|
||||
|
||||
<li id="datapropsNN" style="margin-left:0em;margin-top:0.4em;margin-bottom:0.4em;">
|
||||
<div id="datapropsNNcontent">
|
||||
<span id="datapropsNNcontentValue">$$</span>
|
||||
<a id="datapropsNNeditLink" href="#" style="margin-left:0.8em;font-style:italic" onClick="convertLiToTextarea(this, 'dataprops');return false;">edit</a>
|
||||
<a id="datapropsNNdeleteLink" href="#" style="margin-left:0.8em;font-style:italic" onClick="deleteLine(this, 'dataprops');return false;">remove</a>
|
||||
<a id="datapropsNNundeleteLink" href="#" style="display:none;margin-left:0.8em;font-style:italic" onClick="undeleteLine(this, 'dataprops');return false;">restore</a>
|
||||
</div>
|
||||
<div id="datapropsNNta" style="display:none;">
|
||||
<div style="padding:0;margin:0;">
|
||||
<textarea style="margin:0;padding:0;width:95%;height:16ex;" id="datapropsNNtata" name="$taName">$$</textarea>
|
||||
</div>
|
||||
<div style="padding:0;margin:0;">
|
||||
<input id="datapropsNNokLink" style="margin:0;padding:0;" type="button" onClick="backToLi(this);return false;" value='OK'/>
|
||||
<input id="datapropsNNcancelLink" style="margin:0;padding:0;" type="button" onClick="cancelBackToLi(this);return false;" value='cancel'/>
|
||||
<input id="datapropsNNosLink" style="margin-left:5em;padding:0;" type="button" onClick="backToLi(this);submitPage();return false;" value='OK & save all changes'/>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<!-- @post -->
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
<!-- this is a page set up to be parsed by the dynamicFields tag -->
|
||||
<!-- the datapropsNN, $$, $foo, and @x symbols are special notations understood by this tag and are not part of JSP -->
|
||||
|
||||
<!-- @pre -->
|
||||
|
||||
<li style="padding-top:0.8em;padding-bottom:0.5em;" id="datapropsNNsuper">
|
||||
<strong>$fieldName</strong><a id="datapropsNNaddLink" style="margin-left:0.5em;font-style:italic;font-weight:bold;" href="#" onClick="addLine(this, 'dataprops');return false;">add</a>
|
||||
|
||||
<span id="datapropsNNgenTaName" style="display:none;">$genTaName</span>
|
||||
|
||||
<ul id="datapropsNNul">
|
||||
|
||||
<li style="display:none;">This is a dummy li to make sure the ul has at least one child.</li>
|
||||
|
||||
<!-- @template -->
|
||||
|
||||
<li id="datapropsNN" style="margin-left:0em;margin-top:0.4em;margin-bottom:0.4em;">
|
||||
<div id="datapropsNNcontent">
|
||||
<span id="datapropsNNcontentValue">$$</span>
|
||||
<a id="datapropsNNeditLink" href="#" style="margin-left:0.8em;font-style:italic" onClick="convertLiToTextarea(this, 'dataprops');return false;">edit</a>
|
||||
<a id="datapropsNNdeleteLink" href="#" style="margin-left:0.8em;font-style:italic" onClick="deleteLine(this, 'dataprops');return false;">remove</a>
|
||||
<a id="datapropsNNundeleteLink" href="#" style="display:none;margin-left:0.8em;font-style:italic" onClick="undeleteLine(this, 'dataprops');return false;">restore</a>
|
||||
</div>
|
||||
<div id="datapropsNNta" style="display:none;">
|
||||
<div style="padding:0;margin:0;">
|
||||
<textarea style="margin:0;padding:0;width:95%;height:16ex;" id="datapropsNNtata" name="$taName">$$</textarea>
|
||||
</div>
|
||||
<div style="padding:0;margin:0;">
|
||||
<input id="datapropsNNokLink" style="margin:0;padding:0;" type="button" onClick="backToLi(this);return false;" value='OK'/>
|
||||
<input id="datapropsNNcancelLink" style="margin:0;padding:0;" type="button" onClick="cancelBackToLi(this);return false;" value='cancel'/>
|
||||
<input id="datapropsNNosLink" style="margin-left:5em;padding:0;" type="button" onClick="backToLi(this);submitPage();return false;" value='OK & save all changes'/>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
||||
<!-- @post -->
|
||||
|
||||
</ul>
|
||||
</li>
|
||||
|
||||
|
|
|
@ -1,32 +1,32 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<tr class="editformcell" id="entityNameTr">
|
||||
<td valign="bottom" id="entityNameTd" colspan="1">
|
||||
<b>Individual Name</b><br/>
|
||||
<input type="text" name="field1Value" value="<form:value name="Name"/>" size="80" maxlength="255" />
|
||||
|
||||
<tr class="editformcell" id="entityNameTr">
|
||||
<td valign="bottom" id="entityNameTd" colspan="1">
|
||||
<b>Individual Name</b><br/>
|
||||
<input type="text" name="field1Value" value="<form:value name="Name"/>" size="80" maxlength="255" />
|
||||
<c:set var="NameError"><form:error name="Name"/></c:set>
|
||||
<c:if test="${!empty NameError}">
|
||||
<span class="notice"><c:out value="${NameError}"/></span>
|
||||
</c:if>
|
||||
</td>
|
||||
<td valign="top" id="displayStatusTd" colspan="1">
|
||||
<b>Display Status</b><br/>
|
||||
<select name="StatusId" >
|
||||
<form:option name="StatusId"/>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class='editformcell' id='GenericTypeTr'>
|
||||
<td valign="top" id="genericTypeTd" colspan="2">
|
||||
<b>Generic Type<br/>
|
||||
<select id="VclassId" name="VClassId" onChange="update();">
|
||||
<% // need to implement form:optgroup %>
|
||||
<form:option name="VClassId"/>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
</c:if>
|
||||
</td>
|
||||
<td valign="top" id="displayStatusTd" colspan="1">
|
||||
<b>Display Status</b><br/>
|
||||
<select name="StatusId" >
|
||||
<form:option name="StatusId"/>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class='editformcell' id='GenericTypeTr'>
|
||||
<td valign="top" id="genericTypeTd" colspan="2">
|
||||
<b>Generic Type<br/>
|
||||
<select id="VclassId" name="VClassId" onChange="update();">
|
||||
<% // need to implement form:optgroup %>
|
||||
<form:option name="VClassId"/>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
|
|
|
@ -1,19 +1,19 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<b>Individual<sup>*</sup></b><br/>
|
||||
<select name="_" disabled="disabled">
|
||||
<form:option name="IndividualURI"/>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="3">
|
||||
<b><form:value name="Dataprop"/><sup>*</sup></b><br/>
|
||||
<textarea name="Data" rows="6" cols="64"><form:value name="Data"/></textarea>
|
||||
<span class="warning"><form:error name="Data"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<b>Individual<sup>*</sup></b><br/>
|
||||
<select name="_" disabled="disabled">
|
||||
<form:option name="IndividualURI"/>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="3">
|
||||
<b><form:value name="Dataprop"/><sup>*</sup></b><br/>
|
||||
<textarea name="Data" rows="6" cols="64"><form:value name="Data"/></textarea>
|
||||
<span class="warning"><form:error name="Data"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<b>Subject Individual<sup>*</sup></b><br/>
|
||||
<select disabled="disabled" name="SubjectEntURI">
|
||||
<form:option name="SubjectEntURI"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="SubjectEntURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="3">
|
||||
<b><form:value name="Prop"/><sup>*</sup></b><br/>
|
||||
<b>Object Individual<sup>*</sup></b><br/>
|
||||
<select name="ObjectEntURI">
|
||||
<form:option name="ObjectEntURI"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="ObjectEntURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<b>Subject Individual<sup>*</sup></b><br/>
|
||||
<select disabled="disabled" name="SubjectEntURI">
|
||||
<form:option name="SubjectEntURI"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="SubjectEntURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="3">
|
||||
<b><form:value name="Prop"/><sup>*</sup></b><br/>
|
||||
<b>Object Individual<sup>*</sup></b><br/>
|
||||
<select name="ObjectEntURI">
|
||||
<form:option name="ObjectEntURI"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="ObjectEntURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -1,22 +1,22 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<b>Subject Individual<sup>*</sup></b><br/>
|
||||
<select name="RangeId">
|
||||
<form:option name="RangeId"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="RangeId"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="3">
|
||||
<b><form:value name="Prop"/><sup>*</sup></b><br/>
|
||||
<b>Subject Individual<sup>*</sup></b><br/>
|
||||
<select name="DomainId">
|
||||
<form:option name="DomainId"/>
|
||||
</select> <span class="warning"><form:error name="DomainId"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<b>Subject Individual<sup>*</sup></b><br/>
|
||||
<select name="RangeId">
|
||||
<form:option name="RangeId"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="RangeId"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top" colspan="3">
|
||||
<b><form:value name="Prop"/><sup>*</sup></b><br/>
|
||||
<b>Subject Individual<sup>*</sup></b><br/>
|
||||
<select name="DomainId">
|
||||
<form:option name="DomainId"/>
|
||||
</select> <span class="warning"><form:error name="DomainId"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -1,12 +1,12 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<% /* For now, not using XML syntax because the output XHTML is not indented */ %>
|
||||
<% /* <?xml version="1.0" encoding="UTF-8"?> */ %>
|
||||
<% /* <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
|
||||
xmlns:c="http://java.sun.com/jsp/jstl/core"
|
||||
xmlns:form="http://vitro.mannlib.cornell.edu/edit/tags"
|
||||
version="2.0"> */ %>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<% /* For now, not using XML syntax because the output XHTML is not indented */ %>
|
||||
<% /* <?xml version="1.0" encoding="UTF-8"?> */ %>
|
||||
<% /* <jsp:root xmlns:jsp="http://java.sun.com/JSP/Page"
|
||||
xmlns:c="http://java.sun.com/jsp/jstl/core"
|
||||
xmlns:form="http://vitro.mannlib.cornell.edu/edit/tags"
|
||||
version="2.0"> */ %>
|
||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
<%@ page import="edu.cornell.mannlib.vitro.webapp.auth.policy.PolicyHelper" %>
|
||||
<%@page import="edu.cornell.mannlib.vitro.webapp.auth.permissions.SimplePermission" %>
|
||||
|
@ -16,19 +16,19 @@
|
|||
request.setAttribute("isEditor", Boolean.TRUE);
|
||||
}
|
||||
%>
|
||||
|
||||
<div name="anybody" class="editingForm">
|
||||
<jsp:include page="/templates/edit/fetch/vertical.jsp"/>
|
||||
<c:set var='individual' value='${requestScope.entityWebapp}'/>
|
||||
|
||||
<c:if test="${isEditor}">
|
||||
<div name="authorized" align="center">
|
||||
<table class="form-background" border="0" cellpadding="2" cellspacing="2" width="100%">
|
||||
<tr valign="top" align="center">
|
||||
<td>
|
||||
<form action="entity" method="get">
|
||||
<input type="submit" class="form-button" value="Display This Individual (public)"/>
|
||||
<input type="hidden" name="uri" value="${individual.URI}"/>
|
||||
<div name="anybody" class="editingForm">
|
||||
<jsp:include page="/templates/edit/fetch/vertical.jsp"/>
|
||||
<c:set var='individual' value='${requestScope.entityWebapp}'/>
|
||||
|
||||
<c:if test="${isEditor}">
|
||||
<div name="authorized" align="center">
|
||||
<table class="form-background" border="0" cellpadding="2" cellspacing="2" width="100%">
|
||||
<tr valign="top" align="center">
|
||||
<td>
|
||||
<form action="entity" method="get">
|
||||
<input type="submit" class="form-button" value="Display This Individual (public)"/>
|
||||
<input type="hidden" name="uri" value="${individual.URI}"/>
|
||||
</form>
|
||||
|
||||
<c:set var="query"
|
||||
|
@ -70,47 +70,47 @@
|
|||
<input type="hidden" name="resultFormat" value="RS_TEXT"/>
|
||||
<input type="submit" class="form-button" value="Raw Statements with This Resource as Object"/>
|
||||
</form>
|
||||
|
||||
</td>
|
||||
<td valign="bottom" align="center">
|
||||
<form action="editForm" method="get">
|
||||
<input name="uri" type = "hidden" value="${individual.URI}" />
|
||||
<input name="controller" type = "hidden" value="Entity" />
|
||||
<input type="submit" class="form-button" value="Edit This Individual"/>
|
||||
</form><br/>
|
||||
|
||||
<c:if test="${!empty individual.externalIds}">
|
||||
<form action="editForm" method="get">
|
||||
<select name="multiplexedParam" class="form-item">
|
||||
<form:option name="externalIds"/>
|
||||
</select><br/>
|
||||
<input type="hidden" name="IndividualURI" value="${individual.URI}"/>
|
||||
<input type="submit" class="form-button" value="Edit External Identifiers"/>
|
||||
<input type="hidden" name="controller" value="ExternalId"/>
|
||||
</form>
|
||||
</c:if>
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<form name="newEntityForm" action="editForm" method="get">
|
||||
<select id="VClassURI" name="VClassURI" class="form-item">
|
||||
<form:option name="VClassURI"/>
|
||||
</select><br/>
|
||||
<input type="submit" class="form-button" value="Add New Individual of above Type"/>
|
||||
<input type="hidden" name="controller" value="Entity"/>
|
||||
</form>
|
||||
<form action="editForm" method="get">
|
||||
<input type="submit" class="form-button" value="Add an External Identifier"/>
|
||||
<input type="hidden" name="IndividualURI" value="${individual.URI}"/>
|
||||
<input type="hidden" name="controller" value="ExternalId"/>
|
||||
|
||||
</td>
|
||||
<td valign="bottom" align="center">
|
||||
<form action="editForm" method="get">
|
||||
<input name="uri" type = "hidden" value="${individual.URI}" />
|
||||
<input name="controller" type = "hidden" value="Entity" />
|
||||
<input type="submit" class="form-button" value="Edit This Individual"/>
|
||||
</form><br/>
|
||||
|
||||
<c:if test="${!empty individual.externalIds}">
|
||||
<form action="editForm" method="get">
|
||||
<select name="multiplexedParam" class="form-item">
|
||||
<form:option name="externalIds"/>
|
||||
</select><br/>
|
||||
<input type="hidden" name="IndividualURI" value="${individual.URI}"/>
|
||||
<input type="submit" class="form-button" value="Edit External Identifiers"/>
|
||||
<input type="hidden" name="controller" value="ExternalId"/>
|
||||
</form>
|
||||
</c:if>
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<form name="newEntityForm" action="editForm" method="get">
|
||||
<select id="VClassURI" name="VClassURI" class="form-item">
|
||||
<form:option name="VClassURI"/>
|
||||
</select><br/>
|
||||
<input type="submit" class="form-button" value="Add New Individual of above Type"/>
|
||||
<input type="hidden" name="controller" value="Entity"/>
|
||||
</form>
|
||||
<form action="editForm" method="get">
|
||||
<input type="submit" class="form-button" value="Add an External Identifier"/>
|
||||
<input type="hidden" name="IndividualURI" value="${individual.URI}"/>
|
||||
<input type="hidden" name="controller" value="ExternalId"/>
|
||||
</form>
|
||||
<form action="editForm" method="get">
|
||||
<input type="submit" class="form-button" value="Change URI"/>
|
||||
<input type="hidden" name="oldURI" value="${individual.URI}"/>
|
||||
<input type="hidden" name="mode" value="renameResource"/>
|
||||
<input type="hidden" name="controller" value="Refactor"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td colspan="3"><hr/></td></tr>
|
||||
|
||||
<!-- TYPES -->
|
||||
|
@ -123,9 +123,9 @@
|
|||
<c:forEach var="type" items="${types}">
|
||||
<c:url var="individualURL" value="entityEdit">
|
||||
<c:param name="uri" value="${type.URI}"/>
|
||||
</c:url>
|
||||
<c:url var="typeURL" value="/vclassEdit">
|
||||
<c:param name="uri" value="${type.URI}"/>
|
||||
</c:url>
|
||||
<c:url var="typeURL" value="/vclassEdit">
|
||||
<c:param name="uri" value="${type.URI}"/>
|
||||
</c:url>
|
||||
<li><input type="checkbox" name="TypeURI" value="${type.URI}" class="form-item"/><a href="${typeURL}"> ${type.localNameWithPrefix} </a></li>
|
||||
</c:forEach>
|
||||
|
@ -148,76 +148,76 @@
|
|||
</td>
|
||||
|
||||
</tr>
|
||||
|
||||
</table>
|
||||
|
||||
<c:if test="${dwrDisabled != true}">
|
||||
<div id="entityUriForDwr" style="visibility:hidden;">${individual.URI}</div>
|
||||
<div>
|
||||
<table class="form-background" border="0" cellpadding="2" cellspacing="2" width="100%">
|
||||
<tr><td colspan="3" align="center"><h2>Object (individual-to-individual) Property Statements</h2></td></tr>
|
||||
<tr><td><input id="newPropButton" class="form-button" type="button" value="add new statement" onclick="newProp();"/></td>
|
||||
<td><input class="form-button" type="button" value="refresh list" onclick="update();"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div align="center">
|
||||
<!-- ____________________ properties table using dwr ____________________ -->
|
||||
<div id="propertyTableDiv">
|
||||
<table class="form-background" border="1" width="100%" align="center">
|
||||
<thead class="form-table-head">
|
||||
<tr><th rowspan="1" colspan="1">Subject</th>
|
||||
<th rowspan="1" colspan="1">Predicate</th>
|
||||
<th rowspan="1" colspan="1">Object</th>
|
||||
<th colspan="3" rowspan="1">actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="propbody">
|
||||
<tr><td>test</td><td>values</td><td>test</td><td>values</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- ____________________ End of properties table ______________________ -->
|
||||
|
||||
<!-- _____________________ Start of hidden area ____________________ -->
|
||||
<!-- This is hidden and a copy gets put into the table when editing happens -->
|
||||
<div id="propeditdiv" style="display:none" class ="form-editingRow">
|
||||
<table width="100%">
|
||||
<tr><td>Predicate:</td>
|
||||
<td colspan="9">
|
||||
<select id="propertyList" class="form-item"
|
||||
onchange="fillRangeVClassList();">
|
||||
<option value="">select property</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td>Object Class:</td>
|
||||
<td colspan="9">
|
||||
<select id="vClassList" class="form-item" onchange="fillEntsList();">
|
||||
<option value="">select type</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td>Object Individual:</td>
|
||||
<td colspan="9"><select id="entitiesList" class="form-item"><option>select individual</option></select></td>
|
||||
|
||||
</table>
|
||||
|
||||
<c:if test="${dwrDisabled != true}">
|
||||
<div id="entityUriForDwr" style="visibility:hidden;">${individual.URI}</div>
|
||||
<div>
|
||||
<table class="form-background" border="0" cellpadding="2" cellspacing="2" width="100%">
|
||||
<tr><td colspan="3" align="center"><h2>Object (individual-to-individual) Property Statements</h2></td></tr>
|
||||
<tr><td><input id="newPropButton" class="form-button" type="button" value="add new statement" onclick="newProp();"/></td>
|
||||
<td><input class="form-button" type="button" value="refresh list" onclick="update();"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div align="center">
|
||||
<!-- ____________________ properties table using dwr ____________________ -->
|
||||
<div id="propertyTableDiv">
|
||||
<table class="form-background" border="1" width="100%" align="center">
|
||||
<thead class="form-table-head">
|
||||
<tr><th rowspan="1" colspan="1">Subject</th>
|
||||
<th rowspan="1" colspan="1">Predicate</th>
|
||||
<th rowspan="1" colspan="1">Object</th>
|
||||
<th colspan="3" rowspan="1">actions</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="propbody">
|
||||
<tr><td>test</td><td>values</td><td>test</td><td>values</td></tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- ____________________ End of properties table ______________________ -->
|
||||
|
||||
<!-- _____________________ Start of hidden area ____________________ -->
|
||||
<!-- This is hidden and a copy gets put into the table when editing happens -->
|
||||
<div id="propeditdiv" style="display:none" class ="form-editingRow">
|
||||
<table width="100%">
|
||||
<tr><td>Predicate:</td>
|
||||
<td colspan="9">
|
||||
<select id="propertyList" class="form-item"
|
||||
onchange="fillRangeVClassList();">
|
||||
<option value="">select property</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td>Object Class:</td>
|
||||
<td colspan="9">
|
||||
<select id="vClassList" class="form-item" onchange="fillEntsList();">
|
||||
<option value="">select type</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr><td>Object Individual:</td>
|
||||
<td colspan="9"><select id="entitiesList" class="form-item"><option>select individual</option></select></td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td><input type="button" id="saveButt" class="form-button"
|
||||
value="Save" onclick="writeProp()"/></td>
|
||||
<td><input type="button" id="dismissButt" class="form-button" value="cancel"
|
||||
onclick="update()"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="buildArea" style="display:none"></div>
|
||||
</div><!-- END div "entityUriForDwr" -->
|
||||
<!-- _________ End hidden area _________ -->
|
||||
|
||||
</c:if> <!-- end dwr section -->
|
||||
|
||||
</div><!-- END div "authorized" -->
|
||||
</c:if><!-- end if (securityLevel less than MIN_EDIT_ROLE) -->
|
||||
</div><!-- END div "anybody" -->
|
||||
|
||||
|
||||
<tr>
|
||||
<td><input type="button" id="saveButt" class="form-button"
|
||||
value="Save" onclick="writeProp()"/></td>
|
||||
<td><input type="button" id="dismissButt" class="form-button" value="cancel"
|
||||
onclick="update()"/></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
<div id="buildArea" style="display:none"></div>
|
||||
</div><!-- END div "entityUriForDwr" -->
|
||||
<!-- _________ End hidden area _________ -->
|
||||
|
||||
</c:if> <!-- end dwr section -->
|
||||
|
||||
</div><!-- END div "authorized" -->
|
||||
</c:if><!-- end if (securityLevel less than MIN_EDIT_ROLE) -->
|
||||
</div><!-- END div "anybody" -->
|
||||
|
||||
|
|
|
@ -1,37 +1,37 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%
|
||||
|
||||
request.setAttribute("dwrDisabled", new Boolean(false));
|
||||
String context = request.getContextPath();
|
||||
|
||||
%>
|
||||
|
||||
|
||||
<%
|
||||
if (!(Boolean)request.getAttribute("dwrDisabled")) {
|
||||
%>
|
||||
<script type="text/javascript">
|
||||
// relinquish jQuery's control of the $ variable to avoid conflicts with DWR
|
||||
jQuery.noConflict();
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" xml:space="preserve">
|
||||
var gEntityURI="${entity.URI}";
|
||||
</script> <!-- There has got to be a better way to pass this to the js -->
|
||||
|
||||
<script type="text/javascript" src="<%=context%>/dwr/interface/PropertyDWR.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/dwr/interface/EntityDWR.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/dwr/interface/VClassDWR.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/dwr/engine.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/dwr/util.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/js/betterDateInput.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/js/vitro.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/dojo.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/js/ents_edit.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/js/detect.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/js/toggle.js"></script>
|
||||
|
||||
<%
|
||||
} %>
|
||||
|
||||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%
|
||||
|
||||
request.setAttribute("dwrDisabled", new Boolean(false));
|
||||
String context = request.getContextPath();
|
||||
|
||||
%>
|
||||
|
||||
|
||||
<%
|
||||
if (!(Boolean)request.getAttribute("dwrDisabled")) {
|
||||
%>
|
||||
<script type="text/javascript">
|
||||
// relinquish jQuery's control of the $ variable to avoid conflicts with DWR
|
||||
jQuery.noConflict();
|
||||
</script>
|
||||
|
||||
<script type="text/javascript" xml:space="preserve">
|
||||
var gEntityURI="${entity.URI}";
|
||||
</script> <!-- There has got to be a better way to pass this to the js -->
|
||||
|
||||
<script type="text/javascript" src="<%=context%>/dwr/interface/PropertyDWR.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/dwr/interface/EntityDWR.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/dwr/interface/VClassDWR.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/dwr/engine.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/dwr/util.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/js/betterDateInput.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/js/vitro.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/dojo.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/js/ents_edit.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/js/detect.js"></script>
|
||||
<script type="text/javascript" src="<%=context%>/js/toggle.js"></script>
|
||||
|
||||
<%
|
||||
} %>
|
||||
|
||||
|
|
|
@ -1,26 +1,26 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
|
||||
<input type="hidden" value="equivalentClass" name="opMode"/>
|
||||
<input type="hidden" value="add" name="operation"/>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<select name="SuperclassURI">
|
||||
<form:option name="SuperclassURI"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="SuperclassURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td><p><strong>equivalent to</strong></p></td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<select name="SubclassURI" >
|
||||
<form:option name="SubclassURI"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="SubclassURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
|
||||
<input type="hidden" value="equivalentClass" name="opMode"/>
|
||||
<input type="hidden" value="add" name="operation"/>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<select name="SuperclassURI">
|
||||
<form:option name="SuperclassURI"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="SuperclassURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td><p><strong>equivalent to</strong></p></td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<select name="SubclassURI" >
|
||||
<form:option name="SubclassURI"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="SubclassURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -1,23 +1,23 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
|
||||
<input type="hidden" value="add" name="operation"/>
|
||||
<input type="hidden" value="${individual.URI}" name="individualURI"/>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
${individual.name}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td><p><strong>has type</strong></p></td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<select name="TypeURI" >
|
||||
<form:option name="types"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="TypeURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<%@ taglib prefix="form" uri="http://vitro.mannlib.cornell.edu/edit/tags" %>
|
||||
|
||||
<input type="hidden" value="add" name="operation"/>
|
||||
<input type="hidden" value="${individual.URI}" name="individualURI"/>
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
${individual.name}
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td><p><strong>has type</strong></p></td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="top">
|
||||
<select name="TypeURI" >
|
||||
<form:option name="types"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="TypeURI"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -1,36 +1,36 @@
|
|||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<div class="editingForm">
|
||||
|
||||
<jsp:include page="/templates/edit/fetch/vertical.jsp"/>
|
||||
|
||||
<hr/>
|
||||
<p/>
|
||||
<div align=center>
|
||||
<table class="form-background" border="0" cellpadding="2" cellspacing="2">
|
||||
<tr valign="bottom" align="center">
|
||||
<td>
|
||||
<form action="fetch" method="get">
|
||||
<input type="submit" class="form-button" value="See All Namespaces"/>
|
||||
<input type="hidden" name="queryspec" value="private_namespaces"/>
|
||||
<input type="hidden" name="header" value="titleonly"/>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="bottom" align="center">
|
||||
<form action="editForm" method="get">
|
||||
<input type="submit" class="form-button" value="Edit Namespace <%=request.getAttribute("firstvalue")%>"/>
|
||||
<input name="id" type = "hidden" value="<%=request.getAttribute("firstvalue")%>" />
|
||||
<input type="hidden" name="controller" value="Namespace"/>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<form action="editForm" method="get">
|
||||
<input type="submit" class="form-button" value="Add New Namespace"/>
|
||||
<input type="hidden" name="controller" value="Namespace"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%-- $This file is distributed under the terms of the license in /doc/license.txt$ --%>
|
||||
|
||||
<div class="editingForm">
|
||||
|
||||
<jsp:include page="/templates/edit/fetch/vertical.jsp"/>
|
||||
|
||||
<hr/>
|
||||
<p/>
|
||||
<div align=center>
|
||||
<table class="form-background" border="0" cellpadding="2" cellspacing="2">
|
||||
<tr valign="bottom" align="center">
|
||||
<td>
|
||||
<form action="fetch" method="get">
|
||||
<input type="submit" class="form-button" value="See All Namespaces"/>
|
||||
<input type="hidden" name="queryspec" value="private_namespaces"/>
|
||||
<input type="hidden" name="header" value="titleonly"/>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="bottom" align="center">
|
||||
<form action="editForm" method="get">
|
||||
<input type="submit" class="form-button" value="Edit Namespace <%=request.getAttribute("firstvalue")%>"/>
|
||||
<input name="id" type = "hidden" value="<%=request.getAttribute("firstvalue")%>" />
|
||||
<input type="hidden" name="controller" value="Namespace"/>
|
||||
</form>
|
||||
</td>
|
||||
<td valign="bottom">
|
||||
<form action="editForm" method="get">
|
||||
<input type="submit" class="form-button" value="Add New Namespace"/>
|
||||
<input type="hidden" name="controller" value="Namespace"/>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -1,51 +1,51 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:form="http://vitro.mannlib.cornell.edu/edit/tags" version="2.0">
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="bottom" colspan="2">
|
||||
<b>Email address*</b><br/>
|
||||
<input type="text" name="Username" value="${formValue['Username']}" size="60" maxlength="120" />
|
||||
<span class="warning"><form:error name="Username"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="bottom" colspan="1">
|
||||
<b>First Name*</b><br/>
|
||||
<input type="text" name="FirstName" value="${formValue['FirstName']}" size="30" maxlength="120"/>
|
||||
<span class="warning"><form:error name="FirstName"/></span>
|
||||
</td>
|
||||
<td valign="bottom" colspan="1">
|
||||
<b>Last Name*</b><br/>
|
||||
<input type="text" name="LastName" value="${formValue['LastName']}" size="30" maxlength="120"/>
|
||||
<span class="warning"><form:error name="LastName"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="bottom" colspan="2">
|
||||
<b>Role*</b><br/>
|
||||
<select name="RoleURI">
|
||||
<form:option name="Role"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="Role"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<c:if test="${empty user.md5password}">
|
||||
<tr class="editformcell">
|
||||
<td valign="bottom" colspan="2">
|
||||
<b>Temporary Password* (6-12 characters; must be changed on first login)</b><br/>
|
||||
<input type="password" name="Md5password" value="${formValue['Md5password']}" size="64" maxlength="128"/>
|
||||
<span class="warning"><form:error name="Md5password"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="bottom" colspan="2">
|
||||
<b>Confirm password*</b><br/>
|
||||
<input type="password" name="passwordConfirmation" value="${formValue['passwordConfirmation']}" size="64" maxlength="128"/>
|
||||
<span class="warning"><form:error name="passwordConfirmation"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
</jsp:root>
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" xmlns:c="http://java.sun.com/jsp/jstl/core" xmlns:form="http://vitro.mannlib.cornell.edu/edit/tags" version="2.0">
|
||||
|
||||
<tr class="editformcell">
|
||||
<td valign="bottom" colspan="2">
|
||||
<b>Email address*</b><br/>
|
||||
<input type="text" name="Username" value="${formValue['Username']}" size="60" maxlength="120" />
|
||||
<span class="warning"><form:error name="Username"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="bottom" colspan="1">
|
||||
<b>First Name*</b><br/>
|
||||
<input type="text" name="FirstName" value="${formValue['FirstName']}" size="30" maxlength="120"/>
|
||||
<span class="warning"><form:error name="FirstName"/></span>
|
||||
</td>
|
||||
<td valign="bottom" colspan="1">
|
||||
<b>Last Name*</b><br/>
|
||||
<input type="text" name="LastName" value="${formValue['LastName']}" size="30" maxlength="120"/>
|
||||
<span class="warning"><form:error name="LastName"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="bottom" colspan="2">
|
||||
<b>Role*</b><br/>
|
||||
<select name="RoleURI">
|
||||
<form:option name="Role"/>
|
||||
</select>
|
||||
<span class="warning"><form:error name="Role"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<c:if test="${empty user.md5password}">
|
||||
<tr class="editformcell">
|
||||
<td valign="bottom" colspan="2">
|
||||
<b>Temporary Password* (6-12 characters; must be changed on first login)</b><br/>
|
||||
<input type="password" name="Md5password" value="${formValue['Md5password']}" size="64" maxlength="128"/>
|
||||
<span class="warning"><form:error name="Md5password"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr class="editformcell">
|
||||
<td valign="bottom" colspan="2">
|
||||
<b>Confirm password*</b><br/>
|
||||
<input type="password" name="passwordConfirmation" value="${formValue['passwordConfirmation']}" size="64" maxlength="128"/>
|
||||
<span class="warning"><form:error name="passwordConfirmation"/></span>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
</jsp:root>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue