ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From xiw...@apache.org
Subject [2/2] ambari git commit: AMBARI-12014. Excessive padding in service config page without Settings | Advanced tabs.(Ricard Zang via xiwang)
Date Sun, 21 Jun 2015 19:54:37 GMT
AMBARI-12014. Excessive padding in service config page without Settings | Advanced tabs.(Ricard
Zang via xiwang)


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

Branch: refs/heads/trunk
Commit: beb59d32b6ac84eb86d5de4dd8704e10641c5e84
Parents: d36f955
Author: Xi Wang <xiwang@apache.org>
Authored: Sun Jun 21 12:54:13 2015 -0700
Committer: Xi Wang <xiwang@apache.org>
Committed: Sun Jun 21 12:54:13 2015 -0700

----------------------------------------------------------------------
 ambari-web/app/styles/application.less                         | 6 +++++-
 .../app/templates/common/configs/config_history_flow.hbs       | 2 +-
 2 files changed, 6 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/beb59d32/ambari-web/app/styles/application.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less
index 5866fb0..07fb5c2 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -4269,9 +4269,13 @@ ul.inline li {
 }
 
 #config_history_flow {
-  margin-bottom: 60px;
+  margin-bottom: 20px;
+  &.with-enhanced-config {
+    margin-bottom: 60px;
+  }
 }
 
+
 .pointer {
   cursor: pointer;
 }

http://git-wip-us.apache.org/repos/asf/ambari/blob/beb59d32/ambari-web/app/templates/common/configs/config_history_flow.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/common/configs/config_history_flow.hbs b/ambari-web/app/templates/common/configs/config_history_flow.hbs
index a8aa9be..ce8cba9 100644
--- a/ambari-web/app/templates/common/configs/config_history_flow.hbs
+++ b/ambari-web/app/templates/common/configs/config_history_flow.hbs
@@ -17,7 +17,7 @@
 }}
 
 
-<div id="config_history_flow">
+<div id="config_history_flow" {{bindAttr class="view.parentView.supportsConfigLayout:with-enhanced-config"}}>
   <div class="version-slider">
     <div {{bindAttr class=":icon-chevron-box :pull-left view.showLeftArrow::disabled"}}
{{action shiftBack target="view"}} data-toggle="arrow-tooltip"
       {{bindAttr data-original-title="view.leftArrowTooltip"}}><i class="icon-chevron-left
icon-3x"></i></div>


Mime
View raw message