Reimplementing main site admin page in Freemarker: ontology editor panel
This commit is contained in:
parent
510321a192
commit
a79d4067a6
14 changed files with 232 additions and 120 deletions
|
@ -11,7 +11,7 @@
|
|||
|
||||
<form action="${dataInput.formAction}" method="get">
|
||||
<select id="VClassURI" name="typeOfNew" class="form-item">
|
||||
<@form.optionGroups groups=dataInput.classGroupOptions />
|
||||
<@form.optionGroups groups=dataInput.groupedClassOptions />
|
||||
</select>
|
||||
<input type="hidden" name="editform" value="newIndividualForm.jsp"/>
|
||||
<input type="submit" class="add-action-button" value="Add individual of this class"/>
|
||||
|
|
|
@ -1,3 +1,42 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- Template for Site Administration Ontology Editor -->
|
||||
<#-- Template for Site Administration Ontology Editor -->
|
||||
|
||||
<#if ontologyEditor??>
|
||||
<div class="pageBodyGroup">
|
||||
|
||||
<h3>Ontology Editor</h3>
|
||||
|
||||
<#if ontologyEditor.pellet??>
|
||||
<p>${ontologyEditor.pellet.error}</p>
|
||||
<#if ontologyEditor.pellet.explanation??>
|
||||
<p>${ontologyEditor.pellet.explanation}</p>
|
||||
</#if>
|
||||
</#if>
|
||||
|
||||
<ul>
|
||||
<li><a href="${ontologyEditor.urls.ontologies}">Ontology list</a></li>
|
||||
</ul>
|
||||
|
||||
<h4>Class Management</h4>
|
||||
<ul>
|
||||
<li><a href="${ontologyEditor.urls.classHierarchy}">Class hierarchy</a></li>
|
||||
<li><a href="${ontologyEditor.urls.classGroups}">Class groups</a></li>
|
||||
</ul>
|
||||
|
||||
<h4>Property Management</h4>
|
||||
<ul>
|
||||
<li><a href="${ontologyEditor.urls.objectPropertyHierarchy}">Object property hierarchy</a></li>
|
||||
<li><a href="${ontologyEditor.urls.dataPropertyHierarchy}">Data property hierarchy</a></li>
|
||||
<li><a href="${ontologyEditor.urls.propertyGroups}">Property groups</a></li>
|
||||
</ul>
|
||||
|
||||
<#assign formId = "verbosePropertyForm">
|
||||
<form id="${formId}" action="${ontologyEditor.verbosePropertyForm.action}#${formId}" method="get">
|
||||
<input type="hidden" name="verbose" value="${ontologyEditor.verbosePropertyForm.verboseFieldValue}" />
|
||||
<span>Verbose property display for this session is <b>${ontologyEditor.verbosePropertyForm.currentValue}</b>.</span>
|
||||
<input type="submit" value="Turn ${ontologyEditor.verbosePropertyForm.newValue}" />
|
||||
</form>
|
||||
|
||||
</div>
|
||||
</#if>
|
|
@ -8,17 +8,17 @@
|
|||
<h3>Site Configuration</h3>
|
||||
|
||||
<ul>
|
||||
<#if siteConfig.listPortalsUrl??>
|
||||
<li><a href="${siteConfig.siteInfoUrl}">Current portal information</a></li>
|
||||
<li><a href="${siteConfig.listPortalsUrl}">List all portals</a></li>
|
||||
<#if siteConfig.urls.portals??>
|
||||
<li><a href="${siteConfig.urls.siteInfo}">Current portal information</a></li>
|
||||
<li><a href="${siteConfig.urls.portals}">List all portals</a></li>
|
||||
<#else>
|
||||
<li><a href="${siteConfig.siteInfoUrl}">Site information</a></li>
|
||||
<li><a href="${siteConfig.urls.siteInfo}">Site information</a></li>
|
||||
</#if>
|
||||
|
||||
<li><a href="${siteConfig.tabManagementUrl}">Tab management</a></li>
|
||||
<li><a href="${siteConfig.urls.tabs}">Tab management</a></li>
|
||||
|
||||
<#if siteConfig.userManagementUrl??>
|
||||
<li><a href="${siteConfig.userManagementUrl}">User accounts</a></li>
|
||||
<#if siteConfig.urls.users??>
|
||||
<li><a href="${siteConfig.urls.users}">User accounts</a></li>
|
||||
</#if>
|
||||
|
||||
</ul>
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
|
||||
Output a sequence of option groups with options.
|
||||
|
||||
Input is a map of option groups to a list of Option objects.
|
||||
Input is a map of option groups to lists of Option objects.
|
||||
|
||||
Usage: <@optionGroups groups=myOptionGroups />
|
||||
-->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue