step3.hbs 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  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 admin.highAvailability.wizard.step3.header}}</h2>
  19. <div class="alert alert-info">
  20. {{t admin.highAvailability.wizard.step3.confirm.host.body}}
  21. </div>
  22. <div id="ha-step3-content" class="well pre-scrollable">
  23. <div id="step8-info">
  24. <table id="ha-step3-review-table">
  25. <tr>
  26. <td>{{t admin.highAvailability.wizard.step3.curNameNode}}</td>
  27. <td>{{view.curNameNode}}</td>
  28. <td></td>
  29. </tr>
  30. <tr>
  31. <td>{{t admin.highAvailability.wizard.step3.secNameNode}}</td>
  32. <td>{{view.secondaryNameNode}}</td>
  33. <td><span class="to-be-disabled-red"><i class="icon-minus"></i>&nbsp;{{t admin.highAvailability.wizard.step3.toBeDeleted}}</span></td>
  34. </tr>
  35. <tr>
  36. <td>{{t admin.highAvailability.wizard.step3.addNameNode}}</td>
  37. <td>{{view.addNameNode}}</td>
  38. <td><span class="to-be-installed-green"><i class="icon-plus"></i>&nbsp;{{t admin.highAvailability.wizard.step3.toBeInstalled}}</span></td>
  39. </tr>
  40. <tr>
  41. <td>{{t admin.highAvailability.wizard.step3.journalNode}}</td>
  42. <td>
  43. <ul>
  44. {{#each item in view.journalNodes}}
  45. <li>{{item.hostName}}</li>
  46. {{/each}}
  47. </ul>
  48. </td>
  49. <td>
  50. <ul>
  51. <li><span class="to-be-installed-green"><i
  52. class="icon-plus"></i>&nbsp;{{t admin.highAvailability.wizard.step3.toBeInstalled}}</span></li>
  53. <li><span class="to-be-installed-green"><i
  54. class="icon-plus"></i>&nbsp;{{t admin.highAvailability.wizard.step3.toBeInstalled}}</span></li>
  55. <li><span class="to-be-installed-green"><i
  56. class="icon-plus"></i>&nbsp;{{t admin.highAvailability.wizard.step3.toBeInstalled}}</span></li>
  57. </ul>
  58. </td>
  59. </tr>
  60. </table>
  61. </div>
  62. </div>
  63. <div id="serviceConfig">
  64. {{{t admin.highAvailability.wizard.step3.confirm.config.body}}}
  65. {{view App.ServiceConfigView isNotEditableBinding="controller.isNotEditable"}}
  66. </div>
  67. <div class="btn-area">
  68. <a class="btn" {{action back}}>&larr; {{t common.back}}</a>
  69. <a class="btn btn-success pull-right" {{action next}}>{{t common.next}} &rarr;</a>
  70. </div>