From 59e63ffe9bcfa76f912f2e3ae41b29256e309304 Mon Sep 17 00:00:00 2001 From: David Mason Date: Thu, 27 Oct 2011 15:51:14 +1000 Subject: [PATCH] display status while reindexing --- .../src/main/resources/messages.properties | 1 + .../zanata-war/src/main/webapp/admin/search.xhtml | 15 +++++++++++---- .../src/main/webapp/stylesheet/zanata.css | 6 ++++++ 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/server/zanata-war/src/main/resources/messages.properties b/server/zanata-war/src/main/resources/messages.properties index f1ccb8f573..3920645691 100644 --- a/server/zanata-war/src/main/resources/messages.properties +++ b/server/zanata-war/src/main/resources/messages.properties @@ -268,6 +268,7 @@ jsf.RegisterUrl=Register URL jsf.RegisterUrlExample=eg /zanata/account/register or http://example.com/register jsf.RegisterUrlToolTip=The user registration URL for the server jsf.ReindexFullTextSearchDatabase=Re-index full text search database +jsf.ReindexingInProgress=Re-indexing... jsf.RememberMe=Remember me jsf.Remove=Remove jsf.RemoveLocale=< Remove diff --git a/server/zanata-war/src/main/webapp/admin/search.xhtml b/server/zanata-war/src/main/webapp/admin/search.xhtml index a3492530c1..bae8c39b28 100644 --- a/server/zanata-war/src/main/webapp/admin/search.xhtml +++ b/server/zanata-war/src/main/webapp/admin/search.xhtml @@ -15,10 +15,17 @@ - - + + + + + + + diff --git a/server/zanata-war/src/main/webapp/stylesheet/zanata.css b/server/zanata-war/src/main/webapp/stylesheet/zanata.css index 20f699793b..2c2c458793 100755 --- a/server/zanata-war/src/main/webapp/stylesheet/zanata.css +++ b/server/zanata-war/src/main/webapp/stylesheet/zanata.css @@ -150,6 +150,12 @@ h1, h2, h3, h4, h5, h6 { width: 680px !important; } +.reindexStatusIndicator { + margin-top: 10px; + font-weight: bold; + font-style: italic; + margin-left: 20px; +} /** theme.css **/