You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
1.2 KiB

  1. .modal(v-bind:class='{ "is-active": upgradeModal.state }')
  2. .modal-background
  3. .modal-container
  4. .modal-content
  5. template(v-if='upgradeModal.step === "running"')
  6. header.is-blue Install
  7. section.modal-loading
  8. i
  9. span Wiki.js {{ upgradeModal.mode }} in progress...
  10. em Please wait
  11. template(v-if='upgradeModal.step === "error"')
  12. header.is-red Installation Error
  13. section.modal-loading
  14. span {{ upgradeModal.error }}
  15. footer
  16. a.button.is-grey.is-outlined(v-on:click='upgradeCancel') Abort
  17. a.button.is-deep-orange(v-on:click='upgradeStart') Try Again
  18. template(v-if='upgradeModal.step === "confirm"')
  19. header.is-deep-orange Are you sure?
  20. section
  21. label.label You are about to {{ upgradeModal.mode }} Wiki.js.
  22. span.note You will not be able to access your wiki during the operation. Content will not be affected. However, it is your responsability to ensure you have a backup in the unexpected event content gets lost or corrupted.
  23. footer
  24. a.button.is-grey.is-outlined(v-on:click='upgradeCancel') Abort
  25. a.button.is-deep-orange(v-on:click='upgradeStart') Start