var/cache/dev/twig/d5/d53b4ef5d176959d3898e5d4eb651d23.php line 54

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* errors/access_denied.html.twig */
  15. class __TwigTemplate_1eb6eab443550be9ec8ae07f51d1725d extends Template
  16. {
  17. private $source;
  18. private $macros = [];
  19. public function __construct(Environment $env)
  20. {
  21. parent::__construct($env);
  22. $this->source = $this->getSourceContext();
  23. $this->blocks = [
  24. 'stylesheets' => [$this, 'block_stylesheets'],
  25. 'javascripts' => [$this, 'block_javascripts'],
  26. 'title' => [$this, 'block_title'],
  27. 'page_title' => [$this, 'block_page_title'],
  28. 'page_subtitle' => [$this, 'block_page_subtitle'],
  29. 'page_content' => [$this, 'block_page_content'],
  30. ];
  31. }
  32. protected function doGetParent(array $context)
  33. {
  34. // line 2
  35. return "base.html.twig";
  36. }
  37. protected function doDisplay(array $context, array $blocks = [])
  38. {
  39. $macros = $this->macros;
  40. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "errors/access_denied.html.twig"));
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "errors/access_denied.html.twig"));
  44. $this->parent = $this->loadTemplate("base.html.twig", "errors/access_denied.html.twig", 2);
  45. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  46. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48. }
  49. // line 4
  50. public function block_stylesheets($context, array $blocks = [])
  51. {
  52. $macros = $this->macros;
  53. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  55. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  57. // line 5
  58. yield " ";
  59. yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
  60. yield "
  61. ";
  62. // line 7
  63. yield " <link rel=\"stylesheet\" href=\"";
  64. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/adminlte/adminlte.css"), "html", null, true);
  65. yield "\">
  66. ";
  67. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  68. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  69. return; yield '';
  70. }
  71. // line 10
  72. public function block_javascripts($context, array $blocks = [])
  73. {
  74. $macros = $this->macros;
  75. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  76. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  77. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  78. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  79. // line 11
  80. yield " ";
  81. yield from $this->yieldParentBlock("javascripts", $context, $blocks);
  82. yield "
  83. ";
  84. // line 13
  85. yield " <script src=\"";
  86. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/adminlte/adminlte.js"), "html", null, true);
  87. yield "\"></script>
  88. ";
  89. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  90. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  91. return; yield '';
  92. }
  93. // line 16
  94. public function block_title($context, array $blocks = [])
  95. {
  96. $macros = $this->macros;
  97. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  98. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  99. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  100. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
  101. yield "Error de Acceso";
  102. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  103. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  104. return; yield '';
  105. }
  106. // line 17
  107. public function block_page_title($context, array $blocks = [])
  108. {
  109. $macros = $this->macros;
  110. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  111. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));
  112. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  113. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_title"));
  114. // line 18
  115. yield "\tError de acceso
  116. ";
  117. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  118. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  119. return; yield '';
  120. }
  121. // line 20
  122. public function block_page_subtitle($context, array $blocks = [])
  123. {
  124. $macros = $this->macros;
  125. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  126. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_subtitle"));
  127. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  128. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_subtitle"));
  129. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  130. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  131. return; yield '';
  132. }
  133. // line 22
  134. public function block_page_content($context, array $blocks = [])
  135. {
  136. $macros = $this->macros;
  137. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  138. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_content"));
  139. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  140. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_content"));
  141. // line 23
  142. yield " <div class=\"container\">
  143. <div class=\"row\">
  144. <div class=\"col-md-12\">
  145. <div class=\"alert alert-danger\" role=\"alert\">
  146. <h2 class=\"alert-heading\">¡Acceso denegado!</h2>
  147. <p>No tienes los permisos suficientes para acceder a este apartado.</p>
  148. </div>
  149. </div>
  150. </div>
  151. </div>
  152. ";
  153. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  154. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  155. return; yield '';
  156. }
  157. /**
  158. * @codeCoverageIgnore
  159. */
  160. public function getTemplateName()
  161. {
  162. return "errors/access_denied.html.twig";
  163. }
  164. /**
  165. * @codeCoverageIgnore
  166. */
  167. public function isTraitable()
  168. {
  169. return false;
  170. }
  171. /**
  172. * @codeCoverageIgnore
  173. */
  174. public function getDebugInfo()
  175. {
  176. return array ( 193 => 23, 183 => 22, 164 => 20, 152 => 18, 142 => 17, 122 => 16, 108 => 13, 103 => 11, 93 => 10, 79 => 7, 74 => 5, 64 => 4, 41 => 2,);
  177. }
  178. public function getSourceContext()
  179. {
  180. return new Source("
  181. {% extends 'base.html.twig' %}
  182. {% block stylesheets %}
  183. {{ parent() }}
  184. {# Agrega aquí tus estilos adicionales específicos de la vista dashboard.html.twig #}
  185. <link rel=\"stylesheet\" href=\"{{ asset('bundles/adminlte/adminlte.css') }}\">
  186. {% endblock %}
  187. {% block javascripts %}
  188. {{ parent() }}
  189. {# Agrega aquí tus scripts adicionales específicos de la vista dashboard.html.twig #}
  190. <script src=\"{{ asset('bundles/adminlte/adminlte.js') }}\"></script>
  191. {% endblock %}
  192. {% block title %}Error de Acceso{% endblock %}
  193. {% block page_title %}
  194. \tError de acceso
  195. {% endblock %}
  196. {% block page_subtitle %}{% endblock %}
  197. {% block page_content %}
  198. <div class=\"container\">
  199. <div class=\"row\">
  200. <div class=\"col-md-12\">
  201. <div class=\"alert alert-danger\" role=\"alert\">
  202. <h2 class=\"alert-heading\">¡Acceso denegado!</h2>
  203. <p>No tienes los permisos suficientes para acceder a este apartado.</p>
  204. </div>
  205. </div>
  206. </div>
  207. </div>
  208. {% endblock %}
  209. ", "errors/access_denied.html.twig", "/var/www/vhosts/simoft.com/fadaic.simoft.com/templates/errors/access_denied.html.twig");
  210. }
  211. }