Return-Path: X-Original-To: apmail-incubator-ambari-commits-archive@minotaur.apache.org Delivered-To: apmail-incubator-ambari-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id AE4FD10AED for ; Wed, 17 Jul 2013 18:21:12 +0000 (UTC) Received: (qmail 86136 invoked by uid 500); 17 Jul 2013 18:21:12 -0000 Delivered-To: apmail-incubator-ambari-commits-archive@incubator.apache.org Received: (qmail 86022 invoked by uid 500); 17 Jul 2013 18:21:08 -0000 Mailing-List: contact ambari-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ambari-dev@incubator.apache.org Delivered-To: mailing list ambari-commits@incubator.apache.org Received: (qmail 86015 invoked by uid 99); 17 Jul 2013 18:21:08 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 17 Jul 2013 18:21:08 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 942268AC70B; Wed, 17 Jul 2013 18:21:07 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: yusaku@apache.org To: ambari-commits@incubator.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: git commit: AMBARI-2655. Convert hosts entered during boostrap (Installer step2) to lower-case. (Antonenko Alexander via yusaku) Date: Wed, 17 Jul 2013 18:21:07 +0000 (UTC) Updated Branches: refs/heads/trunk 318a7983f -> 7f00dbc2c AMBARI-2655. Convert hosts entered during boostrap (Installer step2) to lower-case. (Antonenko Alexander via yusaku) Project: http://git-wip-us.apache.org/repos/asf/incubator-ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ambari/commit/7f00dbc2 Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/7f00dbc2 Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/7f00dbc2 Branch: refs/heads/trunk Commit: 7f00dbc2ce7ee36e6e9086583884b3d4c50842d7 Parents: 318a798 Author: Yusaku Sako Authored: Wed Jul 17 11:20:54 2013 -0700 Committer: Yusaku Sako Committed: Wed Jul 17 11:20:54 2013 -0700 ---------------------------------------------------------------------- ambari-web/app/controllers/wizard/step2_controller.js | 2 +- ambari-web/app/styles/application.less | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/7f00dbc2/ambari-web/app/controllers/wizard/step2_controller.js ---------------------------------------------------------------------- diff --git a/ambari-web/app/controllers/wizard/step2_controller.js b/ambari-web/app/controllers/wizard/step2_controller.js index a92e39f..4e47a83 100644 --- a/ambari-web/app/controllers/wizard/step2_controller.js +++ b/ambari-web/app/controllers/wizard/step2_controller.js @@ -58,7 +58,7 @@ App.WizardStep2Controller = Em.Controller.extend({ * set not installed hosts to the hostNameArr */ updateHostNameArr: function(){ - this.hostNameArr = this.get('hostNames').trim().split(new RegExp("\\s+", "g")); + this.hostNameArr = this.get('hostNames').trim().toLowerCase().split(new RegExp("\\s+", "g")); this.patternExpression(); this.get('inputtedAgainHostNames').clear(); var installedHostNames = App.Host.find().mapProperty('hostName'); http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/7f00dbc2/ambari-web/app/styles/application.less ---------------------------------------------------------------------- diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less index a926a2b..447b147 100644 --- a/ambari-web/app/styles/application.less +++ b/ambari-web/app/styles/application.less @@ -312,6 +312,10 @@ h1 { #targetHosts { .target-hosts-input { padding-left: 18px; + + textarea{ + text-transform: lowercase; + } } } .span6 {