git commit: AMBARI-7904. Flume agent button is hidden. (onechiporenko)

2014-10-22 Thread onechiporenko
Repository: ambari
Updated Branches:
  refs/heads/trunk b2740331a - 147955bb3


AMBARI-7904. Flume agent button is hidden. (onechiporenko)


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

Branch: refs/heads/trunk
Commit: 147955bb3be297ecbb1665cff45cb75e97d05420
Parents: b274033
Author: Oleg Nechiporenko onechipore...@apache.org
Authored: Wed Oct 22 18:08:21 2014 +0300
Committer: Oleg Nechiporenko onechipore...@apache.org
Committed: Wed Oct 22 18:34:07 2014 +0300

--
 ambari-web/app/styles/application.less  |  6 ++-
 .../templates/main/service/services/flume.hbs   | 46 +++-
 2 files changed, 30 insertions(+), 22 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/147955bb/ambari-web/app/styles/application.less
--
diff --git a/ambari-web/app/styles/application.less 
b/ambari-web/app/styles/application.less
index 4847eaa..5c64bb2 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -6982,9 +6982,13 @@ i.icon-asterisks {
   .wrapp-flume-status{
 text-align: left;
   }
-  .flume-agents-actions {
+  .btn-wrapper {
 margin: 0 5px 5px 0;
 float: right;
+width:60px;
+  }
+  .flume-agents-actions {
+position: absolute;
 a {
   text-decoration: none;
 }

http://git-wip-us.apache.org/repos/asf/ambari/blob/147955bb/ambari-web/app/templates/main/service/services/flume.hbs
--
diff --git a/ambari-web/app/templates/main/service/services/flume.hbs 
b/ambari-web/app/templates/main/service/services/flume.hbs
index ecbbf46..5bdf242 100644
--- a/ambari-web/app/templates/main/service/services/flume.hbs
+++ b/ambari-web/app/templates/main/service/services/flume.hbs
@@ -42,26 +42,28 @@
   /td
   td class=agent-status
 div class=wrapp-flume-status
-  span {{bindAttr 
class=host.firtstAgent.healthClass}}/span {{host.firtstAgent.name}}
-  div class=btn-group display-inline-block 
flume-agents-actions
-  a {{bindAttr class=:btn :dropdown-toggle}} 
data-toggle=dropdown 
href=javascript:void(null){{host.firtstAgent.displayStatus}}
-  span class=caret/span
-  /a
-  ul class=pull-left dropdown-menu
-  li {{bindAttr 
class=host.firtstAgent.isStartAgentDisabled:disabled}}
-  a href=javascript:void(null)
-{{bindAttr 
class=host.firtstAgent.isStartAgentDisabled:disabled}}
-{{action startFlumeAgent host.firtstAgent 
target=controller}}
-{{t 
services.service.summary.flume.startAgent}}/a
-  /li
-  li {{bindAttr 
class=host.firtstAgent.isStopAgentDisabled:disabled}}
-  a href=javascript:void(null)
-{{bindAttr 
class=host.firtstAgent.isStopAgentDisabled:disabled}}
-{{action stopFlumeAgent host.firtstAgent 
target=controller}}
-{{t 
services.service.summary.flume.stopAgent}}/a
-  /li
-  /ul
-  /div
+  div class=pull-leftspan {{bindAttr 
class=host.firtstAgent.healthClass}}/span {{host.firtstAgent.name}}/div
+  div class=btn-wrapper
+div class=btn-group display-inline-block 
flume-agents-actions
+a {{bindAttr class=:btn :dropdown-toggle}} 
data-toggle=dropdown 
href=javascript:void(null){{host.firtstAgent.displayStatus}}
+span class=caret/span
+/a
+ul class=pull-left dropdown-menu
+li {{bindAttr 
class=host.firtstAgent.isStartAgentDisabled:disabled}}
+a href=javascript:void(null)
+  {{bindAttr 
class=host.firtstAgent.isStartAgentDisabled:disabled}}
+  {{action startFlumeAgent 
host.firtstAgent target=controller}}
+  {{t 
services.service.summary.flume.startAgent}}/a
+/li
+li {{bindAttr 

git commit: AMBARI-7904. Flume agent button is hidden. (onechiporenko)

2014-10-22 Thread onechiporenko
Repository: ambari
Updated Branches:
  refs/heads/branch-1.7.0 02f6df323 - c7bd58dde


AMBARI-7904. Flume agent button is hidden. (onechiporenko)


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

Branch: refs/heads/branch-1.7.0
Commit: c7bd58dde979005ecf2a5d70fac49c22b2787445
Parents: 02f6df3
Author: Oleg Nechiporenko onechipore...@apache.org
Authored: Wed Oct 22 18:07:08 2014 +0300
Committer: Oleg Nechiporenko onechipore...@apache.org
Committed: Wed Oct 22 18:34:47 2014 +0300

--
 ambari-web/app/styles/application.less  |  6 ++-
 .../templates/main/service/services/flume.hbs   | 46 +++-
 2 files changed, 30 insertions(+), 22 deletions(-)
--


http://git-wip-us.apache.org/repos/asf/ambari/blob/c7bd58dd/ambari-web/app/styles/application.less
--
diff --git a/ambari-web/app/styles/application.less 
b/ambari-web/app/styles/application.less
index 4847eaa..5c64bb2 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -6982,9 +6982,13 @@ i.icon-asterisks {
   .wrapp-flume-status{
 text-align: left;
   }
-  .flume-agents-actions {
+  .btn-wrapper {
 margin: 0 5px 5px 0;
 float: right;
+width:60px;
+  }
+  .flume-agents-actions {
+position: absolute;
 a {
   text-decoration: none;
 }

http://git-wip-us.apache.org/repos/asf/ambari/blob/c7bd58dd/ambari-web/app/templates/main/service/services/flume.hbs
--
diff --git a/ambari-web/app/templates/main/service/services/flume.hbs 
b/ambari-web/app/templates/main/service/services/flume.hbs
index ecbbf46..5bdf242 100644
--- a/ambari-web/app/templates/main/service/services/flume.hbs
+++ b/ambari-web/app/templates/main/service/services/flume.hbs
@@ -42,26 +42,28 @@
   /td
   td class=agent-status
 div class=wrapp-flume-status
-  span {{bindAttr 
class=host.firtstAgent.healthClass}}/span {{host.firtstAgent.name}}
-  div class=btn-group display-inline-block 
flume-agents-actions
-  a {{bindAttr class=:btn :dropdown-toggle}} 
data-toggle=dropdown 
href=javascript:void(null){{host.firtstAgent.displayStatus}}
-  span class=caret/span
-  /a
-  ul class=pull-left dropdown-menu
-  li {{bindAttr 
class=host.firtstAgent.isStartAgentDisabled:disabled}}
-  a href=javascript:void(null)
-{{bindAttr 
class=host.firtstAgent.isStartAgentDisabled:disabled}}
-{{action startFlumeAgent host.firtstAgent 
target=controller}}
-{{t 
services.service.summary.flume.startAgent}}/a
-  /li
-  li {{bindAttr 
class=host.firtstAgent.isStopAgentDisabled:disabled}}
-  a href=javascript:void(null)
-{{bindAttr 
class=host.firtstAgent.isStopAgentDisabled:disabled}}
-{{action stopFlumeAgent host.firtstAgent 
target=controller}}
-{{t 
services.service.summary.flume.stopAgent}}/a
-  /li
-  /ul
-  /div
+  div class=pull-leftspan {{bindAttr 
class=host.firtstAgent.healthClass}}/span {{host.firtstAgent.name}}/div
+  div class=btn-wrapper
+div class=btn-group display-inline-block 
flume-agents-actions
+a {{bindAttr class=:btn :dropdown-toggle}} 
data-toggle=dropdown 
href=javascript:void(null){{host.firtstAgent.displayStatus}}
+span class=caret/span
+/a
+ul class=pull-left dropdown-menu
+li {{bindAttr 
class=host.firtstAgent.isStartAgentDisabled:disabled}}
+a href=javascript:void(null)
+  {{bindAttr 
class=host.firtstAgent.isStartAgentDisabled:disabled}}
+  {{action startFlumeAgent 
host.firtstAgent target=controller}}
+  {{t 
services.service.summary.flume.startAgent}}/a
+/li
+li {{bindAttr