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/branch-dev-patch-upgrade Commit: bd3df7db06d43c78067df43e53209fd8aa1fac87 Parents: 170d3be Author: Oleg Nechiporenko <[email protected]> Authored: Thu Dec 22 11:56:43 2016 +0200 Committer: Oleg Nechiporenko <[email protected]> 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
