AMBARI-20609. Fix Install Wizard data attribute (onechiporenko)

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

Branch: refs/heads/branch-feature-AMBARI-12556
Commit: bbd86dd2bf7707485c91461eb118cf808ebef7f8
Parents: b66d4b1
Author: Oleg Nechiporenko <[email protected]>
Authored: Fri Apr 21 14:28:03 2017 +0300
Committer: Oleg Nechiporenko <[email protected]>
Committed: Fri Apr 21 14:33:19 2017 +0300

----------------------------------------------------------------------
 ambari-web/app/templates/wizard/step10.hbs | 2 +-
 ambari-web/app/templates/wizard/step4.hbs  | 4 ++--
 ambari-web/app/templates/wizard/step6.hbs  | 4 ++--
 ambari-web/app/templates/wizard/step7.hbs  | 4 ++--
 ambari-web/app/templates/wizard/step8.hbs  | 4 ++--
 ambari-web/app/templates/wizard/step9.hbs  | 2 +-
 6 files changed, 10 insertions(+), 10 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/bbd86dd2/ambari-web/app/templates/wizard/step10.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/wizard/step10.hbs 
b/ambari-web/app/templates/wizard/step10.hbs
index 3c1012e..fef02b4 100644
--- a/ambari-web/app/templates/wizard/step10.hbs
+++ b/ambari-web/app/templates/wizard/step10.hbs
@@ -56,7 +56,7 @@
 
 <div class="wizard-footer col-md-12">
   <div class="btn-area">
-    <button type="button" class="btn btn-success pull-right" {{bindAttr 
disabled="App.router.btnClickInProgress"}} {{action complete}}>
+    <button type="button" {{QAAttr "wizard-next"}} class="btn btn-success 
pull-right" {{bindAttr disabled="App.router.btnClickInProgress"}} {{action 
complete}}>
       {{#if App.router.nextBtnClickInProgress}}
         {{view App.SpinnerView tagName="span" 
classNames="service-button-spinner"}}
       {{/if}}

http://git-wip-us.apache.org/repos/asf/ambari/blob/bbd86dd2/ambari-web/app/templates/wizard/step4.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/wizard/step4.hbs 
b/ambari-web/app/templates/wizard/step4.hbs
index c688981..9f1d7df 100644
--- a/ambari-web/app/templates/wizard/step4.hbs
+++ b/ambari-web/app/templates/wizard/step4.hbs
@@ -61,14 +61,14 @@
 <div class="wizard-footer col-md-12">
   <div class="btn-area">
     {{#unless view.parentView.controller.hideBackButton}}
-      <button type="button" class="btn btn-default pull-left 
installer-back-btn" {{bindAttr disabled="App.router.btnClickInProgress"}} 
{{action back}}>
+      <button type="button" {{QAAttr "wizard-back"}} class="btn btn-default 
pull-left installer-back-btn" {{bindAttr 
disabled="App.router.btnClickInProgress"}} {{action back}}>
         &larr; {{t common.back}}
         {{#if App.router.backBtnClickInProgress}}
           {{view App.SpinnerView tagName="span" 
classNames="service-button-spinner"}}
         {{/if}}
       </button>
     {{/unless}}
-    <button type="button" class="btn btn-success pull-right" {{bindAttr 
disabled="isSubmitDisabled"}} {{action submit target="controller"}}>
+    <button type="button" {{QAAttr "wizard-next"}} class="btn btn-success 
pull-right" {{bindAttr disabled="isSubmitDisabled"}} {{action submit 
target="controller"}}>
       {{#if App.router.nextBtnClickInProgress}}
         {{view App.SpinnerView tagName="span" 
classNames="service-button-spinner"}}
       {{/if}}

http://git-wip-us.apache.org/repos/asf/ambari/blob/bbd86dd2/ambari-web/app/templates/wizard/step6.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/wizard/step6.hbs 
b/ambari-web/app/templates/wizard/step6.hbs
index c06177e..6dfb5f1 100644
--- a/ambari-web/app/templates/wizard/step6.hbs
+++ b/ambari-web/app/templates/wizard/step6.hbs
@@ -95,13 +95,13 @@
 
 <div class="wizard-footer col-md-12">
   <div class="btn-area">
-    <button type="button" class="btn btn-default installer-back-btn" 
{{bindAttr disabled="App.router.btnClickInProgress"}} {{action back}}>
+    <button type="button" {{QAAttr "wizard-back"}} class="btn btn-default 
installer-back-btn" {{bindAttr disabled="App.router.btnClickInProgress"}} 
{{action back}}>
       &larr; {{t common.back}}
       {{#if App.router.backBtnClickInProgress}}
         {{view App.SpinnerView tagName="span" 
classNames="service-button-spinner"}}
       {{/if}}
     </button>
-    <button type="button" class="btn btn-success pull-right" {{bindAttr 
disabled="submitDisabled"}} {{action next}}>
+    <button type="button" {{QAAttr "wizard-next"}} class="btn btn-success 
pull-right" {{bindAttr disabled="submitDisabled"}} {{action next}}>
       {{#if App.router.nextBtnClickInProgress}}
         {{view App.SpinnerView tagName="span" 
classNames="service-button-spinner"}}
       {{/if}}

http://git-wip-us.apache.org/repos/asf/ambari/blob/bbd86dd2/ambari-web/app/templates/wizard/step7.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/wizard/step7.hbs 
b/ambari-web/app/templates/wizard/step7.hbs
index aecaf82..206c3cb 100644
--- a/ambari-web/app/templates/wizard/step7.hbs
+++ b/ambari-web/app/templates/wizard/step7.hbs
@@ -33,7 +33,7 @@
 
 <div class="wizard-footer col-md-12">
   <div class="btn-area">
-    <button type="button" class="btn btn-default installer-back-btn" 
{{bindAttr disabled="App.router.btnClickInProgress"}} {{action back}}>
+    <button type="button" {{QAAttr "wizard-back"}} class="btn btn-default 
installer-back-btn" {{bindAttr disabled="App.router.btnClickInProgress"}} 
{{action back}}>
       &larr; {{t common.back}}
       {{#if App.router.backBtnClickInProgress}}
         {{view App.SpinnerView tagName="span" 
classNames="service-button-spinner"}}
@@ -43,7 +43,7 @@
       {{#if App.supports.preInstallChecks}}
         <a class="btn btn-default" {{action runPreInstallChecks 
target="App.router.preInstallChecksController"}} {{bindAttr 
disabled="isSubmitDisabled"}}><i class="glyphicon glyphicon-exclamation"></i> 
{{t installer.step7.preInstallChecks}}</a>
       {{/if}}
-      <button type="button" class="btn btn-success" {{bindAttr 
disabled="isSubmitDisabled"}} {{action submit target="controller"}}>
+      <button type="button" class="btn btn-success" {{QAAttr "wizard-next"}} 
{{bindAttr disabled="isSubmitDisabled"}} {{action submit target="controller"}}>
         {{#if App.router.nextBtnClickInProgress}}
           {{view App.SpinnerView tagName="span" 
classNames="service-button-spinner"}}
         {{/if}}

http://git-wip-us.apache.org/repos/asf/ambari/blob/bbd86dd2/ambari-web/app/templates/wizard/step8.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/wizard/step8.hbs 
b/ambari-web/app/templates/wizard/step8.hbs
index f0e7b83..ac32710 100644
--- a/ambari-web/app/templates/wizard/step8.hbs
+++ b/ambari-web/app/templates/wizard/step8.hbs
@@ -84,13 +84,13 @@
 
 <div class="wizard-footer col-md-12">
   <div class="btn-area">
-    <button type="button" class="btn btn-default pull-left installer-back-btn" 
{{bindAttr disabled="App.router.btnClickInProgress"}} {{action back}}>
+    <button type="button" {{QAAttr "wizard-back"}} class="btn btn-default 
pull-left installer-back-btn" {{bindAttr 
disabled="App.router.btnClickInProgress"}} {{action back}}>
       &larr; {{t common.back}}
       {{#if App.router.backBtnClickInProgress}}
         {{view App.SpinnerView tagName="span" 
classNames="service-button-spinner"}}
       {{/if}}
     </button>
-    <button type="button" class="btn btn-success pull-right"
+    <button type="button" {{QAAttr "wizard-next"}} class="btn btn-success 
pull-right"
        id="spinner" {{bindAttr disabled="controller.isSubmitDisabled"}} 
{{action submit target="controller"}}>
       {{#if App.router.nextBtnClickInProgress}}
         {{view App.SpinnerView tagName="span" 
classNames="service-button-spinner"}}

http://git-wip-us.apache.org/repos/asf/ambari/blob/bbd86dd2/ambari-web/app/templates/wizard/step9.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/wizard/step9.hbs 
b/ambari-web/app/templates/wizard/step9.hbs
index 3b7d17f..5d63798 100644
--- a/ambari-web/app/templates/wizard/step9.hbs
+++ b/ambari-web/app/templates/wizard/step9.hbs
@@ -127,7 +127,7 @@
 </div>
 <div class="wizard-footer col-md-12">
     <div class="btn-area">
-      <button class="btn btn-success pull-right" {{bindAttr 
disabled="isNextButtonDisabled"}} {{action submit target="controller"}} 
{{QAAttr "wizard-next"}}>
+      <button class="btn btn-success pull-right" {{QAAttr "wizard-next"}} 
{{bindAttr disabled="isNextButtonDisabled"}} {{action submit 
target="controller"}} {{QAAttr "wizard-next"}}>
         {{#if App.router.nextBtnClickInProgress}}
           {{view App.SpinnerView tagName="span" 
classNames="service-button-spinner"}}
         {{/if}}

Reply via email to