You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by yu...@apache.org on 2013/08/01 05:13:18 UTC

git commit: AMBARI-2787. Increase the width for textareas and text fields in config UI. (xiwang via yusaku)

Updated Branches:
  refs/heads/trunk f81bbc837 -> 14d3b2330


AMBARI-2787. Increase the width for textareas and text fields in config UI. (xiwang 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/14d3b233
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/14d3b233
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/14d3b233

Branch: refs/heads/trunk
Commit: 14d3b23307ae880e4cbb5b6c102ff1d670b5ba8c
Parents: f81bbc8
Author: Yusaku Sako <yu...@hortonworks.com>
Authored: Wed Jul 31 20:12:52 2013 -0700
Committer: Yusaku Sako <yu...@hortonworks.com>
Committed: Wed Jul 31 20:12:52 2013 -0700

----------------------------------------------------------------------
 ambari-web/app/views/wizard/controls_view.js | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/14d3b233/ambari-web/app/views/wizard/controls_view.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/views/wizard/controls_view.js b/ambari-web/app/views/wizard/controls_view.js
index cf1c772..7c49f9b 100644
--- a/ambari-web/app/views/wizard/controls_view.js
+++ b/ambari-web/app/views/wizard/controls_view.js
@@ -70,7 +70,7 @@ App.ServiceConfigTextField = Ember.TextField.extend(App.ServiceConfigPopoverSupp
   textFieldClassName: function () {
     // sets the width of the field depending on display type
     if (['directory', 'url', 'email', 'user', 'host','advanced'].contains(this.get('serviceConfig.displayType'))) {
-      return ['span6'];
+      return ['span9'];
     } else if (this.get('serviceConfig.displayType') === 'principal'){
       return ['span12'];
     } else {
@@ -110,7 +110,7 @@ App.ServiceConfigPasswordField = Ember.TextField.extend({
   serviceConfig: null,
   type: 'password',
   valueBinding: 'serviceConfig.value',
-  classNames: [ 'span3' ],
+  classNames: [ 'span4' ],
   placeholder: Em.I18n.t('form.item.placeholders.typePassword'),
 
   template: Ember.Handlebars.compile('{{view view.retypePasswordView}}'),
@@ -124,7 +124,7 @@ App.ServiceConfigPasswordField = Ember.TextField.extend({
   retypePasswordView: Ember.TextField.extend({
     placeholder: Em.I18n.t('form.passwordRetype'),
     type: 'password',
-    classNames: [ 'span3', 'retyped-password' ],
+    classNames: [ 'span4', 'retyped-password' ],
     keyPress: function (event) {
       if (event.keyCode == 13) {
         return false;
@@ -150,7 +150,7 @@ App.ServiceConfigTextArea = Ember.TextArea.extend(App.ServiceConfigPopoverSuppor
 
   valueBinding: 'serviceConfig.value',
   rows: 4,
-  classNames: ['span6', 'directories'],
+  classNames: ['span9', 'directories'],
   placeholderBinding: 'serviceConfig.defaultValue',
 
   disabled: function () {