SOLR-9358: [AngularUI] In Cloud->Tree file view area, collapse metadata by default

This commit is contained in:
Jan Høydahl 2016-07-29 09:48:16 +02:00
parent 53a34b312e
commit d86c369533
3 changed files with 18 additions and 1 deletions

View File

@ -219,6 +219,8 @@ Other Changes
* SOLR-9340: Change ZooKeeper disconnect and session expiry related logging from INFO to WARN to
make debugging easier (Varun Thacker)
* SOLR-9358: [AngularUI] In Cloud->Tree file view area, collapse metadata by default (janhoy)
================== 6.1.0 ==================
Consult the LUCENE_CHANGES.txt file for additional, low level, changes in this release.

View File

@ -184,6 +184,20 @@ limitations under the License.
background-image: url( ../../img/ico/cross-1.png );
}
#content #cloud #file-content #toggle.plus
{
font-style: italic;
padding-left: 17px;
background-image: url( ../../img/ico/toggle-small-expand.png );
}
#content #cloud #file-content #toggle.minus
{
font-style: italic;
padding-left: 17px;
background-image: url( ../../img/ico/toggle-small.png );
}
#content #cloud #file-content #data
{
border-top: 1px solid #c0c0c0;

View File

@ -23,7 +23,8 @@ limitations under the License.
<div id="file-content" class="clearfix">
<div id="prop" ng-show="znode.prop && showData">
<a id="toggle" ng-click="showProps = !showProps" ng-show="showData" ng-class="showProps ? 'minus' : 'plus'">Metadata</a>
<div id="prop" ng-show="znode.prop && showData && showProps">
<ul>
<li ng-class="{odd:$odd}" ng-repeat="(key, prop) in znode.prop">
<dl class="clearfix">