Author: yusaku
Date: Wed May 1 21:11:48 2013
New Revision: 1478191
URL: http://svn.apache.org/r1478191
Log:
AMBARI-2053. Align "add hosts" button vertically with host health filter.
(yusaku)
Modified:
incubator/ambari/trunk/CHANGES.txt
incubator/ambari/trunk/ambari-web/app/styles/application.less
incubator/ambari/trunk/ambari-web/app/templates/main/host.hbs
Modified: incubator/ambari/trunk/CHANGES.txt
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/CHANGES.txt?rev=1478191&r1=1478190&r2=1478191&view=diff
==============================================================================
--- incubator/ambari/trunk/CHANGES.txt (original)
+++ incubator/ambari/trunk/CHANGES.txt Wed May 1 21:11:48 2013
@@ -823,6 +823,9 @@ Trunk (unreleased changes):
BUG FIXES
+ AMBARI-2053. Align "add hosts" button vertically with host health filter.
+ (yusaku)
+
AMBARI-2052. Fix delete user popup. (yusaku)
AMBARI-2065. Hadoop group customization does not take affect. (smohanty)
Modified: incubator/ambari/trunk/ambari-web/app/styles/application.less
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/styles/application.less?rev=1478191&r1=1478190&r2=1478191&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/styles/application.less (original)
+++ incubator/ambari/trunk/ambari-web/app/styles/application.less Wed May 1
21:11:48 2013
@@ -1885,7 +1885,8 @@ table.graphs {
margin-left: 5px;
}
.btn.add-host-button {
- float: right;
+ margin-bottom: 10px;
+ margin-top: -5px;
}
.health-status-bar {
font-size: 14px;
Modified: incubator/ambari/trunk/ambari-web/app/templates/main/host.hbs
URL:
http://svn.apache.org/viewvc/incubator/ambari/trunk/ambari-web/app/templates/main/host.hbs?rev=1478191&r1=1478190&r2=1478191&view=diff
==============================================================================
--- incubator/ambari/trunk/ambari-web/app/templates/main/host.hbs (original)
+++ incubator/ambari/trunk/ambari-web/app/templates/main/host.hbs Wed May 1
21:11:48 2013
@@ -19,7 +19,7 @@
<div id="hosts">
<div class="box-header row">
- <div class="health-status-bar span8" >
+ <div class="health-status-bar pull-left" >
{{#each category in view.categories}}
<span {{bindAttr class="category.itemClass"}}>
{{#if category.alerts}}
@@ -36,7 +36,7 @@
</div>
{{#if App.isAdmin}}
- <div class="button-section pull-right span4">
+ <div class="pull-right">
<button class="btn btn-inverse add-host-button" {{action addHost}}>
<i class="icon-plus icon-white"></i>
{{t hosts.host.add}}