incubator-ambari-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yus...@apache.org
Subject git commit: AMBARI-2682. Security wizard - configure services: "Undo" appears over the realm name when editing properties. (Andrii Babiichuk via yusaku)
Date Thu, 18 Jul 2013 17:06:51 GMT
Updated Branches:
  refs/heads/branch-1.2.5 62317e95b -> cf22ef83e


AMBARI-2682. Security wizard - configure services: "Undo" appears over the realm name when
editing properties. (Andrii Babiichuk 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/cf22ef83
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ambari/tree/cf22ef83
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ambari/diff/cf22ef83

Branch: refs/heads/branch-1.2.5
Commit: cf22ef83eb02353abfc6626ff0ecff269dbd55cd
Parents: 62317e9
Author: Yusaku Sako <yusaku@hortonworks.com>
Authored: Thu Jul 18 10:06:00 2013 -0700
Committer: Yusaku Sako <yusaku@hortonworks.com>
Committed: Thu Jul 18 10:06:39 2013 -0700

----------------------------------------------------------------------
 ambari-web/app/styles/application.less       | 9 +++++++++
 ambari-web/app/views/wizard/controls_view.js | 2 +-
 2 files changed, 10 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/cf22ef83/ambari-web/app/styles/application.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less
index 9b6f0bc..fdb3aba 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -661,6 +661,15 @@ h1 {
     padding-left: 8px;
     padding-right: 8px;
   }
+  .with-unit{
+    input{
+      width:auto;
+    }
+    .add-on{
+      overflow: hidden;
+      max-width:250px;
+    }
+  }
 }
 
 .running-host-components-table{

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/cf22ef83/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 b00859b..052b934 100644
--- a/ambari-web/app/views/wizard/controls_view.js
+++ b/ambari-web/app/views/wizard/controls_view.js
@@ -90,7 +90,7 @@ App.ServiceConfigTextField = Ember.TextField.extend(App.ServiceConfigPopoverSupp
  */
 App.ServiceConfigTextFieldWithUnit = Ember.View.extend(App.ServiceConfigPopoverSupport, {
   valueBinding: 'serviceConfig.value',
-  classNames: [ 'input-append' ],
+  classNames: ['input-append','with-unit'],
   placeholderBinding: 'serviceConfig.defaultValue',
 
   template: Ember.Handlebars.compile('{{view App.ServiceConfigTextField serviceConfigBinding="view.serviceConfig"
isPopoverEnabled="false"}}<span class="add-on">{{view.serviceConfig.unit}}</span>'),


Mime
View raw message