You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ep...@apache.org on 2020/07/06 18:27:56 UTC

[lucene-solr] 01/02: hide error message template until angular app has loaded

This is an automated email from the ASF dual-hosted git repository.

epugh pushed a commit to branch SOLR-14422-progressive-render-load-main-admin-page
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git

commit 565f7db57434aa621a1fbfcfaa4aa32ce5bd8577
Author: epugh <ep...@opensourceconnections.com>
AuthorDate: Mon Jul 6 14:27:19 2020 -0400

    hide error message template until angular app has loaded
---
 solr/webapp/web/index.html | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/solr/webapp/web/index.html b/solr/webapp/web/index.html
index 452c5b3..a51f588 100644
--- a/solr/webapp/web/index.html
+++ b/solr/webapp/web/index.html
@@ -106,7 +106,7 @@ limitations under the License.
 
     <div id="main" class="clearfix">
 
-      <div class="header-message" id="init-failures" ng-show="showInitFailures">
+      <div class="header-message" id="init-failures" ng-show="showInitFailures" ng-cloak>
 
           <h2>SolrCore Initialization Failures</h2>
           <ul>
@@ -131,7 +131,7 @@ limitations under the License.
     <p>Continuing to load data...</p>
   </div>
       </div>
-      <div id="http-exception" class="header-message" ng-repeat="(url, exception) in exceptions">
+      <div id="http-exception" class="header-message" ng-repeat="(url, exception) in exceptions" ng-cloak>
         <div class="exception">{{exception.msg}}</div>
       </div>
 
@@ -148,16 +148,16 @@ limitations under the License.
             <li id="environment" ng-class="environment" ng-show="showEnvironment" ng-style="environment_color !== undefined ? {'background-color': environment_color} : ''">{{ environment_label }}</li>
 
             <li id="login" class="global" ng-class="{active:page=='login'}" ng-show="http401 || currentUser"><p><a href="#/login">{{http401 ? "Login" : "Logout " + currentUser}}</a></p></li>
-            
+
             <li id="index" class="global" ng-class="{active:page=='index'}"><p><a href="#/">Dashboard</a></p></li>
-  
+
             <div ng-show="!http401">
               <li id="logging" class="global" ng-class="{active:page=='logging'}"><p><a href="#/~logging">Logging</a></p>
                 <ul ng-show="showingLogging">
                   <li class="level" ng-class="{active:page=='logging-levels'}"><a href="#/~logging/level">Level</a></li>
                 </ul>
               </li>
-  
+
               <li id="cloud" class="global optional" ng-show="isCloudEnabled" ng-class="{active:showingCloud}"><p><a href="#/~cloud">Cloud</a></p>
                 <ul ng-show="showingCloud">
                   <li class="nodes" ng-class="{active:page=='cloud-nodes'}"><a href="#/~cloud?view=nodes">Nodes</a></li>
@@ -166,12 +166,12 @@ limitations under the License.
                   <li class="graph" ng-class="{active:page=='cloud-graph'}"><a href="#/~cloud?view=graph">Graph</a></li>
                 </ul>
               </li>
-  
+
               <li ng-show="isCloudEnabled" id="collections" class="global" ng-class="{active:page=='collections'}"><p><a href="#/~collections">Collections</a></p></li>
               <li ng-hide="isCloudEnabled" id="cores" class="global" ng-class="{active:page=='cores'}"><p><a href="#/~cores">Core Admin</a></p></li>
-  
+
               <li id="java-properties" class="global" ng-class="{active:page=='java-props'}"><p><a href="#/~java-properties">Java Properties</a></li>
-  
+
               <li id="threads" class="global" ng-class="{active:page=='threads'}"><p><a href="#/~threads">Thread Dump</a></p></li>
               <li ng-show="isCloudEnabled" id="cluster-suggestions" class="global" ng-class="{active:page=='cluster-suggestions'}"><p><a href="#/~cluster-suggestions">Suggestions</a></p></li>
             </div>