Repository: ambari
Updated Branches:
  refs/heads/branch-1.6.1 e97ef4af0 -> a0677c9a7


AMBARI-6369. hostname wrapping with icon asterisks on assign slaves.(xiwang)


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

Branch: refs/heads/branch-1.6.1
Commit: a0677c9a709878a5950f9497b632d9e23684b452
Parents: e97ef4a
Author: Xi Wang <[email protected]>
Authored: Wed Jul 2 15:05:31 2014 -0700
Committer: Xi Wang <[email protected]>
Committed: Wed Jul 2 15:18:28 2014 -0700

----------------------------------------------------------------------
 ambari-web/app/styles/application.less    | 7 +++++++
 ambari-web/app/templates/wizard/step6.hbs | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/a0677c9a/ambari-web/app/styles/application.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/application.less 
b/ambari-web/app/styles/application.less
index 424681b..d1bdb55 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -758,6 +758,8 @@ h1 {
         display: block;
         overflow: hidden;
         text-overflow: ellipsis;
+        float:left;
+        white-space: nowrap;
       }
     }
   }
@@ -780,6 +782,8 @@ h1 {
       #component_assign_table {
         .trim_hostname {
           max-width: 180px;
+          float:left;
+          white-space: nowrap;
           display: block;
           overflow: hidden;
           text-overflow: ellipsis;
@@ -875,6 +879,8 @@ h1 {
         display: block;
         overflow: hidden;
         text-overflow: ellipsis;
+        float:left;
+        white-space: nowrap;
       }
       .progress-bar {
         width: 73%;
@@ -3514,6 +3520,7 @@ table.graphs {
       width: 93%!important;
       overflow: hidden;
       text-overflow: ellipsis;
+      white-space: nowrap;
     }
     th.first, td.first {
       border-left-width: 1px;

http://git-wip-us.apache.org/repos/asf/ambari/blob/a0677c9a/ambari-web/app/templates/wizard/step6.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/wizard/step6.hbs 
b/ambari-web/app/templates/wizard/step6.hbs
index fb053da..33911cd 100644
--- a/ambari-web/app/templates/wizard/step6.hbs
+++ b/ambari-web/app/templates/wizard/step6.hbs
@@ -46,7 +46,7 @@
               {{#view App.WizardStep6HostView hostBinding="host" }}
                 <span class="trim_hostname">{{host.hostName}}</span>
                 {{#if host.hasMaster}}
-                  <i class=icon-asterisks>&#10037;</i>
+                  <i class="icon-asterisks">&#10037;</i>
                 {{/if}}
               {{/view}}
               {{#each checkbox in host.checkboxes}}

Reply via email to