123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- {{!
- * Licensed to the Apache Software Foundation (ASF) under one
- * or more contributor license agreements. See the NOTICE file
- * distributed with this work for additional information
- * regarding copyright ownership. The ASF licenses this file
- * to you under the Apache License, Version 2.0 (the
- * "License"); you may not use this file except in compliance
- * with the License. You may obtain a copy of the License at
- *
- * http://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- }}
- <div id="ha-progress-page">
- <h2>{{t admin.highAvailability.wizard.progressPage.header}}</h2>
- <div {{bindAttr class="view.noticeClass"}}>{{view.notice}}</div>
- {{#each task in controller.tasks}}
- {{#view view.taskView contentBinding="task"}}
- <div class="item">
- <div {{bindAttr class=":pull-left controller.isRollback::span4 controller.isRollback:span3"}}>
- <i {{bindAttr class="view.icon view.iconColor"}}></i>
- <a {{bindAttr class="view.linkClass"}} {{action "hostsLogPopup" task target="view"}} >{{task.title}}</a>
- </div>
- <div {{bindAttr class="view.showProgressBar::hide :row :span5 :pull-left" }}>
- <div {{bindAttr class=":progress-bar controller.isRollback::span8 controller.isRollback:span3"}}>
- <div class="progress-striped active progress-info progress">
- <div class="bar" {{bindAttr style="view.barWidth"}}></div>
- </div>
- </div>
- <div class="span1">{{task.progress}}%</div>
- </div>
- <div>
- {{#if task.showRetry}}
- <a {{action retryTask target="controller"}} class="btn btn-primary retry">
- <i class="icon-repeat icon-white"></i>
- {{t common.retry}}
- </a>
- {{/if}}
- {{#if task.showRollback}}
- <a {{action rollback target="controller"}} class="btn btn-primary retry">
- <i class="icon-repeat icon-white"></i>
- {{t common.rollBack}}
- </a>
- {{/if}}
- </div>
- </div>
- {{/view}}
- {{/each}}
- <div class="btn-area">
- <a {{bindAttr class=":btn controller.isSubmitDisabled:disabled :btn-success :pull-right"}} {{action done target="controller"}}>{{view.submitButtonText}}</a>
- </div>
- </div>
|