incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ababiic...@apache.org
Subject git commit: AMBARI-3741 Actions button goes out of bounds on Host Details page when the browser is narrow. (ababiichuk)
Date Mon, 11 Nov 2013 18:55:57 GMT
Updated Branches:
  refs/heads/trunk 61f6219be -> 45ce766ac


AMBARI-3741 Actions button goes out of bounds on Host Details page when the browser is narrow.
(ababiichuk)


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

Branch: refs/heads/trunk
Commit: 45ce766ac9e51f1b2a8f75cbd4ef2125479ffb28
Parents: 61f6219
Author: aBabiichuk <ababiichuk@cybervisiontech.com>
Authored: Mon Nov 11 20:52:32 2013 +0200
Committer: aBabiichuk <ababiichuk@cybervisiontech.com>
Committed: Mon Nov 11 20:55:39 2013 +0200

----------------------------------------------------------------------
 ambari-web/app/templates/main/host/summary.hbs | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/45ce766a/ambari-web/app/templates/main/host/summary.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/host/summary.hbs b/ambari-web/app/templates/main/host/summary.hbs
index 47bceb6..94908df 100644
--- a/ambari-web/app/templates/main/host/summary.hbs
+++ b/ambari-web/app/templates/main/host/summary.hbs
@@ -39,7 +39,7 @@
           {{#each component in view.sortedComponents}}
           <div class="row-fluid">
           {{#view view.ComponentView contentBinding="component" decommissionDataNodeHostNamesBinding="view.decommissionDataNodeHostNames"}}
-            <div class="span8">
+            <div class="span7">
               {{#if view.isUpgradeFailed}}
                 {{#if App.isAdmin}}
                   <a href="#" {{action "upgradeComponent" view.content target="controller"}}
>
@@ -61,9 +61,9 @@
                 <i class="text-warning icon-refresh"></i>
               {{/if}}
             </div>
-            <div class="span4">
+            <div class="span5 pull-right">
               {{#if App.isAdmin}}
-              <div class="btn-group">
+              <div class="btn-group pull-right">
                 <a {{ bindAttr class="view.disabled :btn :dropdown-toggle"}} data-toggle="dropdown">
                   {{t hosts.host.summary.action}}
                   <span class="caret pull-right"></span>
@@ -144,10 +144,10 @@
         {{/if}}
           {{!clients and add component button}}
           <div class="clients row-fluid">
-            <div class="span8 row">
+            <div class="span7 row">
               {{#if view.clients.length}}
-                  <div class="span2" style="margin-left: 21px">{{t common.clients}}&nbsp;/</div>
-                  <div class="span8">
+                  <div class="span3 align-right">{{t common.clients}}&nbsp;/</div>
+                  <div class="span7">
                     {{#each component in view.clients}}
                       {{#if component.isLast}}
                         {{component.displayName}}
@@ -158,11 +158,11 @@
                 </div>
               {{/if}}
             </div>
-            <div class="span4 row">
+            <div class="span5 row">
               {{#if App.isAdmin}}
                 {{#if view.isAddComponent}}
                   {{#if view.addableComponents.length}}
-                    <div class="btn-group">
+                    <div class="btn-group pull-right">
                       <button id="add_component" class="btn btn-info dropdown-toggle"
data-toggle="dropdown">
                         {{t hosts.host.summary.addComponent}}
                         <span class="caret pull-right"></span>


Mime
View raw message