step4.hbs 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. {{!
  2. * Licensed to the Apache Software Foundation (ASF) under one
  3. * or more contributor license agreements. See the NOTICE file
  4. * distributed with this work for additional information
  5. * regarding copyright ownership. The ASF licenses this file
  6. * to you under the Apache License, Version 2.0 (the
  7. * "License"); you may not use this file except in compliance
  8. * with the License. You may obtain a copy of the License at
  9. *
  10. * http://www.apache.org/licenses/LICENSE-2.0
  11. *
  12. * Unless required by applicable law or agreed to in writing, software
  13. * distributed under the License is distributed on an "AS IS" BASIS,
  14. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  15. * See the License for the specific language governing permissions and
  16. * limitations under the License.
  17. }}
  18. <div id="ha-step4">
  19. <h2>{{t admin.highAvailability.wizard.step4.header}}</h2>
  20. <div class="alert alert-info">{{t admin.highAvailability.wizard.step4.notice}}</div>
  21. {{#each task in controller.tasks}}
  22. {{#view view.taskView contentBinding="task"}}
  23. <div class="item">
  24. <i {{bindAttr class="view.icon view.iconColor"}}></i>
  25. <a href="javascript:void(0)">{{task.title}}</a>
  26. </div>
  27. <div {{bindAttr class="view.showProgressBar::hide :row :span12" }}>
  28. <div class="progress-bar span4">
  29. <div class="progress-striped active progress-info progress">
  30. <div class="bar" {{bindAttr style="view.barWidth"}}></div>
  31. </div>
  32. </div>
  33. <div class="span1">{{task.progress}}&#37;</div>
  34. </div>
  35. {{/view}}
  36. {{/each}}
  37. <div class="btn-area">
  38. <a {{bindAttr class=":btn controller.isSubmitDisabled:disabled :btn-success :pull-right"}} {{action done target="controller"}}>{{t common.done}}</a>
  39. </div>
  40. </div>