NIHVIVO-2941 Added template for index and cache rebuilding.
This commit is contained in:
parent
902d15287d
commit
d744264198
3 changed files with 31 additions and 3 deletions
|
@ -3,7 +3,6 @@
|
|||
/* Admin Dashboard */
|
||||
|
||||
#adminDashboard {
|
||||
margin-top: 1em;
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
}
|
||||
|
@ -12,8 +11,7 @@
|
|||
clear: right;
|
||||
display: inline-block;
|
||||
width: 45%;
|
||||
margin-top: 2em;
|
||||
margin-bottom: 1em;
|
||||
margin: 1em 0;
|
||||
padding: 0 1em;
|
||||
}
|
||||
#adminDashboard .pageBodyGroup h4 {
|
||||
|
|
|
@ -0,0 +1,29 @@
|
|||
<#-- $This file is distributed under the terms of the license in /doc/license.txt$ -->
|
||||
|
||||
<#-- Template for the main Site Administration page -->
|
||||
|
||||
<#-- <#if indexRebuildCache?has_content> -->
|
||||
<section class="pageBodyGroup indexCacheRebuild">
|
||||
<h3>Refresh Content</h3>
|
||||
|
||||
<ul>
|
||||
|
||||
<#if indexCacheRebuild.urls.rebuildSearchIndex??>
|
||||
<li><a href="${indexCacheRebuild.urls.rebuildSearchIndex }">Rebuild search index</a></li>
|
||||
</#if>
|
||||
|
||||
<#if indexCacheRebuild.urls.rebuildClassGroupCache??>
|
||||
<li><a href="${indexCacheRebuild.urls.rebuildClassGroupCache}">Rebuild class group cache</a></li>
|
||||
</#if>
|
||||
|
||||
<#if indexCacheRebuild.urls.rebuildVisCache??>
|
||||
<li><a href="indexCacheRebuild.urls.rebuildVisCache">Rebuild visualization cache</a></li>
|
||||
</#if>
|
||||
|
||||
<#if indexCacheRebuild.urls.recomputeInferences??>
|
||||
<li><a href="${indexCacheRebuild.urls.recomputeInferences}">Recompute inferences</a></li>
|
||||
</#if>
|
||||
|
||||
</ul>
|
||||
</section>
|
||||
<#-- </#if> -->
|
|
@ -13,4 +13,5 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/admin.css" />')
|
|||
<#include "siteAdmin-siteConfiguration.ftl">
|
||||
<#include "siteAdmin-ontologyEditor.ftl">
|
||||
<#include "siteAdmin-advancedDataTools.ftl">
|
||||
<#include "siteAdmin-indexCacheRebuild.ftl">
|
||||
</div>
|
Loading…
Add table
Add a link
Reference in a new issue