ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From akuznet...@apache.org
Subject ignite git commit: IGNITE-843 Minor code cleanup.
Date Fri, 25 Sep 2015 08:59:51 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-843 eb24cd85d -> 2eec7bb13


IGNITE-843 Minor code cleanup.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/2eec7bb1
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/2eec7bb1
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/2eec7bb1

Branch: refs/heads/ignite-843
Commit: 2eec7bb130616f4f1ed69f1d3a9fa5a20d015e16
Parents: eb24cd8
Author: Alexey Kuznetsov <akuznetsov@apache.org>
Authored: Fri Sep 25 15:59:53 2015 +0700
Committer: Alexey Kuznetsov <akuznetsov@apache.org>
Committed: Fri Sep 25 15:59:53 2015 +0700

----------------------------------------------------------------------
 .../src/main/js/controllers/sql-controller.js                  | 6 +++---
 .../src/main/js/public/stylesheets/style.scss                  | 4 ++++
 2 files changed, 7 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/2eec7bb1/modules/control-center-web/src/main/js/controllers/sql-controller.js
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/controllers/sql-controller.js b/modules/control-center-web/src/main/js/controllers/sql-controller.js
index f1f32b4..0545cdd 100644
--- a/modules/control-center-web/src/main/js/controllers/sql-controller.js
+++ b/modules/control-center-web/src/main/js/controllers/sql-controller.js
@@ -334,7 +334,7 @@ controlCenterModule.controller('sqlController',
 
         _.forEach(paragraph.meta, function (meta, idx) {
             if (paragraph.columnFilter(meta)) {
-                paragraph.chartColumns.push({value: idx + 1, label: meta.fieldName});
+                paragraph.chartColumns.push({value: idx, label: meta.fieldName});
 
                 columnDefs.push({
                     headerName: meta.fieldName,
@@ -528,7 +528,7 @@ controlCenterModule.controller('sqlController',
             else {
                 var first = true;
 
-                for (var prop of meta) {
+                meta.forEach(function (prop) {
                     if (first)
                         first = false;
                     else
@@ -537,7 +537,7 @@ controlCenterModule.controller('sqlController',
                     var elem = row[prop.fieldName];
 
                     csvContent += elem ? JSON.stringify(elem) : '';
-                }
+                });
             }
 
             csvContent += '\n';

http://git-wip-us.apache.org/repos/asf/ignite/blob/2eec7bb1/modules/control-center-web/src/main/js/public/stylesheets/style.scss
----------------------------------------------------------------------
diff --git a/modules/control-center-web/src/main/js/public/stylesheets/style.scss b/modules/control-center-web/src/main/js/public/stylesheets/style.scss
index ab8ed1c..62f8600 100644
--- a/modules/control-center-web/src/main/js/public/stylesheets/style.scss
+++ b/modules/control-center-web/src/main/js/public/stylesheets/style.scss
@@ -268,6 +268,10 @@ h1, h2, h3, h4, h5, h6 {
 
 .container-footer {
     margin-top: 20px;
+
+    p {
+        font-size: 12px;
+    }
 }
 
 /* Modal */


Mime
View raw message