lucene-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sar...@apache.org
Subject [39/40] lucene-solr:apiv2: SOLR-9358: [AngularUI] In Cloud->Tree file view area, collapse metadata by default
Date Tue, 02 Aug 2016 01:07:59 GMT
SOLR-9358: [AngularUI] In Cloud->Tree file view area, collapse metadata by default


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

Branch: refs/heads/apiv2
Commit: d86c369533f0d3fc3cda9d15440521f39d84b750
Parents: 53a34b3
Author: Jan Høydahl <janhoy@apache.org>
Authored: Fri Jul 29 09:48:16 2016 +0200
Committer: Jan Høydahl <janhoy@apache.org>
Committed: Sun Jul 31 23:07:51 2016 +0200

----------------------------------------------------------------------
 solr/CHANGES.txt                      |  2 ++
 solr/webapp/web/css/angular/cloud.css | 14 ++++++++++++++
 solr/webapp/web/partials/cloud.html   |  3 ++-
 3 files changed, 18 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/d86c3695/solr/CHANGES.txt
----------------------------------------------------------------------
diff --git a/solr/CHANGES.txt b/solr/CHANGES.txt
index 8e5b74f..ac4fb21 100644
--- a/solr/CHANGES.txt
+++ b/solr/CHANGES.txt
@@ -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.

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/d86c3695/solr/webapp/web/css/angular/cloud.css
----------------------------------------------------------------------
diff --git a/solr/webapp/web/css/angular/cloud.css b/solr/webapp/web/css/angular/cloud.css
index bbb66ae..4017c22 100644
--- a/solr/webapp/web/css/angular/cloud.css
+++ b/solr/webapp/web/css/angular/cloud.css
@@ -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;

http://git-wip-us.apache.org/repos/asf/lucene-solr/blob/d86c3695/solr/webapp/web/partials/cloud.html
----------------------------------------------------------------------
diff --git a/solr/webapp/web/partials/cloud.html b/solr/webapp/web/partials/cloud.html
index ef39bb3..415e123 100644
--- a/solr/webapp/web/partials/cloud.html
+++ b/solr/webapp/web/partials/cloud.html
@@ -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">


Mime
View raw message