7b5649072aeeea16bc4914745c7ff2d378f30cff13593f188eefa7bf5cfab52b.php 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277
  1. <?php
  2. /* partials/modal-add-package.html.twig */
  3. class __TwigTemplate_3d53a0fa25c4043e17fcad3e8cdb6426271b4cd9b8aa58f62fe87e69c27c0d62 extends Twig_Template
  4. {
  5. public function __construct(Twig_Environment $env)
  6. {
  7. parent::__construct($env);
  8. $this->parent = false;
  9. $this->blocks = array(
  10. );
  11. }
  12. protected function doDisplay(array $context, array $blocks = array())
  13. {
  14. // line 1
  15. echo "<div class=\"remodal\"
  16. data-packages-modal
  17. data-remodal-id=\"add-package\"
  18. data-remodal-options=\"hashTracking: false\">
  19. <form>
  20. <div class=\"add-package-installing\">
  21. <h1>";
  22. // line 7
  23. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.INSTALLING"), "html", null, true);
  24. echo "</h1>
  25. <div class=\"loading\">
  26. <p>
  27. ";
  28. // line 11
  29. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.LOADING"), "html", null, true);
  30. echo "
  31. <span class=\"fa fa-spin fa-spinner\"></span>
  32. </p>
  33. </div>
  34. <div class=\"install-dependencies-package-container hidden\">
  35. <p><strong>";
  36. // line 17
  37. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.DEPENDENCIES_NOT_MET_MESSAGE"), "html", null, true);
  38. echo "</strong></p>
  39. <div class=\"type-install hidden\">
  40. <p>";
  41. // line 20
  42. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.PACKAGES_NOT_INSTALLED"), "html", null, true);
  43. echo ":</p>
  44. <ul></ul>
  45. </div>
  46. <div class=\"type-update hidden\">
  47. <p>";
  48. // line 24
  49. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.PACKAGES_NEED_UPDATE"), "html", null, true);
  50. echo ":</p>
  51. <ul></ul>
  52. </div>
  53. <div class=\"type-ignore hidden\">
  54. <p>";
  55. // line 28
  56. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.PACKAGES_SUGGESTED_UPDATE"), "html", null, true);
  57. echo ":</p>
  58. <ul></ul>
  59. </div>
  60. <div class=\"button-bar\">
  61. <button data-remodal-action=\"cancel\" class=\"button secondary remodal-cancel\"><i class=\"fa fa-fw fa-close\"></i> ";
  62. // line 33
  63. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CANCEL"), "html", null, true);
  64. echo "</button>
  65. <a data-";
  66. // line 34
  67. echo twig_escape_filter($this->env, ($context["type"] ?? null), "html", null, true);
  68. echo "-action=\"install-dependencies-and-package\" class=\"button\"><i class=\"fa fa-fw fa-check\"></i> ";
  69. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CONTINUE"), "html", null, true);
  70. echo "</a>
  71. </div>
  72. </div>
  73. <div class=\"install-package-container hidden\">
  74. <p>
  75. ";
  76. // line 40
  77. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.READY_TO_INSTALL_PACKAGES"), "html", null, true);
  78. echo "
  79. </p>
  80. <ul class=\"packages-names-list\"></ul>
  81. <div class=\"button-bar\">
  82. <button data-remodal-action=\"cancel\" class=\"button secondary remodal-cancel\"><i class=\"fa fa-fw fa-close\"></i> ";
  83. // line 46
  84. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CANCEL"), "html", null, true);
  85. echo "</button>
  86. <a data-";
  87. // line 47
  88. echo twig_escape_filter($this->env, ($context["type"] ?? null), "html", null, true);
  89. echo "-action=\"install-package\" class=\"button\"><i class=\"fa fa-fw fa-check\"></i> ";
  90. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CONTINUE"), "html", null, true);
  91. echo "</a>
  92. </div>
  93. </div>
  94. <div class=\"install-package-error hidden\">
  95. <p>
  96. ";
  97. // line 53
  98. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.ERROR_INSTALLING_PACKAGES"), "html", null, true);
  99. echo "
  100. </p>
  101. <ul class=\"packages-names-list\"></ul>
  102. <div class=\"button-bar\">
  103. <button data-remodal-action=\"cancel\" class=\"button secondary remodal-cancel\"><i class=\"fa fa-fw fa-close\"></i> ";
  104. // line 59
  105. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CLOSE"), "html", null, true);
  106. echo "</button>
  107. </div>
  108. </div>
  109. <div class=\"installing-dependencies hidden\">
  110. <p>
  111. ";
  112. // line 65
  113. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.INSTALLING_DEPENDENCIES"), "html", null, true);
  114. echo "
  115. <span class=\"fa fa-spin fa-spinner\"></span>
  116. </p>
  117. </div>
  118. <div class=\"installing-package hidden\">
  119. <p>
  120. ";
  121. // line 72
  122. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.INSTALLING_PACKAGES"), "html", null, true);
  123. echo "
  124. <span class=\"fa fa-spin fa-spinner\"></span>
  125. </p>
  126. <ul class=\"packages-names-list\"></ul>
  127. </div>
  128. <div class=\"installation-complete hidden\">
  129. <p>
  130. ";
  131. // line 81
  132. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.PACKAGES_SUCCESSFULLY_INSTALLED"), "html", null, true);
  133. echo "
  134. </p>
  135. <ul class=\"packages-names-list\"></ul>
  136. </div>
  137. </div>
  138. </form>
  139. </div>";
  140. }
  141. public function getTemplateName()
  142. {
  143. return "partials/modal-add-package.html.twig";
  144. }
  145. public function isTraitable()
  146. {
  147. return false;
  148. }
  149. public function getDebugInfo()
  150. {
  151. return array ( 150 => 81, 138 => 72, 128 => 65, 119 => 59, 110 => 53, 99 => 47, 95 => 46, 86 => 40, 75 => 34, 71 => 33, 63 => 28, 56 => 24, 49 => 20, 43 => 17, 34 => 11, 27 => 7, 19 => 1,);
  152. }
  153. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  154. public function getSource()
  155. {
  156. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  157. return $this->getSourceContext()->getCode();
  158. }
  159. public function getSourceContext()
  160. {
  161. return new Twig_Source("<div class=\"remodal\"
  162. data-packages-modal
  163. data-remodal-id=\"add-package\"
  164. data-remodal-options=\"hashTracking: false\">
  165. <form>
  166. <div class=\"add-package-installing\">
  167. <h1>{{ \"PLUGIN_ADMIN.INSTALLING\"|tu }}</h1>
  168. <div class=\"loading\">
  169. <p>
  170. {{ \"PLUGIN_ADMIN.LOADING\"|tu }}
  171. <span class=\"fa fa-spin fa-spinner\"></span>
  172. </p>
  173. </div>
  174. <div class=\"install-dependencies-package-container hidden\">
  175. <p><strong>{{ \"PLUGIN_ADMIN.DEPENDENCIES_NOT_MET_MESSAGE\"|tu }}</strong></p>
  176. <div class=\"type-install hidden\">
  177. <p>{{ \"PLUGIN_ADMIN.PACKAGES_NOT_INSTALLED\"|tu }}:</p>
  178. <ul></ul>
  179. </div>
  180. <div class=\"type-update hidden\">
  181. <p>{{ \"PLUGIN_ADMIN.PACKAGES_NEED_UPDATE\"|tu }}:</p>
  182. <ul></ul>
  183. </div>
  184. <div class=\"type-ignore hidden\">
  185. <p>{{ \"PLUGIN_ADMIN.PACKAGES_SUGGESTED_UPDATE\"|tu }}:</p>
  186. <ul></ul>
  187. </div>
  188. <div class=\"button-bar\">
  189. <button data-remodal-action=\"cancel\" class=\"button secondary remodal-cancel\"><i class=\"fa fa-fw fa-close\"></i> {{ \"PLUGIN_ADMIN.CANCEL\"|tu }}</button>
  190. <a data-{{ type }}-action=\"install-dependencies-and-package\" class=\"button\"><i class=\"fa fa-fw fa-check\"></i> {{ \"PLUGIN_ADMIN.CONTINUE\"|tu }}</a>
  191. </div>
  192. </div>
  193. <div class=\"install-package-container hidden\">
  194. <p>
  195. {{ \"PLUGIN_ADMIN.READY_TO_INSTALL_PACKAGES\"|tu }}
  196. </p>
  197. <ul class=\"packages-names-list\"></ul>
  198. <div class=\"button-bar\">
  199. <button data-remodal-action=\"cancel\" class=\"button secondary remodal-cancel\"><i class=\"fa fa-fw fa-close\"></i> {{ \"PLUGIN_ADMIN.CANCEL\"|tu }}</button>
  200. <a data-{{ type }}-action=\"install-package\" class=\"button\"><i class=\"fa fa-fw fa-check\"></i> {{ \"PLUGIN_ADMIN.CONTINUE\"|tu }}</a>
  201. </div>
  202. </div>
  203. <div class=\"install-package-error hidden\">
  204. <p>
  205. {{ \"PLUGIN_ADMIN.ERROR_INSTALLING_PACKAGES\"|tu }}
  206. </p>
  207. <ul class=\"packages-names-list\"></ul>
  208. <div class=\"button-bar\">
  209. <button data-remodal-action=\"cancel\" class=\"button secondary remodal-cancel\"><i class=\"fa fa-fw fa-close\"></i> {{ \"PLUGIN_ADMIN.CLOSE\"|tu }}</button>
  210. </div>
  211. </div>
  212. <div class=\"installing-dependencies hidden\">
  213. <p>
  214. {{ \"PLUGIN_ADMIN.INSTALLING_DEPENDENCIES\"|tu }}
  215. <span class=\"fa fa-spin fa-spinner\"></span>
  216. </p>
  217. </div>
  218. <div class=\"installing-package hidden\">
  219. <p>
  220. {{ \"PLUGIN_ADMIN.INSTALLING_PACKAGES\"|tu }}
  221. <span class=\"fa fa-spin fa-spinner\"></span>
  222. </p>
  223. <ul class=\"packages-names-list\"></ul>
  224. </div>
  225. <div class=\"installation-complete hidden\">
  226. <p>
  227. {{ \"PLUGIN_ADMIN.PACKAGES_SUCCESSFULLY_INSTALLED\"|tu }}
  228. </p>
  229. <ul class=\"packages-names-list\"></ul>
  230. </div>
  231. </div>
  232. </form>
  233. </div>", "partials/modal-add-package.html.twig", "/home/kevin/Sites/static-ethica.net/user/plugins/admin/themes/grav/templates/partials/modal-add-package.html.twig");
  234. }
  235. }