ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jonathanhur...@apache.org
Subject [38/47] ambari git commit: AMBARI-18983. Service Summary fix add widget button size (akovalenko)
Date Mon, 28 Nov 2016 13:39:30 GMT
AMBARI-18983. Service Summary fix add widget button size (akovalenko)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/3081aec3
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/3081aec3
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/3081aec3

Branch: refs/heads/branch-feature-AMBARI-18456
Commit: 3081aec39c0f6dfc13545667ec1a1b2ef87d3b06
Parents: c9f6944
Author: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Authored: Thu Nov 24 10:59:37 2016 +0200
Committer: Aleksandr Kovalenko <akovalenko@hortonworks.com>
Committed: Thu Nov 24 13:07:34 2016 +0200

----------------------------------------------------------------------
 ambari-web/app/styles/enhanced_service_dashboard.less  | 2 ++
 ambari-web/app/templates/main/service/info/summary.hbs | 2 +-
 2 files changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/3081aec3/ambari-web/app/styles/enhanced_service_dashboard.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/enhanced_service_dashboard.less b/ambari-web/app/styles/enhanced_service_dashboard.less
index e783c52..870e9a8 100644
--- a/ambari-web/app/styles/enhanced_service_dashboard.less
+++ b/ambari-web/app/styles/enhanced_service_dashboard.less
@@ -20,10 +20,12 @@
 
 @border-color: #ddd;
 @invalid-color: red;
+@add-widget-btn-color: #f5f5f5;
 
 .service-metrics-block {
 
   #add-widget-action-box {
+    background-color: @add-widget-btn-color;
     width: 98%;
     padding: 43px;
     border: 1px solid @border-color;

http://git-wip-us.apache.org/repos/asf/ambari/blob/3081aec3/ambari-web/app/templates/main/service/info/summary.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/service/info/summary.hbs b/ambari-web/app/templates/main/service/info/summary.hbs
index 385465d..c142464 100644
--- a/ambari-web/app/templates/main/service/info/summary.hbs
+++ b/ambari-web/app/templates/main/service/info/summary.hbs
@@ -136,7 +136,7 @@
               {{#if isAmbariMetricsInstalled}}
                 <div class="span2p4">
                   <button id="add-widget-action-box"
-                          class="btn btn-default" {{action "goToWidgetsBrowser" controller.content
target="controller"}}
+                          {{action "goToWidgetsBrowser" controller.content target="controller"}}
                           rel="add-widget-tooltip" {{translateAttr data-original-title="dashboard.widgets.addButton.tooltip"}}>
                     <i class="glyphicon glyphicon-plus"></i></button>
                 </div>


Mime
View raw message