You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by ja...@apache.org on 2017/05/08 09:10:50 UTC

lucene-solr:branch_6x: SOLR-8149: Admin UI - Plugins / Stats - active item is now highlighted

Repository: lucene-solr
Updated Branches:
  refs/heads/branch_6x 1f7974acc -> 666b5d365


SOLR-8149: Admin UI - Plugins / Stats - active item is now highlighted

(cherry picked from commit 37df644)


Project: http://git-wip-us.apache.org/repos/asf/lucene-solr/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucene-solr/commit/666b5d36
Tree: http://git-wip-us.apache.org/repos/asf/lucene-solr/tree/666b5d36
Diff: http://git-wip-us.apache.org/repos/asf/lucene-solr/diff/666b5d36

Branch: refs/heads/branch_6x
Commit: 666b5d365672772e1d440b39ce932ad44547868a
Parents: 1f7974a
Author: Jan Høydahl <ja...@apache.org>
Authored: Mon May 8 10:48:20 2017 +0200
Committer: Jan Høydahl <ja...@apache.org>
Committed: Mon May 8 10:52:01 2017 +0200

----------------------------------------------------------------------
 solr/CHANGES.txt                        | 2 ++
 solr/webapp/web/css/angular/plugins.css | 6 ++++++
 solr/webapp/web/partials/plugins.html   | 6 +++---
 3 files changed, 11 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/666b5d36/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index cc33aa8..156f64e 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -211,6 +211,8 @@ Bug Fixes
   After core container shutdown or severe initialization problem Solr responds with 
   http stauts 404 Not Found instead of 500 as it was before (Mikhail Khludnev) 
 
+* SOLR-8149: Admin UI - Plugins / Stats - active item is now highlighted (Labuzov Dmitriy via janhoy)
+
 Other Changes
 ----------------------
 

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/666b5d36/solr/webapp/web/css/angular/plugins.css
----------------------------------------------------------------------
diff --git a/solr/webapp/web/css/angular/plugins.css b/solr/webapp/web/css/angular/plugins.css
index eb524c4..041c2ee 100644
--- a/solr/webapp/web/css/angular/plugins.css
+++ b/solr/webapp/web/css/angular/plugins.css
@@ -167,6 +167,12 @@ limitations under the License.
   background-color:#F0F3FF;
 }
 
+#content #plugins .active a
+{
+  background-color: #d0d0d0;
+  border-color: #d0d0d0;
+}
+
 #recording #blockUI
 {
     position: absolute;

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/666b5d36/solr/webapp/web/partials/plugins.html
----------------------------------------------------------------------
diff --git a/solr/webapp/web/partials/plugins.html b/solr/webapp/web/partials/plugins.html
index d95fc9b..b6f0880 100644
--- a/solr/webapp/web/partials/plugins.html
+++ b/solr/webapp/web/partials/plugins.html
@@ -48,9 +48,9 @@ limitations under the License.
   <div id="navigation" class="clearfix">
 
     <ul>
-        <li ng-repeat="type in types" class="{{type.lower}}">
-            <a ng-click="selectPluginType(type)" rel="{{type.name}}">{{type.name}}
-                <span ng-show="type.changes">{{type.changes}}</span>
+        <li ng-repeat="typeObj in types" class="{{typeObj.lower}}" ng-class="{active:typeObj==type}">
+            <a ng-click="selectPluginType(typeObj)" rel="{{typeObj.name}}">{{typeObj.name}}
+                <span ng-show="typeObj.changes">{{typeObj.changes}}</span>
             </a>
         </li>
         <li class="PLUGINCHANGES"><a ng-click="startRecording()">Watch Changes</a></li>