You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ambari.apache.org by on...@apache.org on 2016/12/22 11:47:41 UTC
ambari git commit: AMBARI-19279. AHW Configurations page looks not
like any other wizard page (onechiporenko)
Repository: ambari
Updated Branches:
refs/heads/trunk 170d3bef6 -> bd3df7db0
AMBARI-19279. AHW Configurations page looks not like any other wizard page (onechiporenko)
Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/bd3df7db
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/bd3df7db
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/bd3df7db
Branch: refs/heads/trunk
Commit: bd3df7db06d43c78067df43e53209fd8aa1fac87
Parents: 170d3be
Author: Oleg Nechiporenko <on...@apache.org>
Authored: Thu Dec 22 11:56:43 2016 +0200
Committer: Oleg Nechiporenko <on...@apache.org>
Committed: Thu Dec 22 11:56:43 2016 +0200
----------------------------------------------------------------------
.../app/templates/main/host/addHost/step4.hbs | 56 +++++++++++---------
1 file changed, 30 insertions(+), 26 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ambari/blob/bd3df7db/ambari-web/app/templates/main/host/addHost/step4.hbs
----------------------------------------------------------------------
diff --git a/ambari-web/app/templates/main/host/addHost/step4.hbs b/ambari-web/app/templates/main/host/addHost/step4.hbs
index 305b5f4..41e4381 100644
--- a/ambari-web/app/templates/main/host/addHost/step4.hbs
+++ b/ambari-web/app/templates/main/host/addHost/step4.hbs
@@ -15,20 +15,20 @@
* See the License for the specific language governing permissions and
* limitations under the License.
}}
-<div>
- <h2>{{t addHost.step4.header}}</h2>
- <div class="alert alert-info">
- {{t addHost.step4.title}}
- </div>
- <div class="pre-scrollable">
- <table class="table table-hover" id="host-configurations-table">
- <thead>
+<div class="wizard-content col-md-9">
+ <h4 class="step-title">{{t addHost.step4.header}}</h4>
+ <p class="step-description">{{t addHost.step4.title}}</p>
+ <div class="panel panel-default">
+ <div class="panel-body">
+ <div class="pre-scrollable">
+ <table class="table table-hover" id="host-configurations-table">
+ <thead>
<tr>
<th>{{t common.service}}</th>
<th>{{t common.conf.group}}</th>
</tr>
- </thead>
- <tbody>
+ </thead>
+ <tbody>
{{#each service in controller.content.configGroups}}
<tr {{bindAttr id="service.serviceId"}}>
<td>{{service.displayName}}</td>
@@ -44,21 +44,25 @@
</td>
</tr>
{{/each}}
- </tbody>
- </table>
- </div>
- <div class="btn-area">
- <button class="btn btn-default" {{bindAttr disabled="App.router.btnClickInProgress"}} {{action back}}>
- ← {{t common.back}}
- {{#if App.router.backBtnClickInProgress}}
- {{view App.SpinnerView tagName="span" classNames="service-button-spinner"}}
- {{/if}}
- </button>
- <button class="btn btn-success pull-right" {{bindAttr disabled="App.router.btnClickInProgress"}} {{action next}}>
- {{#if App.router.nextBtnClickInProgress}}
- {{view App.SpinnerView tagName="span" classNames="service-button-spinner"}}
- {{/if}}
- {{t common.next}} →
- </button>
+ </tbody>
+ </table>
+ </div>
</div>
+ </div>
</div>
+
+<div class="wizard-footer col-md-12 btn-area">
+ <button class="btn btn-default" {{bindAttr disabled="App.router.btnClickInProgress"}} {{action back}}>
+ ← {{t common.back}}
+ {{#if App.router.backBtnClickInProgress}}
+ {{view App.SpinnerView tagName="span" classNames="service-button-spinner"}}
+ {{/if}}
+ </button>
+ <button
+ class="btn btn-success pull-right" {{bindAttr disabled="App.router.btnClickInProgress"}} {{action next}}>
+ {{#if App.router.nextBtnClickInProgress}}
+ {{view App.SpinnerView tagName="span" classNames="service-button-spinner"}}
+ {{/if}}
+ {{t common.next}} →
+ </button>
+</div>
\ No newline at end of file