<?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_f52dd4468b313b729e5390cb02771ee096a5b7c4fe21c0d82595ae3ee5fc1cf5 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.login.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.login.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 "Anmelden in swtPOS";
$__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 " <div class=\"row justify-content-center\">
<div class=\"col-lg-5\">
<div class=\"card\">
<!-- Logo -->
<div class=\"card-header pt-4 pb-4 text-center bg-primary\">
<a href=\"index.html\">
<span><img src=\"assets/images/logo.png\" alt=\"\" height=\"18\"></span>
</a>
</div>
<div class=\"card-body p-4\">
<div class=\"text-center w-75 m-auto\">
<h4 class=\"text-dark-50 text-center mt-0 font-weight-bold\">Sign In</h4>
<p class=\"text-muted mb-4\">Enter your email address and password to access admin panel.</p>
</div>
<form method=\"post\">
";
// 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\">";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 26, $this->source); })()), "messageKey", [], "any", false, false, false, 26), twig_get_attribute($this->env, $this->source, (isset($context["error"]) || array_key_exists("error", $context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.', 26, $this->source); })()), "messageData", [], "any", false, false, false, 26), "security"), "html", null, true);
echo "</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\">
You are logged in as ";
// 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=\"";
// line 32
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
echo "\">Logout</a>
</div>
";
}
// line 35
echo "
<div class=\"form-group\">
<label for=\"emailaddress\">Email address</label>
";
// line 39
echo " <input type=\"email\" value=\"admin@4tfm.de\" name=\"email\" id=\"inputEmail\" class=\"form-control\"
required=\"\" autofocus placeholder=\"Enter your email\">
";
// line 42
echo " </div>
<div class=\"form-group\">
<a href=\"pages-recoverpw.html\" class=\"text-muted float-right\"><small>Forgot your
password?</small></a>
<label for=\"password\">Password</label>
<div class=\"input-group input-group-merge\">
";
// line 50
echo " <input value=\"test123\" type=\"password\" name=\"password\" id=\"inputPassword\"
class=\"form-control\" required=\"\" placeholder=\"Enter your password\">
";
// line 53
echo " <input type=\"hidden\" name=\"_csrf_token\"
value=\"";
// line 54
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html", null, true);
echo "\"
>
<div class=\"input-group-append\" data-password=\"false\">
<div class=\"input-group-text\">
<span class=\"password-eye\"></span>
</div>
</div>
</div>
</div>
<div class=\"form-group mb-3\">
<div class=\"custom-control custom-checkbox\">
<input type=\"checkbox\" class=\"custom-control-input\" id=\"checkbox-signin\" checked
name=\"_remember_me\">
<label class=\"custom-control-label\" for=\"checkbox-signin\">Remember me</label>
</div>
</div>
<div class=\"form-group mb-0 text-center\">
<button class=\"btn btn-primary\" type=\"submit\"> Log In</button>
</div>
</form>
</div> <!-- end card-body -->
</div>
<!-- end card -->
<div class=\"row mt-3\">
<div class=\"col-12 text-center\">
<p class=\"text-muted\">Don't have an account? <a href=\"pages-register.html\"
class=\"text-muted ml-1\"><b>Sign Up</b></a></p>
</div> <!-- end col -->
</div>
<!-- end row -->
</div> <!-- end col -->
</div>
";
// line 92
echo " <p><a href=\"https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi\"
target=\"_blank\">react-developer-tools</a></p>
<p><a href=\"https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?hl=de\"
target=\"_blank\">redux-devtools</a></p>
<p><a
href=\"https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc?hl=de\"
target=\"_blank\">xdebug-helper</a></p>
<p><a
href=\"https://chrome.google.com/webstore/detail/hard-refresh/ichmdelihgokllcnibkcpciljnggojkj\"
target=\"_blank\">hard-refresh</a></p>
<p><a
href=\"https://addons.mozilla.org/de/firefox/addon/react-devtools/\"
target=\"_blank\">react-developer-tools</a></p>
<p><a
href=\"https://addons.mozilla.org/de/firefox/addon/reduxdevtools/\"
target=\"_blank\">redux-devtools</a></p>
<p><a
href=\"https://addons.mozilla.org/de/firefox/addon/hard-refresh-button/\"
target=\"_blank\">hard-refresh</a></p>
<!-- end row -->
";
$__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 ( 200 => 92, 160 => 54, 157 => 53, 153 => 50, 144 => 42, 140 => 39, 135 => 35, 129 => 32, 125 => 31, 122 => 30, 120 => 29, 117 => 28, 111 => 26, 109 => 25, 88 => 6, 78 => 5, 59 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'base.login.html.twig' %}
{% block title %}Anmelden in swtPOS{% endblock %}
{% block body %}
<div class=\"row justify-content-center\">
<div class=\"col-lg-5\">
<div class=\"card\">
<!-- Logo -->
<div class=\"card-header pt-4 pb-4 text-center bg-primary\">
<a href=\"index.html\">
<span><img src=\"assets/images/logo.png\" alt=\"\" height=\"18\"></span>
</a>
</div>
<div class=\"card-body p-4\">
<div class=\"text-center w-75 m-auto\">
<h4 class=\"text-dark-50 text-center mt-0 font-weight-bold\">Sign In</h4>
<p class=\"text-muted mb-4\">Enter your email address and password to access admin panel.</p>
</div>
<form method=\"post\">
{% if error %}
<div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
{% endif %}
{% if app.user %}
<div class=\"mb-3\">
You are logged in as {{ app.user.username }}, <a
href=\"{{ path('app_logout') }}\">Logout</a>
</div>
{% endif %}
<div class=\"form-group\">
<label for=\"emailaddress\">Email address</label>
{# ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! #}
<input type=\"email\" value=\"admin@4tfm.de\" name=\"email\" id=\"inputEmail\" class=\"form-control\"
required=\"\" autofocus placeholder=\"Enter your email\">
{# <input type=\"email\" value=\"{{ last_username }}\" name=\"email\" id=\"inputEmail\" class=\"form-control\" required=\"\" autofocus placeholder=\"Enter your email\"> #}
</div>
<div class=\"form-group\">
<a href=\"pages-recoverpw.html\" class=\"text-muted float-right\"><small>Forgot your
password?</small></a>
<label for=\"password\">Password</label>
<div class=\"input-group input-group-merge\">
{# ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! #}
<input value=\"test123\" type=\"password\" name=\"password\" id=\"inputPassword\"
class=\"form-control\" required=\"\" placeholder=\"Enter your password\">
{# <input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" required=\"\" placeholder=\"Enter your password\"> #}
<input type=\"hidden\" name=\"_csrf_token\"
value=\"{{ csrf_token('authenticate') }}\"
>
<div class=\"input-group-append\" data-password=\"false\">
<div class=\"input-group-text\">
<span class=\"password-eye\"></span>
</div>
</div>
</div>
</div>
<div class=\"form-group mb-3\">
<div class=\"custom-control custom-checkbox\">
<input type=\"checkbox\" class=\"custom-control-input\" id=\"checkbox-signin\" checked
name=\"_remember_me\">
<label class=\"custom-control-label\" for=\"checkbox-signin\">Remember me</label>
</div>
</div>
<div class=\"form-group mb-0 text-center\">
<button class=\"btn btn-primary\" type=\"submit\"> Log In</button>
</div>
</form>
</div> <!-- end card-body -->
</div>
<!-- end card -->
<div class=\"row mt-3\">
<div class=\"col-12 text-center\">
<p class=\"text-muted\">Don't have an account? <a href=\"pages-register.html\"
class=\"text-muted ml-1\"><b>Sign Up</b></a></p>
</div> <!-- end col -->
</div>
<!-- end row -->
</div> <!-- end col -->
</div>
{# ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! ONLY DEV !!! #}
<p><a href=\"https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi\"
target=\"_blank\">react-developer-tools</a></p>
<p><a href=\"https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?hl=de\"
target=\"_blank\">redux-devtools</a></p>
<p><a
href=\"https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc?hl=de\"
target=\"_blank\">xdebug-helper</a></p>
<p><a
href=\"https://chrome.google.com/webstore/detail/hard-refresh/ichmdelihgokllcnibkcpciljnggojkj\"
target=\"_blank\">hard-refresh</a></p>
<p><a
href=\"https://addons.mozilla.org/de/firefox/addon/react-devtools/\"
target=\"_blank\">react-developer-tools</a></p>
<p><a
href=\"https://addons.mozilla.org/de/firefox/addon/reduxdevtools/\"
target=\"_blank\">redux-devtools</a></p>
<p><a
href=\"https://addons.mozilla.org/de/firefox/addon/hard-refresh-button/\"
target=\"_blank\">hard-refresh</a></p>
<!-- end row -->
{% endblock %}", "security/login.html.twig", "/var/www/1655948041.swtpos.de/templates/security/login.html.twig");
}
}