Repository: ambari Updated Branches: refs/heads/trunk c63a4d7f6 -> 2d40b127c
AMBARI-19517. Two SelectBoxes don't have class `form-control` (onechiporenko) Project: http://git-wip-us.apache.org/repos/asf/ambari/repo Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/2d40b127 Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/2d40b127 Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/2d40b127 Branch: refs/heads/trunk Commit: 2d40b127cd21c8467ec0b9d23251f469ba000ae6 Parents: c63a4d7 Author: Oleg Nechiporenko <onechipore...@apache.org> Authored: Fri Jan 13 11:12:34 2017 +0200 Committer: Oleg Nechiporenko <onechipore...@apache.org> Committed: Fri Jan 13 11:12:34 2017 +0200 ---------------------------------------------------------------------- .../common/modal_popups/select_groups_popup.hbs | 2 +- .../app/templates/main/service/add_host_popup.hbs | 17 +++++++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ambari/blob/2d40b127/ambari-web/app/templates/common/modal_popups/select_groups_popup.hbs ---------------------------------------------------------------------- diff --git a/ambari-web/app/templates/common/modal_popups/select_groups_popup.hbs b/ambari-web/app/templates/common/modal_popups/select_groups_popup.hbs index c7da8a4..f21be28 100644 --- a/ambari-web/app/templates/common/modal_popups/select_groups_popup.hbs +++ b/ambari-web/app/templates/common/modal_popups/select_groups_popup.hbs @@ -21,7 +21,7 @@ <label class="col-sm-2 control-label"><strong>{{view.serviceName}} </strong> </label> <div class="col-sm-8"> {{#if view.hasGroups}} - {{view Ember.Select contentBinding="view.groups" valueBinding="view.selectedGroup" disabledBinding="view.disabled"}} + {{view Ember.Select classNames="form-control" contentBinding="view.groups" valueBinding="view.selectedGroup" disabledBinding="view.disabled"}} {{else}} <p>{{t popup.dependent.configs.select.config.group.no.groups}}</p> {{/if}} http://git-wip-us.apache.org/repos/asf/ambari/blob/2d40b127/ambari-web/app/templates/main/service/add_host_popup.hbs ---------------------------------------------------------------------- diff --git a/ambari-web/app/templates/main/service/add_host_popup.hbs b/ambari-web/app/templates/main/service/add_host_popup.hbs index 7431080..e5f2c99 100644 --- a/ambari-web/app/templates/main/service/add_host_popup.hbs +++ b/ambari-web/app/templates/main/service/add_host_popup.hbs @@ -17,12 +17,17 @@ }} {{#if anyHostsWithoutComponent}} - {{selectHostMsg}}<br /> - <div> - {{view Ember.Select contentBinding="hostsWithoutComponent" selectionBinding="selectedHost"}} + <p>{{selectHostMsg}}</p> + <div class="row"> + <div class="col-md-12"> + {{view Ember.Select contentBinding="hostsWithoutComponent" selectionBinding="selectedHost" classNames="form-control"}} + </div> + </div> + <div class="row"> + <div class="col-md-12"> + <p>{{addComponentMsg}}</p> + </div> </div> - - {{addComponentMsg}}<br /><br /> {{else}} - {{thereIsNoHostsMsg}} + <p>{{thereIsNoHostsMsg}}</p> {{/if}} \ No newline at end of file