From 750d77c31c915efcebb172a6f6fa7d115a1f90bf Mon Sep 17 00:00:00 2001 From: hjkhjk54 Date: Tue, 6 Dec 2011 18:46:41 +0000 Subject: [PATCH] moving auto complete forms to VIVO b/c rely on autocomplete javascript that exists in VIVO --- .../edit/forms/autoCompleteDatapropForm.ftl | 69 -------------- .../edit/forms/autoCompleteObjpropForm.ftl | 91 ------------------- 2 files changed, 160 deletions(-) delete mode 100644 webapp/web/templates/freemarker/edit/forms/autoCompleteDatapropForm.ftl delete mode 100644 webapp/web/templates/freemarker/edit/forms/autoCompleteObjpropForm.ftl diff --git a/webapp/web/templates/freemarker/edit/forms/autoCompleteDatapropForm.ftl b/webapp/web/templates/freemarker/edit/forms/autoCompleteDatapropForm.ftl deleted file mode 100644 index acf118276..000000000 --- a/webapp/web/templates/freemarker/edit/forms/autoCompleteDatapropForm.ftl +++ /dev/null @@ -1,69 +0,0 @@ -<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> - -<#-- autocomplete template for data properties --> - -<#-- NOTE the jsp contained the following which has not been converted - - - - - - ---> - - - -

${formTitle}

- -
- - <#if predicate.publicDescription?has_content > -

${predicate.publicDescription}

- -

- -

- -

- - or Cancel -

- -
diff --git a/webapp/web/templates/freemarker/edit/forms/autoCompleteObjpropForm.ftl b/webapp/web/templates/freemarker/edit/forms/autoCompleteObjpropForm.ftl deleted file mode 100644 index 0e73ae645..000000000 --- a/webapp/web/templates/freemarker/edit/forms/autoCompleteObjpropForm.ftl +++ /dev/null @@ -1,91 +0,0 @@ -<#-- $This file is distributed under the terms of the license in /doc/license.txt$ --> - -<#--Assign variables from editConfig--> -<#assign rangeOptions = editConfiguration.pageData.objectVar /> -<#assign rangeOptionsExist = false /> -<#if (rangeOptions?keys?size > 0)> - <#assign rangeOptionsExist = true/> - - -

${editConfiguration.formTitle}

- -<#if editConfiguration.propertySelectFromExisting = true> - <#if rangeOptionsExist = true > - <#assign rangeOptionKeys = rangeOptions?keys /> -
- - <#if editConfiguration.propertyPublicDescription?has_content> -

${editConfiguration.propertyPublicDescription}

- - - - - <#---This section should become autocomplete instead--> -

- - -

- -
-

- - - (Verify this match) -

-
- - - <#--The above section should be autocomplete--> - - -

- - or - Cancel -

-
- <#else> -

There are no entries in the system from which to select.

- - - -<#if editConfiguration.propertyOfferCreateNewOption = true> -<#include "defaultOfferCreateNewOptionForm.ftl"> - - - -<#if editConfiguration.propertySelectFromExisting = false && editConfiguration.propertyOfferCreateNewOption = false> -

This property is currently configured to prohibit editing.

- - - -<#if editConfiguration.includeDeletionForm = true> -<#include "defaultDeletePropertyForm.ftl"> - - - -<#assign sparqlQueryUrl = "${urls.base}/ajax/sparqlQuery" > - - - - - -${stylesheets.add('')} - ${stylesheets.add('')} - ${stylesheets.add('')} - - - ${scripts.add('', - '', - '', - '')}