<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* security/login.html.twig */
class __TwigTemplate_3cb9a970b68e82d0141ea989de32dd2cc993e232ae75a7e3745e9ce82c797548 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'title' => [$this, 'block_title'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "base_simple.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/login.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "security/login.html.twig"));
$this->parent = $this->loadTemplate("base_simple.html.twig", "security/login.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_title($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));
echo "Iniciar sesión";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
// line 5
public function block_body($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 6
echo "<!--begin::Main-->
\t\t\t<!--begin::Login-->
\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\">
\t\t\t\t<!--begin::Aside-->
\t\t\t\t<div class=\"login-aside order-2 order-lg-1 d-flex flex-row-auto position-relative overflow-hidden\">
\t\t\t\t\t<!--begin: Aside Container-->
\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);\">
\t\t\t\t\t\t<!--begin::Logo-->
\t\t\t\t\t\t<a href=\"#\" class=\"text-center pt-2\">
\t\t\t\t\t\t\t<img src=\"assets/media/logos/logo.png\" class=\"max-h-75px\" alt=\"\" />
\t\t\t\t\t\t</a>
\t\t\t\t\t\t<!--end::Logo-->
\t\t\t\t\t\t<!--begin::Aside body-->
\t\t\t\t\t\t<div class=\"d-flex flex-column-fluid flex-column flex-center\">
\t\t\t\t\t\t\t<!--begin::Signin-->
\t\t\t\t\t\t\t<div class=\"login-form login-signin py-11\">
\t\t\t\t\t\t\t\t<!--begin::Form-->
\t\t\t\t\t\t\t\t<form class=\"form\" method=\"post\" novalidate=\"novalidate\" id=\"kt_login_signin_form\">
\t\t\t\t\t\t\t\t\t<!--begin::Title-->
";
// line 25
if ((isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 25, $this->source); })())) {
// line 26
echo " <div class=\"alert alert-danger\">Credenciales no válidas</div>
";
}
// line 28
echo "
";
// line 29
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", false, false, false, 29)) {
// line 30
echo " <div class=\"mb-3\">
Has iniciado sesión como ";
// line 31
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 31, $this->source); })()), "user", [], "any", false, false, false, 31), "username", [], "any", false, false, false, 31), "html", null, true);
echo ", <a href=\"";
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
echo "\"> Cerrar sesión</a>
</div>
";
}
// line 34
echo "\t\t\t\t\t\t\t\t\t<!--end::Title-->
\t\t\t\t\t\t\t\t\t<!--begin::Form group-->
<div class=\"form-group\">
<label class=\"font-size-h6 font-weight-bolder text-dark\">Usuario</label>
<input class=\"form-control h-auto py-6 px-6 rounded-lg\" id=\"inputUsername\" value=\"";
// line 38
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", null, true);
echo "\" type=\"text\" name=\"username\" autocomplete=\"off\" required autofocus/>
</div>
\t\t\t\t\t\t\t\t\t<!--end::Form group-->
\t\t\t\t\t\t\t\t\t<!--begin::Form group-->
<div class=\"form-group\">
<div class=\"d-flex justify-content-between mt-n5\">
<label class=\"font-size-h6 font-weight-bolder text-dark pt-5\">Contraseña</label>
";
// line 46
echo " </div>
<input class=\"form-control h-auto py-6 px-6 rounded-lg\" id=\"inputPassword\" type=\"password\" name=\"password\" autocomplete=\"off\" required/>
<input type=\"hidden\" name=\"_csrf_token\" value=\"";
// line 48
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
echo "\">
</div>
\t\t\t\t\t\t\t\t\t<!--end::Form group-->
\t\t\t\t\t\t\t\t\t<!--begin::Action-->
\t\t\t\t\t\t\t\t\t<div class=\"text-center pt-2\">
\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>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<!--end::Action-->
\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t<!--end::Form-->
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<!--end::Signin-->
\t\t\t\t\t\t\t<!--begin::Signup-->
\t\t\t\t\t\t\t<!--end::Signup-->
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<!--end::Aside body-->
\t\t\t\t\t\t<a href=\"";
// line 64
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("index1");
echo "\" class=\"btn btn-transparent-dark font-weight-bolder font-size-h6 px-8 py-4 my-3 mr-3\">
\t\t\t\t\t\t\t<i class=\"flaticon2-box\"></i>
\t\t\t\t\t\t\tAcceder al panel de procesos
\t\t\t\t\t\t</a>
\t\t\t\t\t</div>
\t\t\t\t\t<!--end: Aside Container-->
\t\t\t\t</div>
\t\t\t\t<!--begin::Aside-->
\t\t\t\t<!--begin::Content-->
\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;\">
\t\t\t\t\t<!--begin::Title-->
\t\t\t\t\t<div class=\"d-flex flex-column h-100 text-center\">
\t\t\t\t\t\t<div class=\"pb-13 pt-lg-0 pt-5 text-center\">
\t\t\t\t\t\t\t<div class=\"text-center mb-10\" >
\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=\"\" />
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t";
// line 86
echo "\t\t\t\t\t</div>
\t\t\t\t\t<!--end::Title-->
\t\t\t\t\t<!--begin::Image-->
\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>
\t\t\t\t\t<!--end::Image-->
\t\t\t\t</div>
\t\t\t\t<!--end::Content-->
\t\t\t</div>
\t\t\t<!--end::Login-->
<!--end::Main-->
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "security/login.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends 'base_simple.html.twig' %}
{% block title %}Iniciar sesión{% endblock %}
{% block body %}
<!--begin::Main-->
\t\t\t<!--begin::Login-->
\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\">
\t\t\t\t<!--begin::Aside-->
\t\t\t\t<div class=\"login-aside order-2 order-lg-1 d-flex flex-row-auto position-relative overflow-hidden\">
\t\t\t\t\t<!--begin: Aside Container-->
\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);\">
\t\t\t\t\t\t<!--begin::Logo-->
\t\t\t\t\t\t<a href=\"#\" class=\"text-center pt-2\">
\t\t\t\t\t\t\t<img src=\"assets/media/logos/logo.png\" class=\"max-h-75px\" alt=\"\" />
\t\t\t\t\t\t</a>
\t\t\t\t\t\t<!--end::Logo-->
\t\t\t\t\t\t<!--begin::Aside body-->
\t\t\t\t\t\t<div class=\"d-flex flex-column-fluid flex-column flex-center\">
\t\t\t\t\t\t\t<!--begin::Signin-->
\t\t\t\t\t\t\t<div class=\"login-form login-signin py-11\">
\t\t\t\t\t\t\t\t<!--begin::Form-->
\t\t\t\t\t\t\t\t<form class=\"form\" method=\"post\" novalidate=\"novalidate\" id=\"kt_login_signin_form\">
\t\t\t\t\t\t\t\t\t<!--begin::Title-->
{% if error %}
<div class=\"alert alert-danger\">Credenciales no válidas</div>
{% endif %}
{% if app.user %}
<div class=\"mb-3\">
Has iniciado sesión como {{ app.user.username }}, <a href=\"{{ path('app_logout') }}\"> Cerrar sesión</a>
</div>
{% endif %}
\t\t\t\t\t\t\t\t\t<!--end::Title-->
\t\t\t\t\t\t\t\t\t<!--begin::Form group-->
<div class=\"form-group\">
<label class=\"font-size-h6 font-weight-bolder text-dark\">Usuario</label>
<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/>
</div>
\t\t\t\t\t\t\t\t\t<!--end::Form group-->
\t\t\t\t\t\t\t\t\t<!--begin::Form group-->
<div class=\"form-group\">
<div class=\"d-flex justify-content-between mt-n5\">
<label class=\"font-size-h6 font-weight-bolder text-dark pt-5\">Contraseña</label>
{#<a href=\"javascript:;\" class=\"text-primary font-size-h6 font-weight-bolder text-hover-primary pt-5\" id=\"kt_login_forgot\">Forgot Password ?</a>#}
</div>
<input class=\"form-control h-auto py-6 px-6 rounded-lg\" id=\"inputPassword\" type=\"password\" name=\"password\" autocomplete=\"off\" required/>
<input type=\"hidden\" name=\"_csrf_token\" value=\"{{ csrf_token('authenticate') }}\">
</div>
\t\t\t\t\t\t\t\t\t<!--end::Form group-->
\t\t\t\t\t\t\t\t\t<!--begin::Action-->
\t\t\t\t\t\t\t\t\t<div class=\"text-center pt-2\">
\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>
\t\t\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t\t\t<!--end::Action-->
\t\t\t\t\t\t\t\t</form>
\t\t\t\t\t\t\t\t<!--end::Form-->
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t<!--end::Signin-->
\t\t\t\t\t\t\t<!--begin::Signup-->
\t\t\t\t\t\t\t<!--end::Signup-->
\t\t\t\t\t\t</div>
\t\t\t\t\t\t<!--end::Aside body-->
\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\">
\t\t\t\t\t\t\t<i class=\"flaticon2-box\"></i>
\t\t\t\t\t\t\tAcceder al panel de procesos
\t\t\t\t\t\t</a>
\t\t\t\t\t</div>
\t\t\t\t\t<!--end: Aside Container-->
\t\t\t\t</div>
\t\t\t\t<!--begin::Aside-->
\t\t\t\t<!--begin::Content-->
\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;\">
\t\t\t\t\t<!--begin::Title-->
\t\t\t\t\t<div class=\"d-flex flex-column h-100 text-center\">
\t\t\t\t\t\t<div class=\"pb-13 pt-lg-0 pt-5 text-center\">
\t\t\t\t\t\t\t<div class=\"text-center mb-10\" >
\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=\"\" />
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t</div>
\t\t\t\t\t\t{#}
\t\t\t\t\t\t<h3 class=\"display4 font-weight-bolder my-7 text-dark\" style=\"color: #986923;\">Amazing Wireframes</h3>
\t\t\t\t\t\t<p class=\"font-weight-bolder font-size-h2-md font-size-lg text-dark opacity-70\">User Experience & Interface Design, Product Strategy
\t\t\t\t\t\t<br />Web Application SaaS Solutions</p>
\t\t\t\t\t\t{#}
\t\t\t\t\t</div>
\t\t\t\t\t<!--end::Title-->
\t\t\t\t\t<!--begin::Image-->
\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>
\t\t\t\t\t<!--end::Image-->
\t\t\t\t</div>
\t\t\t\t<!--end::Content-->
\t\t\t</div>
\t\t\t<!--end::Login-->
<!--end::Main-->
{% endblock %}", "security/login.html.twig", "/var/www/vhosts/apunts.es/jramos.apunts.es/templates/security/login.html.twig");
}
}