modal-reinstall-package.html.twig 1.8 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <div class="remodal"
  2. data-remodal-id="reinstall-package"
  3. data-remodal-options="hashTracking: false">
  4. <form>
  5. <div class="reinstall-package-confirm">
  6. <h1>{{ "PLUGIN_ADMIN.REINSTALL_THE"|tu([("PLUGIN_ADMIN." ~ type|upper)|tu])|e }}</h1>
  7. <p class="bigger">
  8. {{ "PLUGIN_ADMIN.CONFIRM_REINSTALL"|tu([("PLUGIN_ADMIN." ~ type|upper)|tu])|e }}
  9. </p>
  10. <p class="bigger hidden warning-reinstall-not-latest-release">
  11. {{ "PLUGIN_ADMIN.WARNING_REINSTALL_NOT_LATEST_RELEASE"|tu|e }}
  12. </p>
  13. <div class="button-bar">
  14. <button data-remodal-action="cancel" class="button secondary remodal-cancel"><i class="fa fa-fw fa-close"></i> {{ "PLUGIN_ADMIN.CANCEL"|tu|e }}</button>
  15. <button data-{{ type|e }}-action="reinstall-package"
  16. data-package-slug="{{ package.slug|e }}"
  17. data-package-type="{{ package.package_type |e }}"
  18. data-package-name="{{ package.name|e }}"
  19. data-package-current-version="{{ package.version|e }}"
  20. class="button"><i class="fa fa-fw fa-check"></i> {{ "PLUGIN_ADMIN.CONTINUE"|tu|e }}</button>
  21. <div class="spinning-wheel hidden">
  22. {{ "PLUGIN_ADMIN.INSTALLING"|tu|e }}.. <i class="fa fa-spinner fa-spin"></i>
  23. </div>
  24. </div>
  25. </div>
  26. <div class="reinstall-package-done hidden">
  27. <h1>{{ "PLUGIN_ADMIN.REINSTALLED_SUCCESSFULLY"|tu([("PLUGIN_ADMIN." ~ type|upper)|tu])|e }}</h1>
  28. </div>
  29. <div class="reinstall-package-error hidden">
  30. <h1>{{ "PLUGIN_ADMIN.ERROR_REINSTALLING_THE"|tu([("PLUGIN_ADMIN." ~ type|upper)|tu])|e }}</h1>
  31. </div>
  32. </form>
  33. </div>