modal-remove-package.html.twig 2.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <div class="remodal"
  2. data-remodal-id="remove-package"
  3. data-remodal-options="hashTracking: false">
  4. <form>
  5. <div class="remove-package-confirm">
  6. <h1>{{ "PLUGIN_ADMIN.REMOVE_THE"|tu([("PLUGIN_ADMIN." ~ type|upper)|tu]) }}</h1>
  7. <p class="bigger">
  8. {{ "PLUGIN_ADMIN.CONFIRM_REMOVAL"|tu([("PLUGIN_ADMIN." ~ type|upper)|tu]) }}
  9. </p>
  10. <div class="button-bar">
  11. <button data-remodal-action="cancel" class="button secondary remodal-cancel"><i class="fa fa-fw fa-close"></i> {{ "PLUGIN_ADMIN.CANCEL"|tu }}</button>
  12. <button data-{{ type }}-action="remove-package" data-packages-slugs="{{ package.slug }}" class="button"><i class="fa fa-fw fa-check"></i> {{ "PLUGIN_ADMIN.CONTINUE"|tu }}</button>
  13. </div>
  14. </div>
  15. <div class="remove-package-dependencies hidden">
  16. <h1>{{ "PLUGIN_ADMIN.REMOVED_SUCCESSFULLY"|tu([("PLUGIN_ADMIN." ~ type|upper)|tu]) }}</h1>
  17. <p>
  18. {{ "PLUGIN_ADMIN.ADDITIONAL_DEPENDENCIES_CAN_BE_REMOVED"|tu([("PLUGIN_ADMIN." ~ type|upper)|tu]) }}
  19. </p>
  20. <div>
  21. <ul class="package-dependencies-container"></ul>
  22. </div>
  23. <div class="button-bar">
  24. <a href="{{ base_url_relative ~ '/' ~ type ~ 's' }}" class="button secondary"><i class="fa fa-fw fa-close"></i> {{ "PLUGIN_ADMIN.CLOSE"|tu }}</a>
  25. </div>
  26. </div>
  27. <div class="remove-package-done hidden">
  28. <h1>{{ "PLUGIN_ADMIN.REMOVED_SUCCESSFULLY"|tu([("PLUGIN_ADMIN." ~ type|upper)|tu]) }}</h1>
  29. <div class="button-bar">
  30. <a href="{{ base_url_relative ~ '/' ~ type ~ 's' }}" class="button secondary"><i class="fa fa-fw fa-close"></i> {{ "PLUGIN_ADMIN.CLOSE"|tu }}</a>
  31. </div>
  32. </div>
  33. <div class="remove-package-error hidden">
  34. <h1>{{ "PLUGIN_ADMIN.ERROR_REMOVING_THE"|tu([("PLUGIN_ADMIN." ~ type|upper)|tu]) }}</h1>
  35. <div class="button-bar">
  36. <button data-remodal-action="cancel" class="button secondary remodal-cancel"><i class="fa fa-fw fa-close"></i> {{ "PLUGIN_ADMIN.CANCEL"|tu }}</button>
  37. </div>
  38. </div>
  39. </form>
  40. </div>