Normalize line endings VIVO-101
This commit is contained in:
parent
b097a4d754
commit
54f79f2ea7
587 changed files with 91501 additions and 91501 deletions
|
@ -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" -->
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue