Skip to content

armgit / solr

Public Imported from GitHub
0

Apache Solr open-source search software

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

Jan Høydahl37df64450ee2
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 01d7b2ce217..7f81344d50a 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
----------------------
diff --git a/solr/webapp/web/css/angular/plugins.css b/solr/webapp/web/css/angular/plugins.css
index 03dc2eacf40..3b7830dd238 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;
diff --git a/solr/webapp/web/partials/plugins.html b/solr/webapp/web/partials/plugins.html
index bd122a75495..aaa424d3b81 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>