You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by ak...@apache.org on 2014/01/27 16:48:48 UTC

git commit: AMBARI-4424. NameNode HA Wizard > Select Hosts: layout issues. (Mikhail Bayuk via akovalenko)

Updated Branches:
  refs/heads/trunk b8a3d399a -> 8015c714a


AMBARI-4424. NameNode HA Wizard > Select Hosts: layout issues. (Mikhail Bayuk via akovalenko)


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

Branch: refs/heads/trunk
Commit: 8015c714a66ce8214e8d3159dd8deba8ca22b2d7
Parents: b8a3d39
Author: Aleksandr Kovalenko <ak...@hortonworks.com>
Authored: Mon Jan 27 17:47:34 2014 +0200
Committer: Aleksandr Kovalenko <ak...@hortonworks.com>
Committed: Mon Jan 27 17:47:51 2014 +0200

----------------------------------------------------------------------
 .../main/admin/highAvailability/step2.hbs          | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/8015c714/ambari-web/app/templates/main/admin/highAvailability/step2.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/admin/highAvailability/step2.hbs b/ambari-web/app/templates/main/admin/highAvailability/step2.hbs
index edd1d6f..d92c47d 100644
--- a/ambari-web/app/templates/main/admin/highAvailability/step2.hbs
+++ b/ambari-web/app/templates/main/admin/highAvailability/step2.hbs
@@ -21,19 +21,19 @@
   {{t admin.highAvailability.wizard.step2.body}}
 </div>
 <div class="assign-masters">
-  <div class="select-hosts">
+  <div class="select-hosts span7">
     <form class="form-horizontal" autocomplete="off">
       <!-- View for array controller -->
       {{#each servicesMasters}}
       <div class="control-group">
         <label class="control-label">
           {{#if isCurNameNode}}
-            Current
+          Current
           {{/if}}
           {{#if isAddNameNode}}
-            Additional
+          Additional
           {{/if}}
-            {{display_name}}:
+          {{display_name}}:
         </label>
         <div class="controls">
           {{view App.SelectHostView
@@ -42,14 +42,15 @@
             optionLabelPath="content.host_info"
             selectedHostBinding="selectedHost"
             componentNameBinding="component_name"
+            class="host-select"
             zIdBinding="zId"
             disabledBinding="isInstalled"
           }}
           {{#if showAddControl}}
-            {{view App.AddControlView componentNameBinding="component_name"}}
+          {{view App.AddControlView componentNameBinding="component_name"}}
           {{/if}}
           {{#if showRemoveControl}}
-            {{view App.RemoveControlView componentNameBinding="component_name" zIdBinding="zId"}}
+          {{view App.RemoveControlView componentNameBinding="component_name" zIdBinding="zId"}}
           {{/if}}
         </div>
       </div>
@@ -57,12 +58,12 @@
     </form>
   </div>
 
-  <div class="host-assignments">
+  <div class="host-assignments span5">
     {{#each masterHostMapping}}
     <div class="mapping-box round-corners well">
       <div class="hostString"><span>{{hostInfo}}</span></div>
       {{#each masterServices}}
-        <span {{bindAttr class="color :assignedService :round-corners"}}>{{display_name}}</span>
+      <span {{bindAttr class="isInstalled:assignedService:newService :round-corners"}}>{{display_name}}</span>
       {{/each}}
     </div>
     {{/each}}