diff --git a/webapp/web/css/menupage/institutinalInternalClass.css b/webapp/web/css/menupage/institutinalInternalClass.css new file mode 100644 index 000000000..5238e25db --- /dev/null +++ b/webapp/web/css/menupage/institutinalInternalClass.css @@ -0,0 +1,15 @@ +/* $This file is distributed under the terms of the license in /doc/license.txt$ */ + +#localClassName { + margin-bottom: 0; +} +#createNewLocalClass p.note { + margin-top: 3px; + margin-bottom: 15px; +} +#noLocalOntologyExists p { + padding: 0.2em 0.4em; + background: #f4f4f4; + margin-right: .4em; + display: inline-block; +} \ No newline at end of file diff --git a/webapp/web/templates/freemarker/edit/forms/institutionalInternalClassForm.ftl b/webapp/web/templates/freemarker/edit/forms/institutionalInternalClassForm.ftl index 2b24ac5a3..50aae2354 100644 --- a/webapp/web/templates/freemarker/edit/forms/institutionalInternalClassForm.ftl +++ b/webapp/web/templates/freemarker/edit/forms/institutionalInternalClassForm.ftl @@ -6,76 +6,79 @@ To be associated later (upon completion of N3 Refactoring) with edu.cornell.mannlib.vitro.webapp.edit.n3editing.configuration.generators.InstitutionalInternalClassForm. --> - - -

Institutional Internal Class

+

Institutional Internal Class

-

This class will be used to designate those individuals internal to your institution. - This will allow you to limit the individuals displayed on your menu pages (People, Research, etc.) - to only those within your institution.

+

This class will be used to designate those individuals internal to your institution.

+

This will allow you to limit the individuals displayed on your menu pages (People, Research, etc.) + to only those within your institution.

-
-
- - <#--If no local ontologies, display message for user to create a local ontology--> - <#if ontologiesExist = false> -
-

${noLocalOntologiesMessage}

-
- - <#--else if local ontologies exist and local classes exist, show drop-down of local classes--> - <#elseif useExistingLocalClass?has_content> -
- <#--Populated based on class list returned--> - -

Can't find an appropriate class? Create a new one.

+
+ + + + <#--If no local ontologies, display message for user to create a local ontology--> + <#if ontologiesExist = false> +
+

There are currently no local ontologies. You must create a new local ontology

+ <#--else if local ontologies exist and local classes exist, show drop-down of local classes--> + <#elseif useExistingLocalClass?has_content> +
+ <#--Populated based on class list returned--> + + + + +

Can't find an appropriate class? Create a new one.

+
+ <#--if parameter to create new class passed or if there are local ontologies but no local classes, show create new class page--> <#elseif createNewClass?has_content> -
-

Create a new class

- - - - <#--If more than one local namespace, generate select--> - <#if multipleLocalNamespaces = true> - - <#else> - - - +
+

Create a new class

+ + + +

use capitals for the first letter of each word

+ + <#--If more than one local namespace, generate select--> + <#if multipleLocalNamespaces = true> + + + + <#else> + +
+ <#--this case is an error case--> <#else> - Problematic section as above should all have been handled +

Problematic section as above should all have been handled

- + <#--only show submit and cancel if ontologies exist--> <#if ontologiesExist = true> - or Cancel - - + or Cancel +
-<#-- Add necessary css files associated with this page -${stylesheets.add('')}--> +${stylesheets.add('')} ${stylesheets.add('')} -<#-- Add necessary javascript files associated with this page -${scripts.add('')} --->