NIHVIVO-3302 Clarify whether the search index is being rebuilt or updated, and how long it has taken so far.

This commit is contained in:
j2blake 2011-11-11 23:06:38 +00:00
parent 6d8494f7f6
commit 8e3c156f9e
4 changed files with 58 additions and 13 deletions

View file

@ -4,7 +4,7 @@
Template for the page that controls the updating or rebuilding of the Search Index.
-->
<h1>Search Index Status</h1>
<h2>Search Index Status</h2>
<#if worklevel == "IDLE">
<#if hasPreviousBuild??>
@ -12,12 +12,16 @@
</#if>
<form action="${actionUrl}" method="POST">
<input type="submit" name="update" value="Update">
Add the latest changes to the index.
<br>
<input type="submit" name="rebuild" value="Rebuild">
Start with an empty index and build it completely.
<p>
<input type="submit" name="update" value="Update">
Add the latest changes to the index.
</p>
<p>
<input type="submit" name="rebuild" value="Rebuild">
Start with an empty index and build it completely.
</p>
</form>
<#else>
<p>Active since ${since?string("hh:mm:ss a, MMMM dd, yyyy")}</p>
<h3>The search index is currently being ${currentTask}.</h3>
<p>since ${since?string("hh:mm:ss a, MMMM dd, yyyy")}, elapsed time ${elapsed}</p>
</#if>