modal-add-package.html.twig 3.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <div class="remodal"
  2. data-packages-modal
  3. data-remodal-id="add-package"
  4. data-remodal-options="hashTracking: false">
  5. <form>
  6. <div class="add-package-installing">
  7. <h1>{{ "PLUGIN_ADMIN.INSTALLING"|tu }}</h1>
  8. <div class="loading">
  9. <p>
  10. {{ "PLUGIN_ADMIN.LOADING"|tu }}
  11. <span class="fa fa-spin fa-spinner"></span>
  12. </p>
  13. </div>
  14. <div class="install-dependencies-package-container hidden">
  15. <p><strong>{{ "PLUGIN_ADMIN.DEPENDENCIES_NOT_MET_MESSAGE"|tu }}</strong></p>
  16. <div class="type-install hidden">
  17. <p>{{ "PLUGIN_ADMIN.PACKAGES_NOT_INSTALLED"|tu }}:</p>
  18. <ul></ul>
  19. </div>
  20. <div class="type-update hidden">
  21. <p>{{ "PLUGIN_ADMIN.PACKAGES_NEED_UPDATE"|tu }}:</p>
  22. <ul></ul>
  23. </div>
  24. <div class="type-ignore hidden">
  25. <p>{{ "PLUGIN_ADMIN.PACKAGES_SUGGESTED_UPDATE"|tu }}:</p>
  26. <ul></ul>
  27. </div>
  28. <div class="button-bar">
  29. <button data-remodal-action="cancel" class="button secondary remodal-cancel"><i class="fa fa-fw fa-close"></i> {{ "PLUGIN_ADMIN.CANCEL"|tu }}</button>
  30. <a data-{{ type }}-action="install-dependencies-and-package" class="button"><i class="fa fa-fw fa-check"></i> {{ "PLUGIN_ADMIN.CONTINUE"|tu }}</a>
  31. </div>
  32. </div>
  33. <div class="install-package-container hidden">
  34. <p>
  35. {{ "PLUGIN_ADMIN.READY_TO_INSTALL_PACKAGES"|tu }}
  36. </p>
  37. <ul class="packages-names-list"></ul>
  38. <div class="button-bar">
  39. <button data-remodal-action="cancel" class="button secondary remodal-cancel"><i class="fa fa-fw fa-close"></i> {{ "PLUGIN_ADMIN.CANCEL"|tu }}</button>
  40. <a data-{{ type }}-action="install-package" class="button"><i class="fa fa-fw fa-check"></i> {{ "PLUGIN_ADMIN.CONTINUE"|tu }}</a>
  41. </div>
  42. </div>
  43. <div class="install-package-error hidden">
  44. <p>
  45. {{ "PLUGIN_ADMIN.ERROR_INSTALLING_PACKAGES"|tu }}
  46. </p>
  47. <ul class="packages-names-list"></ul>
  48. <div class="button-bar">
  49. <button data-remodal-action="cancel" class="button secondary remodal-cancel"><i class="fa fa-fw fa-close"></i> {{ "PLUGIN_ADMIN.CLOSE"|tu }}</button>
  50. </div>
  51. </div>
  52. <div class="installing-dependencies hidden">
  53. <p>
  54. {{ "PLUGIN_ADMIN.INSTALLING_DEPENDENCIES"|tu }}
  55. <span class="fa fa-spin fa-spinner"></span>
  56. </p>
  57. </div>
  58. <div class="installing-package hidden">
  59. <p>
  60. {{ "PLUGIN_ADMIN.INSTALLING_PACKAGES"|tu }}
  61. <span class="fa fa-spin fa-spinner"></span>
  62. </p>
  63. <ul class="packages-names-list"></ul>
  64. </div>
  65. <div class="installation-complete hidden">
  66. <p>
  67. {{ "PLUGIN_ADMIN.PACKAGES_SUCCESSFULLY_INSTALLED"|tu }}
  68. </p>
  69. <ul class="packages-names-list"></ul>
  70. </div>
  71. </div>
  72. </form>
  73. </div>