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

[33/50] [abbrv] lucene-solr:jira/solr-10290: SOLR-8149: Admin UI - Plugins / Stats - active item is now highlighted

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


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

Branch: refs/heads/jira/solr-10290
Commit: f627c9fbaf225684401fe2166c454f91999266b7
Parents: 09a7cba
Author: Jan Høydahl <ja...@apache.org>
Authored: Mon May 8 10:48:20 2017 +0200
Committer: Cassandra Targett <ca...@lucidworks.com>
Committed: Wed May 10 07:30:33 2017 -0500

----------------------------------------------------------------------
 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/f627c9fb/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 01d7b2c..7f81344 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -315,6 +315,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/f627c9fb/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 03dc2ea..3b7830d 100644
--- a/solr/webapp/web/css/angular/plugins.css
+++ b/solr/webapp/web/css/angular/plugins.css
@@ -166,6 +166,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/f627c9fb/solr/webapp/web/partials/plugins.html
----------------------------------------------------------------------
diff --git a/solr/webapp/web/partials/plugins.html b/solr/webapp/web/partials/plugins.html
index bd122a7..aaa424d 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>