step1.hbs 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859
  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 class="box alert-info">
  19. <div>
  20. {{t installer.stackUpgrade.step1.description}}
  21. </div>
  22. <br/>
  23. <div>
  24. <div>{{t installer.stackUpgrade.step1.installedStackVersion}}: {{App.currentStackVersion}}</div>
  25. <div>{{t installer.stackUpgrade.step1.upgradeStackVersion}}: {{content.upgradeVersion}}</div>
  26. </div>
  27. </div>
  28. <div>
  29. <table class="table table-bordered table-striped">
  30. <thead>
  31. <tr>
  32. <th>{{t common.service}}</th>
  33. <th>{{t installer.stackUpgrade.step1.installedVersion}}</th>
  34. <th>{{t installer.stackUpgrade.step1.newVersion}}</th>
  35. <th>{{t common.description}}</th>
  36. </tr>
  37. </thead>
  38. <tbody>
  39. {{#each service in content.servicesInfo}}
  40. {{#unless service.isHidden}}
  41. <tr>
  42. <td>{{service.displayName}}</td>
  43. <td>{{service.version}}</td>
  44. <td>{{service.newVersion}}</td>
  45. <td>{{service.description}}</td>
  46. </tr>
  47. {{/unless}}
  48. {{/each}}
  49. </tbody>
  50. </table>
  51. </div>
  52. <div class="btn-area">
  53. <a class="btn pull-left" {{action backToCluster}}>{{t common.cancel}}</a>
  54. <a class="btn btn-success pull-right" {{action next}}>{{t common.next}}</a>
  55. </div>