7b347067fbee2689dd962270985b4c1f94926b44177d2a9a18a12ac2f6869570.php 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557
  1. <?php
  2. /* partials/base-root.html.twig */
  3. class __TwigTemplate_907091a5cedc39f0ac2cd7a8170cfa7e99126a96260dde8037535b52841fb3c8 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. 'head' => array($this, 'block_head'),
  11. 'stylesheets' => array($this, 'block_stylesheets'),
  12. 'javascripts' => array($this, 'block_javascripts'),
  13. 'body' => array($this, 'block_body'),
  14. 'page' => array($this, 'block_page'),
  15. 'navigation' => array($this, 'block_navigation'),
  16. 'titlebar' => array($this, 'block_titlebar'),
  17. 'content_wrapper' => array($this, 'block_content_wrapper'),
  18. 'messages' => array($this, 'block_messages'),
  19. 'widgets' => array($this, 'block_widgets'),
  20. 'content_top' => array($this, 'block_content_top'),
  21. 'content' => array($this, 'block_content'),
  22. 'content_bottom' => array($this, 'block_content_bottom'),
  23. 'footer' => array($this, 'block_footer'),
  24. 'modals' => array($this, 'block_modals'),
  25. 'bottom' => array($this, 'block_bottom'),
  26. );
  27. }
  28. protected function doDisplay(array $context, array $blocks = array())
  29. {
  30. // line 1
  31. if (($this->getAttribute(($context["uri"] ?? null), "extension", array(), "method") == "json")) {
  32. $this->loadTemplate("default.json.twig", "partials/base-root.html.twig", 1)->display($context);
  33. } else {
  34. // line 2
  35. echo " ";
  36. $context["icon_style"] = $this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "admin", array()), "admin_icons", array());
  37. // line 3
  38. echo " <!DOCTYPE html>
  39. <html lang=\"en\">
  40. <head>
  41. ";
  42. // line 6
  43. $this->displayBlock('head', $context, $blocks);
  44. // line 33
  45. echo " </head>
  46. ";
  47. // line 34
  48. $this->displayBlock('body', $context, $blocks);
  49. // line 122
  50. echo " </html>
  51. ";
  52. }
  53. }
  54. // line 6
  55. public function block_head($context, array $blocks = array())
  56. {
  57. // line 7
  58. echo " <meta charset=\"utf-8\" />
  59. <title>";
  60. // line 8
  61. if (($context["title"] ?? null)) {
  62. echo twig_escape_filter($this->env, ($context["title"] ?? null), "html", null, true);
  63. echo " | ";
  64. } else {
  65. if ($this->getAttribute(($context["header"] ?? null), "title", array())) {
  66. echo twig_escape_filter($this->env, $this->getAttribute(($context["header"] ?? null), "title", array()), "html", null, true);
  67. echo " | ";
  68. }
  69. }
  70. echo twig_escape_filter($this->env, $this->getAttribute(($context["site"] ?? null), "title", array()), "html", null, true);
  71. echo "</title>
  72. ";
  73. // line 9
  74. if ($this->getAttribute(($context["header"] ?? null), "description", array())) {
  75. // line 10
  76. echo " <meta name=\"description\" content=\"";
  77. echo twig_escape_filter($this->env, $this->getAttribute(($context["header"] ?? null), "description", array()), "html", null, true);
  78. echo "\">
  79. ";
  80. } else {
  81. // line 12
  82. echo " <meta name=\"description\" content=\"";
  83. echo twig_escape_filter($this->env, $this->getAttribute(($context["site"] ?? null), "description", array()), "html", null, true);
  84. echo "\">
  85. ";
  86. }
  87. // line 14
  88. echo " ";
  89. if ($this->getAttribute(($context["header"] ?? null), "robots", array())) {
  90. // line 15
  91. echo " <meta name=\"robots\" content=\"";
  92. echo twig_escape_filter($this->env, $this->getAttribute(($context["header"] ?? null), "robots", array()), "html", null, true);
  93. echo "\">
  94. ";
  95. } else {
  96. // line 17
  97. echo " <meta name=\"robots\" content=\"noindex, nofollow\">
  98. ";
  99. }
  100. // line 19
  101. echo " <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  102. <link rel=\"icon\" type=\"image/png\" href=\"";
  103. // line 20
  104. echo twig_escape_filter($this->env, ($context["base_url_simple"] ?? null), "html", null, true);
  105. echo twig_escape_filter($this->env, ($context["theme_url"] ?? null), "html", null, true);
  106. echo "/images/favicon.png\">
  107. ";
  108. // line 22
  109. $this->displayBlock('stylesheets', $context, $blocks);
  110. // line 26
  111. echo "
  112. ";
  113. // line 27
  114. $this->loadTemplate("partials/javascript-config.html.twig", "partials/base-root.html.twig", 27)->display($context);
  115. // line 28
  116. echo " ";
  117. $this->displayBlock('javascripts', $context, $blocks);
  118. // line 32
  119. echo " ";
  120. }
  121. // line 22
  122. public function block_stylesheets($context, array $blocks = array())
  123. {
  124. // line 23
  125. echo " ";
  126. $this->loadTemplate("partials/stylesheets.html.twig", "partials/base-root.html.twig", 23)->display($context);
  127. // line 24
  128. echo " ";
  129. echo $this->getAttribute(($context["assets"] ?? null), "css", array(), "method");
  130. echo "
  131. ";
  132. }
  133. // line 28
  134. public function block_javascripts($context, array $blocks = array())
  135. {
  136. // line 29
  137. echo " ";
  138. $this->loadTemplate("partials/javascripts.html.twig", "partials/base-root.html.twig", 29)->display($context);
  139. // line 30
  140. echo " ";
  141. echo $this->getAttribute(($context["assets"] ?? null), "js", array(), "method");
  142. echo "
  143. ";
  144. }
  145. // line 34
  146. public function block_body($context, array $blocks = array())
  147. {
  148. // line 35
  149. echo " <body class=\"ga-theme-17x ";
  150. echo ((($this->getAttribute($this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "admin", array()), "sidebar", array()), "size", array()) == "small")) ? ("sidebar-closed") : (""));
  151. echo " ";
  152. echo twig_escape_filter($this->env, $this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "admin", array()), "body_classes", array()), "html", null, true);
  153. echo " ";
  154. echo twig_escape_filter($this->env, ($context["body_classes"] ?? null), "html", null, true);
  155. echo "\">
  156. ";
  157. // line 36
  158. $this->displayBlock('page', $context, $blocks);
  159. // line 117
  160. echo " ";
  161. $this->displayBlock('bottom', $context, $blocks);
  162. // line 120
  163. echo " </body>
  164. ";
  165. }
  166. // line 36
  167. public function block_page($context, array $blocks = array())
  168. {
  169. // line 37
  170. echo " <div class=\"remodal-bg\">
  171. ";
  172. // line 39
  173. $this->displayBlock('navigation', $context, $blocks);
  174. // line 42
  175. echo "
  176. <main id=\"admin-main\" >
  177. ";
  178. // line 44
  179. $this->loadTemplate("partials/nav-toggle.html.twig", "partials/base-root.html.twig", 44)->display($context);
  180. // line 45
  181. echo " <div id=\"titlebar\" class=\"titlebar\">
  182. ";
  183. // line 46
  184. $this->displayBlock('titlebar', $context, $blocks);
  185. // line 47
  186. echo " </div>
  187. ";
  188. // line 49
  189. $this->displayBlock('content_wrapper', $context, $blocks);
  190. // line 75
  191. echo "
  192. ";
  193. // line 76
  194. $this->displayBlock('modals', $context, $blocks);
  195. // line 112
  196. echo "
  197. </main>
  198. <div id='overlay'></div>
  199. </div>
  200. ";
  201. }
  202. // line 39
  203. public function block_navigation($context, array $blocks = array())
  204. {
  205. // line 40
  206. echo " ";
  207. $this->loadTemplate("partials/nav.html.twig", "partials/base-root.html.twig", 40)->display($context);
  208. // line 41
  209. echo " ";
  210. }
  211. // line 46
  212. public function block_titlebar($context, array $blocks = array())
  213. {
  214. }
  215. // line 49
  216. public function block_content_wrapper($context, array $blocks = array())
  217. {
  218. // line 50
  219. echo " <div class=\"content-wrapper\">
  220. <div class=\"";
  221. // line 51
  222. if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "admin", array()), "content_padding", array())) {
  223. echo "content-padding";
  224. }
  225. echo "\">
  226. ";
  227. // line 52
  228. $this->displayBlock('messages', $context, $blocks);
  229. // line 55
  230. echo "
  231. ";
  232. // line 56
  233. $this->displayBlock('widgets', $context, $blocks);
  234. // line 57
  235. echo " <div class=\"default-box-shadow\">
  236. ";
  237. // line 58
  238. $this->displayBlock('content_top', $context, $blocks);
  239. // line 59
  240. echo " <div class=\"admin-block\">";
  241. // line 60
  242. $this->displayBlock('content', $context, $blocks);
  243. // line 61
  244. echo "</div>
  245. ";
  246. // line 62
  247. if ($this->getAttribute($this->getAttribute($this->getAttribute(($context["config"] ?? null), "plugins", array()), "admin", array()), "show_github_msg", array())) {
  248. // line 63
  249. echo " <div class=\"notice alert\"><i class=\"fa fa-github\"></i> <a href=\"https://github.com/getgrav/grav-plugin-admin/issues\" target=\"_blank\">";
  250. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.ADMIN_REPORT_ISSUE"), "html", null, true);
  251. echo "</a></div>
  252. ";
  253. }
  254. // line 65
  255. echo " ";
  256. $this->displayBlock('content_bottom', $context, $blocks);
  257. // line 66
  258. echo " </div>
  259. ";
  260. // line 67
  261. $this->displayBlock('footer', $context, $blocks);
  262. // line 72
  263. echo " </div>
  264. </div>
  265. ";
  266. }
  267. // line 52
  268. public function block_messages($context, array $blocks = array())
  269. {
  270. // line 53
  271. echo " ";
  272. $this->loadTemplate("partials/messages.html.twig", "partials/base-root.html.twig", 53)->display($context);
  273. // line 54
  274. echo " ";
  275. }
  276. // line 56
  277. public function block_widgets($context, array $blocks = array())
  278. {
  279. }
  280. // line 58
  281. public function block_content_top($context, array $blocks = array())
  282. {
  283. }
  284. // line 60
  285. public function block_content($context, array $blocks = array())
  286. {
  287. }
  288. // line 65
  289. public function block_content_bottom($context, array $blocks = array())
  290. {
  291. }
  292. // line 67
  293. public function block_footer($context, array $blocks = array())
  294. {
  295. // line 68
  296. echo " <footer id=\"footer\">
  297. <a href=\"http://getgrav.org\">Grav</a> v<span class=\"grav-version\">";
  298. // line 69
  299. echo twig_escape_filter($this->env, twig_constant("GRAV_VERSION"), "html", null, true);
  300. echo "</span> - Admin v";
  301. echo twig_escape_filter($this->env, ($context["admin_version"] ?? null), "html", null, true);
  302. echo " - ";
  303. echo twig_escape_filter($this->env, twig_lower_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.WAS_MADE_WITH")), "html", null, true);
  304. echo " <i class=\"fa fa-heart-o pulse\"></i> ";
  305. echo twig_escape_filter($this->env, twig_lower_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.BY")), "html", null, true);
  306. echo " <a href=\"https://trilby.media\">Trilby Media</a>.
  307. </footer>
  308. ";
  309. }
  310. // line 76
  311. public function block_modals($context, array $blocks = array())
  312. {
  313. // line 77
  314. echo " <div class=\"remodal\" data-remodal-id=\"generic\" data-remodal-options=\"hashTracking: false\">
  315. <form>
  316. <h1>";
  317. // line 79
  318. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.ERROR"), "html", null, true);
  319. echo "</h1>
  320. <div class=\"error-content\"></div>
  321. <div class=\"button-bar\">
  322. <a class=\"button remodal-cancel\" data-remodal-action=\"cancel\" href=\"#\">";
  323. // line 82
  324. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CLOSE"), "html", null, true);
  325. echo "</a>
  326. </div>
  327. </form>
  328. </div>
  329. <div class=\"remodal\" data-remodal-id=\"metadata\" data-remodal-options=\"hashTracking: false\">
  330. <form>
  331. <h1><span>";
  332. // line 88
  333. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.METADATA"), "html", null, true);
  334. echo " for</span> <strong></strong></h1>
  335. <div class=\"metadata-preview\">
  336. <div class=\"meta-preview\"></div>
  337. <div class=\"meta-content\"></div>
  338. </div>
  339. <div class=\"button-bar\">
  340. <a class=\"button remodal-cancel\" data-remodal-action=\"cancel\" href=\"#\">";
  341. // line 94
  342. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CLOSE"), "html", null, true);
  343. echo "</a>
  344. </div>
  345. </form>
  346. </div>
  347. <div class=\"remodal\" data-remodal-id=\"delete-media\" data-remodal-options=\"hashTracking: false\">
  348. <form>
  349. <h1>";
  350. // line 100
  351. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.MODAL_DELETE_FILE_CONFIRMATION_REQUIRED_TITLE"), "html", null, true);
  352. echo "</h1>
  353. <p class=\"bigger\">
  354. ";
  355. // line 102
  356. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.MODAL_DELETE_FILE_CONFIRMATION_REQUIRED_DESC"), "html", null, true);
  357. echo "
  358. </p>
  359. <br>
  360. <div class=\"button-bar\">
  361. <button data-remodal-action=\"cancel\" class=\"button secondary remodal-cancel\"><i class=\"fa fa-fw fa-close\"></i> ";
  362. // line 106
  363. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CANCEL"), "html", null, true);
  364. echo "</button>
  365. <button data-remodal-action=\"confirm\" class=\"button remodal-confirm disable-after-click\"><i class=\"fa fa-fw fa-check\"></i> ";
  366. // line 107
  367. echo twig_escape_filter($this->env, $this->env->getExtension('Grav\Plugin\Admin\Twig\AdminTwigExtension')->tuFilter("PLUGIN_ADMIN.CONTINUE"), "html", null, true);
  368. echo "</button>
  369. </div>
  370. </form>
  371. </div>
  372. ";
  373. }
  374. // line 117
  375. public function block_bottom($context, array $blocks = array())
  376. {
  377. // line 118
  378. echo " ";
  379. echo $this->getAttribute(($context["assets"] ?? null), "js", array(0 => "bottom"), "method");
  380. echo "
  381. ";
  382. }
  383. public function getTemplateName()
  384. {
  385. return "partials/base-root.html.twig";
  386. }
  387. public function isTraitable()
  388. {
  389. return false;
  390. }
  391. public function getDebugInfo()
  392. {
  393. return array ( 401 => 118, 398 => 117, 389 => 107, 385 => 106, 378 => 102, 373 => 100, 364 => 94, 355 => 88, 346 => 82, 340 => 79, 336 => 77, 333 => 76, 320 => 69, 317 => 68, 314 => 67, 309 => 65, 304 => 60, 299 => 58, 294 => 56, 290 => 54, 287 => 53, 284 => 52, 278 => 72, 276 => 67, 273 => 66, 270 => 65, 264 => 63, 262 => 62, 259 => 61, 257 => 60, 255 => 59, 253 => 58, 250 => 57, 248 => 56, 245 => 55, 243 => 52, 237 => 51, 234 => 50, 231 => 49, 226 => 46, 222 => 41, 219 => 40, 216 => 39, 208 => 112, 206 => 76, 203 => 75, 201 => 49, 197 => 47, 195 => 46, 192 => 45, 190 => 44, 186 => 42, 184 => 39, 180 => 37, 177 => 36, 172 => 120, 169 => 117, 167 => 36, 158 => 35, 155 => 34, 148 => 30, 145 => 29, 142 => 28, 135 => 24, 132 => 23, 129 => 22, 125 => 32, 122 => 28, 120 => 27, 117 => 26, 115 => 22, 109 => 20, 106 => 19, 102 => 17, 96 => 15, 93 => 14, 87 => 12, 81 => 10, 79 => 9, 66 => 8, 63 => 7, 60 => 6, 54 => 122, 52 => 34, 49 => 33, 47 => 6, 42 => 3, 39 => 2, 35 => 1,);
  394. }
  395. /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
  396. public function getSource()
  397. {
  398. @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);
  399. return $this->getSourceContext()->getCode();
  400. }
  401. public function getSourceContext()
  402. {
  403. return new Twig_Source("{% if uri.extension() == 'json' %}{% include 'default.json.twig' %}{% else %}
  404. {% set icon_style = config.plugins.admin.admin_icons %}
  405. <!DOCTYPE html>
  406. <html lang=\"en\">
  407. <head>
  408. {% block head %}
  409. <meta charset=\"utf-8\" />
  410. <title>{% if title %}{{ title }} | {% else %}{% if header.title %}{{ header.title }} | {% endif %}{% endif %}{{ site.title }}</title>
  411. {% if header.description %}
  412. <meta name=\"description\" content=\"{{ header.description }}\">
  413. {% else %}
  414. <meta name=\"description\" content=\"{{ site.description }}\">
  415. {% endif %}
  416. {% if header.robots %}
  417. <meta name=\"robots\" content=\"{{ header.robots }}\">
  418. {% else %}
  419. <meta name=\"robots\" content=\"noindex, nofollow\">
  420. {% endif %}
  421. <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  422. <link rel=\"icon\" type=\"image/png\" href=\"{{ base_url_simple }}{{ theme_url }}/images/favicon.png\">
  423. {% block stylesheets %}
  424. {% include 'partials/stylesheets.html.twig' %}
  425. {{ assets.css()|raw }}
  426. {% endblock %}
  427. {% include 'partials/javascript-config.html.twig' %}
  428. {% block javascripts %}
  429. {% include 'partials/javascripts.html.twig' %}
  430. {{ assets.js()|raw }}
  431. {% endblock %}
  432. {% endblock %}
  433. </head>
  434. {% block body %}
  435. <body class=\"ga-theme-17x {{ config.plugins.admin.sidebar.size == 'small' ? 'sidebar-closed' : '' }} {{ config.plugins.admin.body_classes }} {{ body_classes }}\">
  436. {% block page %}
  437. <div class=\"remodal-bg\">
  438. {% block navigation %}
  439. {% include 'partials/nav.html.twig' %}
  440. {% endblock %}
  441. <main id=\"admin-main\" >
  442. {% include 'partials/nav-toggle.html.twig' %}
  443. <div id=\"titlebar\" class=\"titlebar\">
  444. {% block titlebar %}{% endblock %}
  445. </div>
  446. {% block content_wrapper %}
  447. <div class=\"content-wrapper\">
  448. <div class=\"{% if config.plugins.admin.content_padding %}content-padding{% endif %}\">
  449. {% block messages %}
  450. {% include 'partials/messages.html.twig' %}
  451. {% endblock %}
  452. {% block widgets %}{% endblock %}
  453. <div class=\"default-box-shadow\">
  454. {% block content_top %}{% endblock %}
  455. <div class=\"admin-block\">
  456. {%- block content %}{% endblock -%}
  457. </div>
  458. {% if config.plugins.admin.show_github_msg %}
  459. <div class=\"notice alert\"><i class=\"fa fa-github\"></i> <a href=\"https://github.com/getgrav/grav-plugin-admin/issues\" target=\"_blank\">{{ 'PLUGIN_ADMIN.ADMIN_REPORT_ISSUE'|tu }}</a></div>
  460. {% endif %}
  461. {% block content_bottom %}{% endblock %}
  462. </div>
  463. {% block footer %}
  464. <footer id=\"footer\">
  465. <a href=\"http://getgrav.org\">Grav</a> v<span class=\"grav-version\">{{ constant('GRAV_VERSION') }}</span> - Admin v{{ admin_version }} - {{ \"PLUGIN_ADMIN.WAS_MADE_WITH\"|tu|lower }} <i class=\"fa fa-heart-o pulse\"></i> {{ \"PLUGIN_ADMIN.BY\"|tu|lower }} <a href=\"https://trilby.media\">Trilby Media</a>.
  466. </footer>
  467. {% endblock %}
  468. </div>
  469. </div>
  470. {% endblock %}
  471. {% block modals %}
  472. <div class=\"remodal\" data-remodal-id=\"generic\" data-remodal-options=\"hashTracking: false\">
  473. <form>
  474. <h1>{{ \"PLUGIN_ADMIN.ERROR\"|tu }}</h1>
  475. <div class=\"error-content\"></div>
  476. <div class=\"button-bar\">
  477. <a class=\"button remodal-cancel\" data-remodal-action=\"cancel\" href=\"#\">{{ \"PLUGIN_ADMIN.CLOSE\"|tu }}</a>
  478. </div>
  479. </form>
  480. </div>
  481. <div class=\"remodal\" data-remodal-id=\"metadata\" data-remodal-options=\"hashTracking: false\">
  482. <form>
  483. <h1><span>{{ \"PLUGIN_ADMIN.METADATA\"|tu }} for</span> <strong></strong></h1>
  484. <div class=\"metadata-preview\">
  485. <div class=\"meta-preview\"></div>
  486. <div class=\"meta-content\"></div>
  487. </div>
  488. <div class=\"button-bar\">
  489. <a class=\"button remodal-cancel\" data-remodal-action=\"cancel\" href=\"#\">{{ \"PLUGIN_ADMIN.CLOSE\"|tu }}</a>
  490. </div>
  491. </form>
  492. </div>
  493. <div class=\"remodal\" data-remodal-id=\"delete-media\" data-remodal-options=\"hashTracking: false\">
  494. <form>
  495. <h1>{{ \"PLUGIN_ADMIN.MODAL_DELETE_FILE_CONFIRMATION_REQUIRED_TITLE\"|tu }}</h1>
  496. <p class=\"bigger\">
  497. {{ \"PLUGIN_ADMIN.MODAL_DELETE_FILE_CONFIRMATION_REQUIRED_DESC\"|tu }}
  498. </p>
  499. <br>
  500. <div class=\"button-bar\">
  501. <button data-remodal-action=\"cancel\" class=\"button secondary remodal-cancel\"><i class=\"fa fa-fw fa-close\"></i> {{ \"PLUGIN_ADMIN.CANCEL\"|tu }}</button>
  502. <button data-remodal-action=\"confirm\" class=\"button remodal-confirm disable-after-click\"><i class=\"fa fa-fw fa-check\"></i> {{ \"PLUGIN_ADMIN.CONTINUE\"|tu }}</button>
  503. </div>
  504. </form>
  505. </div>
  506. {% endblock %}
  507. </main>
  508. <div id='overlay'></div>
  509. </div>
  510. {% endblock page %}
  511. {% block bottom %}
  512. {{ assets.js('bottom')|raw }}
  513. {% endblock %}
  514. </body>
  515. {% endblock body %}
  516. </html>
  517. {% endif %}
  518. ", "partials/base-root.html.twig", "/mnt/data/Sites/r2c.net/user/plugins/admin/themes/grav/templates/partials/base-root.html.twig");
  519. }
  520. }