step10.hbs 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. <h2>{{t installer.step10.header}}</h2>
  19. {{#if view.serviceRestartText}}
  20. <div id="step10-alert-message" class="alert alert-danger">
  21. {{{view.serviceRestartText}}}
  22. </div>
  23. {{/if}}
  24. <div class="alert alert-info">
  25. {{t installer.step10.body}}
  26. </div>
  27. {{#if controller.isLoaded}}
  28. <div id="step10-content" class="well pre-scrollable">
  29. <ul>
  30. {{#each item in clusterInfo}}
  31. <li>
  32. <span {{bindAttr class="item.color"}}>{{item.displayStatement}}</span>
  33. <ul>
  34. {{#each status in item.status}}
  35. <li>
  36. <span {{bindAttr class="status.color"}}>{{status.displayStatement}}</span>
  37. <ul>
  38. {{#each statement in status.statements}}
  39. <li>
  40. <span {{bindAttr class="status.color"}}>{{statement.displayStatement}}</span>
  41. </li>
  42. {{/each}}
  43. </ul>
  44. </li>
  45. {{/each}}
  46. </ul>
  47. </li>
  48. {{/each}}
  49. </ul>
  50. </div>
  51. {{else}}
  52. <div class="spinner"></div>
  53. {{/if}}
  54. <div class="btn-area">
  55. <a class="btn btn-success pull-right" {{bindAttr disabled="isSubmitDisabled"}} {{action complete}}>{{t common.complete}} &rarr;</a>
  56. </div>