ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ababiic...@apache.org
Subject git commit: AMBARI-5443 Assign Masters Page: Wrap hostname string value for text fields. (ababiichuk)
Date Fri, 11 Apr 2014 14:20:39 GMT
Repository: ambari
Updated Branches:
  refs/heads/trunk 0661a4b39 -> c2c16c4a3


AMBARI-5443 Assign Masters Page: Wrap hostname string value for text fields. (ababiichuk)


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

Branch: refs/heads/trunk
Commit: c2c16c4a3dc8f85586260fe089cfddff6b2c2c7c
Parents: 0661a4b
Author: aBabiichuk <ababiichuk@cybervisiontech.com>
Authored: Fri Apr 11 17:17:50 2014 +0300
Committer: aBabiichuk <ababiichuk@cybervisiontech.com>
Committed: Fri Apr 11 17:20:28 2014 +0300

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


http://git-wip-us.apache.org/repos/asf/ambari/blob/c2c16c4a/ambari-web/app/styles/application.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less
index 5e1eb0e..5555287 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -3764,8 +3764,15 @@ table.graphs {
     max-width: 250px;
   }
 
+
+  .hostName {
+    word-wrap: break-word!important;
+    white-space: normal;
+    width: 220px
+  }
   .hostString {
     margin-bottom: 5px;
+    word-wrap: break-word;
   }
 
   .badge {

http://git-wip-us.apache.org/repos/asf/ambari/blob/c2c16c4a/ambari-web/app/templates/wizard/step5.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/wizard/step5.hbs b/ambari-web/app/templates/wizard/step5.hbs
index 9bc7c84..fb453d7 100644
--- a/ambari-web/app/templates/wizard/step5.hbs
+++ b/ambari-web/app/templates/wizard/step5.hbs
@@ -55,7 +55,9 @@
                 </div>
                 <div class="span8">
                   {{#if isHiveCoHost}}
-                    <label class="host-name">{{selectedHost}}<i class="icon-asterisks">&#10037;</i></label>
+                    <div class="hostName">
+                      {{selectedHost}}<i class="icon-asterisks">&#10037;</i>
+                    </div>
                   {{else}}
                     {{view App.SelectHostView
                       optionValuePath="content.host_name"


Mime
View raw message