var/cache/dev/twig/e3/e331592166948eb382a39b8114a4ca12797becc4d835f091af4be00e487b96c5.php line 78

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* security/login.html.twig */
  14. class __TwigTemplate_3cb9a970b68e82d0141ea989de32dd2cc993e232ae75a7e3745e9ce82c797548 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base_simple.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/login.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""security/login.html.twig"));
  39.         $this->parent $this->loadTemplate("base_simple.html.twig""security/login.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 3
  47.     public function block_title($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         echo "Iniciar sesión";
  55.         
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  57.         
  58.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  59.     }
  60.     // line 5
  61.     public function block_body($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  66.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         // line 6
  69.         echo "<!--begin::Main-->
  70. \t\t\t<!--begin::Login-->
  71. \t\t\t<div class=\"login login-2 login-signin-on d-flex flex-column flex-lg-row flex-column-fluid bg-white\" id=\"kt_login\">
  72. \t\t\t\t<!--begin::Aside-->
  73. \t\t\t\t<div class=\"login-aside order-2 order-lg-1 d-flex flex-row-auto position-relative overflow-hidden\">
  74. \t\t\t\t\t<!--begin: Aside Container-->
  75. \t\t\t\t\t<div class=\"d-flex flex-column-fluid flex-column justify-content-between py-9 px-7 py-lg-13 px-lg-35\" style=\"background-color: rgba(187, 221, 230, 0.2);\">
  76. \t\t\t\t\t\t<!--begin::Logo-->
  77. \t\t\t\t\t\t<a href=\"#\" class=\"text-center pt-2\">
  78. \t\t\t\t\t\t\t<img src=\"assets/media/logos/logo.png\" class=\"max-h-75px\" alt=\"\" />
  79. \t\t\t\t\t\t</a>
  80. \t\t\t\t\t\t<!--end::Logo-->
  81. \t\t\t\t\t\t<!--begin::Aside body-->
  82. \t\t\t\t\t\t<div class=\"d-flex flex-column-fluid flex-column flex-center\">
  83. \t\t\t\t\t\t\t<!--begin::Signin-->
  84. \t\t\t\t\t\t\t<div class=\"login-form login-signin py-11\">
  85. \t\t\t\t\t\t\t\t<!--begin::Form-->
  86. \t\t\t\t\t\t\t\t<form class=\"form\" method=\"post\" novalidate=\"novalidate\" id=\"kt_login_signin_form\">
  87. \t\t\t\t\t\t\t\t\t<!--begin::Title-->
  88.                                     ";
  89.         // line 25
  90.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'25$this->source); })())) {
  91.             // line 26
  92.             echo "                                        <div class=\"alert alert-danger\">Credenciales no válidas</div>
  93.                                     ";
  94.         }
  95.         // line 28
  96.         echo "
  97.                                     ";
  98.         // line 29
  99.         if (twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'29$this->source); })()), "user", [], "any"falsefalsefalse29)) {
  100.             // line 30
  101.             echo "                                        <div class=\"mb-3\">
  102.                                             Has iniciado sesión como ";
  103.             // line 31
  104.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'31$this->source); })()), "user", [], "any"falsefalsefalse31), "username", [], "any"falsefalsefalse31), "html"nulltrue);
  105.             echo ", <a href=\"";
  106.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  107.             echo "\"> Cerrar sesión</a>
  108.                                         </div>
  109.                                     ";
  110.         }
  111.         // line 34
  112.         echo "\t\t\t\t\t\t\t\t\t<!--end::Title-->
  113. \t\t\t\t\t\t\t\t\t<!--begin::Form group-->
  114.                                     <div class=\"form-group\">
  115.                                         <label class=\"font-size-h6 font-weight-bolder text-dark\">Usuario</label>
  116.                                         <input class=\"form-control h-auto py-6 px-6 rounded-lg\" id=\"inputUsername\"  value=\"";
  117.         // line 38
  118.         echo twig_escape_filter($this->env, (isset($context["last_username"]) || array_key_exists("last_username"$context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.'38$this->source); })()), "html"nulltrue);
  119.         echo "\" type=\"text\" name=\"username\" autocomplete=\"off\" required autofocus/>
  120.                                     </div>
  121. \t\t\t\t\t\t\t\t\t<!--end::Form group-->
  122. \t\t\t\t\t\t\t\t\t<!--begin::Form group-->
  123.                                     <div class=\"form-group\">
  124.                                         <div class=\"d-flex justify-content-between mt-n5\">
  125.                                             <label class=\"font-size-h6 font-weight-bolder text-dark pt-5\">Contraseña</label>
  126.                                             ";
  127.         // line 46
  128.         echo "                                        </div>
  129.                                         <input class=\"form-control h-auto py-6 px-6 rounded-lg\" id=\"inputPassword\"  type=\"password\" name=\"password\" autocomplete=\"off\" required/>
  130.                                         <input type=\"hidden\" name=\"_csrf_token\" value=\"";
  131.         // line 48
  132.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  133.         echo "\">
  134.                                     </div>
  135. \t\t\t\t\t\t\t\t\t<!--end::Form group-->
  136. \t\t\t\t\t\t\t\t\t<!--begin::Action-->
  137. \t\t\t\t\t\t\t\t\t<div class=\"text-center pt-2\">
  138. \t\t\t\t\t\t\t\t\t\t<button type=\"submit\" id=\"kt_login_signin_submit\" class=\"btn btn-primary font-weight-bolder font-size-h6 px-8 py-4 my-3 mr-3\" data-load-text=\"Iniciando...\">Iniciar sesión</button>
  139. \t\t\t\t\t\t\t\t\t</div>
  140. \t\t\t\t\t\t\t\t\t<!--end::Action-->
  141. \t\t\t\t\t\t\t\t</form>
  142. \t\t\t\t\t\t\t\t<!--end::Form-->
  143. \t\t\t\t\t\t\t</div>
  144. \t\t\t\t\t\t\t<!--end::Signin-->
  145. \t\t\t\t\t\t\t<!--begin::Signup-->
  146. \t\t\t\t\t\t\t<!--end::Signup-->
  147. \t\t\t\t\t\t</div>
  148. \t\t\t\t\t\t<!--end::Aside body-->
  149. \t\t\t\t\t\t<a href=\"";
  150.         // line 64
  151.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index1");
  152.         echo "\" class=\"btn btn-transparent-dark font-weight-bolder font-size-h6 px-8 py-4 my-3 mr-3\">
  153. \t\t\t\t\t\t\t<i class=\"flaticon2-box\"></i>
  154. \t\t\t\t\t\t\tAcceder al panel de procesos
  155. \t\t\t\t\t\t</a>
  156. \t\t\t\t\t</div>
  157. \t\t\t\t\t<!--end: Aside Container-->
  158. \t\t\t\t</div>
  159. \t\t\t\t<!--begin::Aside-->
  160. \t\t\t\t<!--begin::Content-->
  161. \t\t\t\t<div class=\"content order-1 order-lg-2 d-flex flex-column w-100 pb-0\" style=\"background-image:url(/imagenes/logos/bg_login.jpeg);background-size:cover;\">
  162. \t\t\t\t\t<!--begin::Title-->
  163. \t\t\t\t\t<div class=\"d-flex flex-column h-100 text-center\">
  164. \t\t\t\t\t\t<div class=\"pb-13 pt-lg-0 pt-5 text-center\">
  165. \t\t\t\t\t\t\t<div class=\"text-center mb-10\" >
  166. \t\t\t\t\t\t\t\t<img class=\"p-3\" width=\"40%\" style=\"background-color: rgba(50, 41, 35, 0.2);\" src=\"/imagenes/logos/logo-javier-ramos-ret.png\" alt=\"\" />
  167. \t\t\t\t\t\t\t</div>
  168. \t\t\t\t\t\t</div>
  169. \t\t\t\t\t\t";
  170.         // line 86
  171.         echo "\t\t\t\t\t</div>
  172. \t\t\t\t\t<!--end::Title-->
  173. \t\t\t\t\t<!--begin::Image-->
  174. \t\t\t\t\t<div class=\"content-img d-flex flex-row-fluid bgi-no-repeat bgi-position-y-bottom bgi-position-x-center\"></div>
  175. \t\t\t\t\t<!--end::Image-->
  176. \t\t\t\t</div>
  177. \t\t\t\t<!--end::Content-->
  178. \t\t\t</div>
  179. \t\t\t<!--end::Login-->
  180. <!--end::Main-->
  181. ";
  182.         
  183.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  184.         
  185.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  186.     }
  187.     public function getTemplateName()
  188.     {
  189.         return "security/login.html.twig";
  190.     }
  191.     public function isTraitable()
  192.     {
  193.         return false;
  194.     }
  195.     public function getDebugInfo()
  196.     {
  197.         return array (  190 => 86,  170 => 64,  151 => 48,  147 => 46,  137 => 38,  131 => 34,  123 => 31,  120 => 30,  118 => 29,  115 => 28,  111 => 26,  109 => 25,  88 => 6,  78 => 5,  59 => 3,  36 => 1,);
  198.     }
  199.     public function getSourceContext()
  200.     {
  201.         return new Source("{% extends 'base_simple.html.twig' %}
  202. {% block title %}Iniciar sesión{% endblock %}
  203. {% block body %}
  204. <!--begin::Main-->
  205. \t\t\t<!--begin::Login-->
  206. \t\t\t<div class=\"login login-2 login-signin-on d-flex flex-column flex-lg-row flex-column-fluid bg-white\" id=\"kt_login\">
  207. \t\t\t\t<!--begin::Aside-->
  208. \t\t\t\t<div class=\"login-aside order-2 order-lg-1 d-flex flex-row-auto position-relative overflow-hidden\">
  209. \t\t\t\t\t<!--begin: Aside Container-->
  210. \t\t\t\t\t<div class=\"d-flex flex-column-fluid flex-column justify-content-between py-9 px-7 py-lg-13 px-lg-35\" style=\"background-color: rgba(187, 221, 230, 0.2);\">
  211. \t\t\t\t\t\t<!--begin::Logo-->
  212. \t\t\t\t\t\t<a href=\"#\" class=\"text-center pt-2\">
  213. \t\t\t\t\t\t\t<img src=\"assets/media/logos/logo.png\" class=\"max-h-75px\" alt=\"\" />
  214. \t\t\t\t\t\t</a>
  215. \t\t\t\t\t\t<!--end::Logo-->
  216. \t\t\t\t\t\t<!--begin::Aside body-->
  217. \t\t\t\t\t\t<div class=\"d-flex flex-column-fluid flex-column flex-center\">
  218. \t\t\t\t\t\t\t<!--begin::Signin-->
  219. \t\t\t\t\t\t\t<div class=\"login-form login-signin py-11\">
  220. \t\t\t\t\t\t\t\t<!--begin::Form-->
  221. \t\t\t\t\t\t\t\t<form class=\"form\" method=\"post\" novalidate=\"novalidate\" id=\"kt_login_signin_form\">
  222. \t\t\t\t\t\t\t\t\t<!--begin::Title-->
  223.                                     {% if error %}
  224.                                         <div class=\"alert alert-danger\">Credenciales no válidas</div>
  225.                                     {% endif %}
  226.                                     {% if app.user %}
  227.                                         <div class=\"mb-3\">
  228.                                             Has iniciado sesión como {{ app.user.username }}, <a href=\"{{ path('app_logout') }}\"> Cerrar sesión</a>
  229.                                         </div>
  230.                                     {% endif %}
  231. \t\t\t\t\t\t\t\t\t<!--end::Title-->
  232. \t\t\t\t\t\t\t\t\t<!--begin::Form group-->
  233.                                     <div class=\"form-group\">
  234.                                         <label class=\"font-size-h6 font-weight-bolder text-dark\">Usuario</label>
  235.                                         <input class=\"form-control h-auto py-6 px-6 rounded-lg\" id=\"inputUsername\"  value=\"{{ last_username }}\" type=\"text\" name=\"username\" autocomplete=\"off\" required autofocus/>
  236.                                     </div>
  237. \t\t\t\t\t\t\t\t\t<!--end::Form group-->
  238. \t\t\t\t\t\t\t\t\t<!--begin::Form group-->
  239.                                     <div class=\"form-group\">
  240.                                         <div class=\"d-flex justify-content-between mt-n5\">
  241.                                             <label class=\"font-size-h6 font-weight-bolder text-dark pt-5\">Contraseña</label>
  242.                                             {#<a href=\"javascript:;\" class=\"text-primary font-size-h6 font-weight-bolder text-hover-primary pt-5\" id=\"kt_login_forgot\">Forgot Password ?</a>#}
  243.                                         </div>
  244.                                         <input class=\"form-control h-auto py-6 px-6 rounded-lg\" id=\"inputPassword\"  type=\"password\" name=\"password\" autocomplete=\"off\" required/>
  245.                                         <input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
  246.                                     </div>
  247. \t\t\t\t\t\t\t\t\t<!--end::Form group-->
  248. \t\t\t\t\t\t\t\t\t<!--begin::Action-->
  249. \t\t\t\t\t\t\t\t\t<div class=\"text-center pt-2\">
  250. \t\t\t\t\t\t\t\t\t\t<button type=\"submit\" id=\"kt_login_signin_submit\" class=\"btn btn-primary font-weight-bolder font-size-h6 px-8 py-4 my-3 mr-3\" data-load-text=\"Iniciando...\">Iniciar sesión</button>
  251. \t\t\t\t\t\t\t\t\t</div>
  252. \t\t\t\t\t\t\t\t\t<!--end::Action-->
  253. \t\t\t\t\t\t\t\t</form>
  254. \t\t\t\t\t\t\t\t<!--end::Form-->
  255. \t\t\t\t\t\t\t</div>
  256. \t\t\t\t\t\t\t<!--end::Signin-->
  257. \t\t\t\t\t\t\t<!--begin::Signup-->
  258. \t\t\t\t\t\t\t<!--end::Signup-->
  259. \t\t\t\t\t\t</div>
  260. \t\t\t\t\t\t<!--end::Aside body-->
  261. \t\t\t\t\t\t<a href=\"{{ path('index1') }}\" class=\"btn btn-transparent-dark font-weight-bolder font-size-h6 px-8 py-4 my-3 mr-3\">
  262. \t\t\t\t\t\t\t<i class=\"flaticon2-box\"></i>
  263. \t\t\t\t\t\t\tAcceder al panel de procesos
  264. \t\t\t\t\t\t</a>
  265. \t\t\t\t\t</div>
  266. \t\t\t\t\t<!--end: Aside Container-->
  267. \t\t\t\t</div>
  268. \t\t\t\t<!--begin::Aside-->
  269. \t\t\t\t<!--begin::Content-->
  270. \t\t\t\t<div class=\"content order-1 order-lg-2 d-flex flex-column w-100 pb-0\" style=\"background-image:url(/imagenes/logos/bg_login.jpeg);background-size:cover;\">
  271. \t\t\t\t\t<!--begin::Title-->
  272. \t\t\t\t\t<div class=\"d-flex flex-column h-100 text-center\">
  273. \t\t\t\t\t\t<div class=\"pb-13 pt-lg-0 pt-5 text-center\">
  274. \t\t\t\t\t\t\t<div class=\"text-center mb-10\" >
  275. \t\t\t\t\t\t\t\t<img class=\"p-3\" width=\"40%\" style=\"background-color: rgba(50, 41, 35, 0.2);\" src=\"/imagenes/logos/logo-javier-ramos-ret.png\" alt=\"\" />
  276. \t\t\t\t\t\t\t</div>
  277. \t\t\t\t\t\t</div>
  278. \t\t\t\t\t\t{#}
  279. \t\t\t\t\t\t<h3 class=\"display4 font-weight-bolder my-7 text-dark\" style=\"color: #986923;\">Amazing Wireframes</h3>
  280. \t\t\t\t\t\t<p class=\"font-weight-bolder font-size-h2-md font-size-lg text-dark opacity-70\">User Experience &amp; Interface Design, Product Strategy
  281. \t\t\t\t\t\t<br />Web Application SaaS Solutions</p>
  282. \t\t\t\t\t\t{#}
  283. \t\t\t\t\t</div>
  284. \t\t\t\t\t<!--end::Title-->
  285. \t\t\t\t\t<!--begin::Image-->
  286. \t\t\t\t\t<div class=\"content-img d-flex flex-row-fluid bgi-no-repeat bgi-position-y-bottom bgi-position-x-center\"></div>
  287. \t\t\t\t\t<!--end::Image-->
  288. \t\t\t\t</div>
  289. \t\t\t\t<!--end::Content-->
  290. \t\t\t</div>
  291. \t\t\t<!--end::Login-->
  292. <!--end::Main-->
  293. {% endblock %}""security/login.html.twig""/var/www/vhosts/apunts.es/jramos.apunts.es/templates/security/login.html.twig");
  294.     }
  295. }