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 2018/02/01 14:52:47 UTC

[ambari] branch trunk updated: [AMBARI-22712] Update install Wizard layout. Fourth patch. (#247)

This is an automated email from the ASF dual-hosted git repository.

akovalenko pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/ambari.git


The following commit(s) were added to refs/heads/trunk by this push:
     new b9e101b  [AMBARI-22712] Update install Wizard layout. Fourth patch. (#247)
b9e101b is described below

commit b9e101b9177465e85e36c1b4055c3e2b4c4a7232
Author: Aleksandr Kovalenko <al...@users.noreply.github.com>
AuthorDate: Thu Feb 1 16:52:44 2018 +0200

    [AMBARI-22712] Update install Wizard layout. Fourth patch. (#247)
    
    * AMBARI-22712. Update install Wizard layout. Fourth patch. (akovalenko)
    
    * AMBARI-22712. Update install Wizard layout. Fourth patch. (akovalenko)
---
 ambari-web/app/styles/wizard.less         | 10 +++++++---
 ambari-web/app/templates/wizard/step4.hbs |  4 ++--
 ambari-web/app/templates/wizard/step8.hbs |  4 ++--
 3 files changed, 11 insertions(+), 7 deletions(-)

diff --git a/ambari-web/app/styles/wizard.less b/ambari-web/app/styles/wizard.less
index 1d0bf3c..8a94c78 100644
--- a/ambari-web/app/styles/wizard.less
+++ b/ambari-web/app/styles/wizard.less
@@ -229,6 +229,12 @@
     .glyphicon-asterisks {
       color: #00688B;
     }
+    .checkbox-cell {
+      padding-top: 4px;
+    }
+    .checkbox-row {
+      width: 47px;
+    }
   }
   #step6 {
     .pre-scrollable {
@@ -250,6 +256,7 @@
           margin: 0;
         }
         .host-component-checkbox {
+          line-height: 17px;
           font-size: 12px;
           top: 0px;
         }
@@ -770,6 +777,3 @@
   }
 }
 
-.checkbox-row {
-  width: 47px;
-}
\ No newline at end of file
diff --git a/ambari-web/app/templates/wizard/step4.hbs b/ambari-web/app/templates/wizard/step4.hbs
index f3d9c58..68db717 100644
--- a/ambari-web/app/templates/wizard/step4.hbs
+++ b/ambari-web/app/templates/wizard/step4.hbs
@@ -34,7 +34,7 @@
         {{#each service in controller.fileSystems}}
           {{#unless service.isHiddenOnSelectServicePage}}
             <tr {{QAAttr "service-row"}} {{bindAttr class="service.isSelected:active service.isSelected:service-selected"}} {{action toggleCheckBox service target="view"}} >
-              <td>
+              <td class="checkbox-cell">
                 <div class="checkbox">
                   {{view App.CheckboxView checkboxClassNamesBinding="service.serviceName" data-qa="toggle-service"
                   disabledBinding="service.isDisabled"
@@ -74,7 +74,7 @@
           {{#unless service.isHiddenOnSelectServicePage}}
             {{#unless service.isDFS}}
               <tr {{QAAttr "service-row"}} {{bindAttr class="service.isSelected:active service.isSelected:service-selected"}} {{action toggleCheckBox service target="view"}}>
-                <td>
+                <td class="checkbox-cell">
                   <div class="checkbox">
                     {{view App.CheckboxView checkboxClassNamesBinding="service.serviceName" data-qa="toggle-service"
                     disabledBinding="service.isDisabled"
diff --git a/ambari-web/app/templates/wizard/step8.hbs b/ambari-web/app/templates/wizard/step8.hbs
index e210896..1058bc3 100644
--- a/ambari-web/app/templates/wizard/step8.hbs
+++ b/ambari-web/app/templates/wizard/step8.hbs
@@ -97,10 +97,10 @@
       {{/if}}
       {{t common.deploy}} &rarr;
     </button>
-    <button type="button" class="btn btn-info pull-right" {{action printReview target="view"}}>{{t common.print}}</button>
+    <button type="button" class="btn btn-secondary pull-right" {{action printReview target="view"}}>{{t common.print}}</button>
     <button type="button" {{bindAttr class=":btn :btn-primary :pull-right :mrm controller.showDownloadCsv::hide"}} {{action downloadCSV target="controller"}}>{{t admin.kerberos.wizard.step5.downloadCSV}}</button>
     {{#unless App.router.clusterInstallCompleted}}
-      <button type="button" class="btn btn-success pull-right" {{action generateBlueprintConfirmation target="controller"}}><i class="glyphicon glyphicon-download-alt"></i>&nbsp;
+      <button type="button" class="btn btn-secondary pull-right" {{action generateBlueprintConfirmation target="controller"}}><i class="glyphicon glyphicon-download-alt"></i>&nbsp;
         {{t common.generate.blueprint}}
       </button>
     {{/unless}}

-- 
To stop receiving notification emails like this one, please contact
akovalenko@apache.org.