You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by sr...@apache.org on 2013/11/20 20:06:00 UTC

git commit: AMBARI-3832. UI Tweaks in Create Config Group dialog. (Denys Buzhor via srimanth)

Updated Branches:
  refs/heads/trunk f5244e9f0 -> 9422aea5c


AMBARI-3832. UI Tweaks in Create Config Group dialog. (Denys Buzhor via srimanth)


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

Branch: refs/heads/trunk
Commit: 9422aea5c383689ac6b4062629083b14c5143d5d
Parents: f5244e9
Author: Srimanth Gunturi <sg...@hortonworks.com>
Authored: Wed Nov 20 11:05:48 2013 -0800
Committer: Srimanth Gunturi <sg...@hortonworks.com>
Committed: Wed Nov 20 11:05:48 2013 -0800

----------------------------------------------------------------------
 ambari-web/app/messages.js                          |  6 +++---
 ambari-web/app/styles/application.less              | 16 ++++++++++++++++
 .../app/templates/main/service/new_config_group.hbs |  6 ++++--
 3 files changed, 23 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/9422aea5/ambari-web/app/messages.js
----------------------------------------------------------------------
diff --git a/ambari-web/app/messages.js b/ambari-web/app/messages.js
index cb059dd..b29f0a6 100644
--- a/ambari-web/app/messages.js
+++ b/ambari-web/app/messages.js
@@ -1126,10 +1126,10 @@ Em.I18n.translations = {
   'services.service.config_groups_popup.config_groups':'Configuration Groups',
   'services.service.config_groups_popup.rename':'Rename',
   'services.service.config_groups_popup.duplicate':'Duplicate',
-  'services.service.config_groups_popup.group_name_lable':'Group name',
-  'services.service.config_groups_popup.group_desc_lable':'Group description',
+  'services.service.config_groups_popup.group_name_lable':'Name',
+  'services.service.config_groups_popup.group_desc_lable':'Description',
   'services.service.config_groups_popup.properties':'Properties',
-  'services.service.config_groups.add_config_group_popup.header':'Create new config group',
+  'services.service.config_groups.add_config_group_popup.header':'Create New Configuration Group',
   'services.service.config_groups.duplicate_config_group_popup.header':'Duplicate config group',
   'services.service.config_groups.rename_config_group_popup.header':'Rename config group',
   'services.reassign.closePopup':'Reassign {0} wizard is in progress. It\'s necessary to complete the wizard for Ambari to be in usable state. If you choose to quit, you must follow manual instructions to complete or revert reassign {0} wizard as documented in the Ambari User Guide. Are you sure you want to exit the wizard ?',

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/9422aea5/ambari-web/app/styles/application.less
----------------------------------------------------------------------
diff --git a/ambari-web/app/styles/application.less b/ambari-web/app/styles/application.less
index 02cf3fa..2542d5a 100644
--- a/ambari-web/app/styles/application.less
+++ b/ambari-web/app/styles/application.less
@@ -4959,3 +4959,19 @@ i.icon-asterisks {
     margin-bottom: 30px;
   }
 }
+
+.textarea-full-width {
+  padding-right: 10px;
+  textarea {
+    width: 100%;
+    margin: 0;
+  }
+}
+
+.textarea-full-width {
+  padding-right: 10px;
+  textarea {
+    width: 100%;
+    margin: 0;
+  }
+}

http://git-wip-us.apache.org/repos/asf/incubator-ambari/blob/9422aea5/ambari-web/app/templates/main/service/new_config_group.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/service/new_config_group.hbs b/ambari-web/app/templates/main/service/new_config_group.hbs
index 51c8ab0..026d74c 100644
--- a/ambari-web/app/templates/main/service/new_config_group.hbs
+++ b/ambari-web/app/templates/main/service/new_config_group.hbs
@@ -24,7 +24,9 @@
     </tr>
     <tr>
       <td>{{t services.service.config_groups_popup.group_desc_lable }}:</td>
-      <td>{{view Ember.TextField valueBinding="configGroupDesc"}}</td>
+      <td class="textarea-full-width" style="width: 100%;">
+        {{view Ember.TextArea valueBinding="configGroupDesc" rows="4"}}
+      </td>
     </tr>
-  </table>
+</table>
 </p>
\ No newline at end of file