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"|t(("PLUGIN_ADMIN." ~ type|upper)|t) }}</h1>
  7. <p class="bigger">
  8. {{ "PLUGIN_ADMIN.CONFIRM_REINSTALL"|t(("PLUGIN_ADMIN." ~ type|upper)|t) }}
  9. </p>
  10. <p class="bigger hidden warning-reinstall-not-latest-release">
  11. {{ "PLUGIN_ADMIN.WARNING_REINSTALL_NOT_LATEST_RELEASE"|t }}
  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"|t }}</button>
  15. <button data-{{ type }}-action="reinstall-package"
  16. data-package-slug="{{ package.slug }}"
  17. data-package-type="{{ package.package_type }}"
  18. data-package-name="{{ package.name }}"
  19. data-package-current-version="{{ package.version }}"
  20. class="button"><i class="fa fa-fw fa-check"></i> {{ "PLUGIN_ADMIN.CONTINUE"|t }}</button>
  21. <div class="spinning-wheel hidden">
  22. {{ "PLUGIN_ADMIN.INSTALLING"|t }}.. <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"|t(("PLUGIN_ADMIN." ~ type|upper)|t) }}</h1>
  28. </div>
  29. <div class="reinstall-package-error hidden">
  30. <h1>{{ "PLUGIN_ADMIN.ERROR_REINSTALLING_THE"|t(("PLUGIN_ADMIN." ~ type|upper)|t) }}</h1>
  31. </div>
  32. </form>
  33. </div>