var/cache/dev/twig/c3/c38ed4f7b0fc2140fe1936fe9993770cd74c861fa39652211d40a27f37191a9c.php line 39

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_f52dd4468b313b729e5390cb02771ee096a5b7c4fe21c0d82595ae3ee5fc1cf5 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.login.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.login.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 "Anmelden in swtPOS";
  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 "    <div class=\"row justify-content-center\">
  70.         <div class=\"col-lg-5\">
  71.             <div class=\"card\">
  72.                 <!-- Logo -->
  73.                 <div class=\"card-header pt-4 pb-4 text-center bg-primary\">
  74.                     <a href=\"index.html\">
  75.                         <span><img src=\"assets/images/logo.png\" alt=\"\" height=\"18\"></span>
  76.                     </a>
  77.                 </div>
  78.                 <div class=\"card-body p-4\">
  79.                     <div class=\"text-center w-75 m-auto\">
  80.                         <h4 class=\"text-dark-50 text-center mt-0 font-weight-bold\">Sign In</h4>
  81.                         <p class=\"text-muted mb-4\">Enter your email address and password to access admin panel.</p>
  82.                     </div>
  83.                     <form method=\"post\">
  84.                         ";
  85.         // line 25
  86.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'25$this->source); })())) {
  87.             // line 26
  88.             echo "                            <div class=\"alert alert-danger\">";
  89.             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"falsefalsefalse26), 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"falsefalsefalse26), "security"), "html"nulltrue);
  90.             echo "</div>
  91.                         ";
  92.         }
  93.         // line 28
  94.         echo "
  95.                         ";
  96.         // line 29
  97.         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)) {
  98.             // line 30
  99.             echo "                            <div class=\"mb-3\">
  100.                                 You are logged in as ";
  101.             // line 31
  102.             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);
  103.             echo ", <a
  104.                                         href=\"";
  105.             // line 32
  106.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_logout");
  107.             echo "\">Logout</a>
  108.                             </div>
  109.                         ";
  110.         }
  111.         // line 35
  112.         echo "
  113.                         <div class=\"form-group\">
  114.                             <label for=\"emailaddress\">Email address</label>
  115.                             ";
  116.         // line 39
  117.         echo "                            <input type=\"email\" value=\"admin@4tfm.de\" name=\"email\" id=\"inputEmail\" class=\"form-control\"
  118.                                    required=\"\" autofocus placeholder=\"Enter your email\">
  119.                             ";
  120.         // line 42
  121.         echo "                        </div>
  122.                         <div class=\"form-group\">
  123.                             <a href=\"pages-recoverpw.html\" class=\"text-muted float-right\"><small>Forgot your
  124.                                     password?</small></a>
  125.                             <label for=\"password\">Password</label>
  126.                             <div class=\"input-group input-group-merge\">
  127.                                 ";
  128.         // line 50
  129.         echo "                                <input value=\"test123\" type=\"password\" name=\"password\" id=\"inputPassword\"
  130.                                        class=\"form-control\" required=\"\" placeholder=\"Enter your password\">
  131.                                 ";
  132.         // line 53
  133.         echo "                                <input type=\"hidden\" name=\"_csrf_token\"
  134.                                        value=\"";
  135.         // line 54
  136.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("authenticate"), "html"nulltrue);
  137.         echo "\"
  138.                                 >
  139.                                 <div class=\"input-group-append\" data-password=\"false\">
  140.                                     <div class=\"input-group-text\">
  141.                                         <span class=\"password-eye\"></span>
  142.                                     </div>
  143.                                 </div>
  144.                             </div>
  145.                         </div>
  146.                         <div class=\"form-group mb-3\">
  147.                             <div class=\"custom-control custom-checkbox\">
  148.                                 <input type=\"checkbox\" class=\"custom-control-input\" id=\"checkbox-signin\" checked
  149.                                        name=\"_remember_me\">
  150.                                 <label class=\"custom-control-label\" for=\"checkbox-signin\">Remember me</label>
  151.                             </div>
  152.                         </div>
  153.                         <div class=\"form-group mb-0 text-center\">
  154.                             <button class=\"btn btn-primary\" type=\"submit\"> Log In</button>
  155.                         </div>
  156.                     </form>
  157.                 </div> <!-- end card-body -->
  158.             </div>
  159.             <!-- end card -->
  160.             <div class=\"row mt-3\">
  161.                 <div class=\"col-12 text-center\">
  162.                     <p class=\"text-muted\">Don't have an account? <a href=\"pages-register.html\"
  163.                                                                     class=\"text-muted ml-1\"><b>Sign Up</b></a></p>
  164.                 </div> <!-- end col -->
  165.             </div>
  166.             <!-- end row -->
  167.         </div> <!-- end col -->
  168.     </div>
  169.     ";
  170.         // line 92
  171.         echo "    <p><a href=\"https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi\"
  172.           target=\"_blank\">react-developer-tools</a></p>
  173.     <p><a href=\"https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?hl=de\"
  174.           target=\"_blank\">redux-devtools</a></p>
  175.     <p><a
  176.                 href=\"https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc?hl=de\"
  177.                 target=\"_blank\">xdebug-helper</a></p>
  178.     <p><a
  179.                 href=\"https://chrome.google.com/webstore/detail/hard-refresh/ichmdelihgokllcnibkcpciljnggojkj\"
  180.                 target=\"_blank\">hard-refresh</a></p>
  181.     <p><a
  182.                 href=\"https://addons.mozilla.org/de/firefox/addon/react-devtools/\"
  183.                 target=\"_blank\">react-developer-tools</a></p>
  184.     <p><a
  185.                 href=\"https://addons.mozilla.org/de/firefox/addon/reduxdevtools/\"
  186.                 target=\"_blank\">redux-devtools</a></p>
  187.     <p><a
  188.                 href=\"https://addons.mozilla.org/de/firefox/addon/hard-refresh-button/\"
  189.                 target=\"_blank\">hard-refresh</a></p>
  190.     <!-- end row -->
  191. ";
  192.         
  193.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  194.         
  195.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  196.     }
  197.     public function getTemplateName()
  198.     {
  199.         return "security/login.html.twig";
  200.     }
  201.     public function isTraitable()
  202.     {
  203.         return false;
  204.     }
  205.     public function getDebugInfo()
  206.     {
  207.         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,);
  208.     }
  209.     public function getSourceContext()
  210.     {
  211.         return new Source("{% extends 'base.login.html.twig' %}
  212. {% block title %}Anmelden in swtPOS{% endblock %}
  213. {% block body %}
  214.     <div class=\"row justify-content-center\">
  215.         <div class=\"col-lg-5\">
  216.             <div class=\"card\">
  217.                 <!-- Logo -->
  218.                 <div class=\"card-header pt-4 pb-4 text-center bg-primary\">
  219.                     <a href=\"index.html\">
  220.                         <span><img src=\"assets/images/logo.png\" alt=\"\" height=\"18\"></span>
  221.                     </a>
  222.                 </div>
  223.                 <div class=\"card-body p-4\">
  224.                     <div class=\"text-center w-75 m-auto\">
  225.                         <h4 class=\"text-dark-50 text-center mt-0 font-weight-bold\">Sign In</h4>
  226.                         <p class=\"text-muted mb-4\">Enter your email address and password to access admin panel.</p>
  227.                     </div>
  228.                     <form method=\"post\">
  229.                         {% if error %}
  230.                             <div class=\"alert alert-danger\">{{ error.messageKey|trans(error.messageData, 'security') }}</div>
  231.                         {% endif %}
  232.                         {% if app.user %}
  233.                             <div class=\"mb-3\">
  234.                                 You are logged in as {{ app.user.username }}, <a
  235.                                         href=\"{{ path('app_logout') }}\">Logout</a>
  236.                             </div>
  237.                         {% endif %}
  238.                         <div class=\"form-group\">
  239.                             <label for=\"emailaddress\">Email address</label>
  240.                             {# ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!! #}
  241.                             <input type=\"email\" value=\"admin@4tfm.de\" name=\"email\" id=\"inputEmail\" class=\"form-control\"
  242.                                    required=\"\" autofocus placeholder=\"Enter your email\">
  243.                             {# <input type=\"email\" value=\"{{ last_username }}\" name=\"email\" id=\"inputEmail\" class=\"form-control\" required=\"\" autofocus placeholder=\"Enter your email\"> #}
  244.                         </div>
  245.                         <div class=\"form-group\">
  246.                             <a href=\"pages-recoverpw.html\" class=\"text-muted float-right\"><small>Forgot your
  247.                                     password?</small></a>
  248.                             <label for=\"password\">Password</label>
  249.                             <div class=\"input-group input-group-merge\">
  250.                                 {# ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!! #}
  251.                                 <input value=\"test123\" type=\"password\" name=\"password\" id=\"inputPassword\"
  252.                                        class=\"form-control\" required=\"\" placeholder=\"Enter your password\">
  253.                                 {# <input type=\"password\" name=\"password\" id=\"inputPassword\" class=\"form-control\" required=\"\" placeholder=\"Enter your password\"> #}
  254.                                 <input type=\"hidden\" name=\"_csrf_token\"
  255.                                        value=\"{{ csrf_token('authenticate') }}\"
  256.                                 >
  257.                                 <div class=\"input-group-append\" data-password=\"false\">
  258.                                     <div class=\"input-group-text\">
  259.                                         <span class=\"password-eye\"></span>
  260.                                     </div>
  261.                                 </div>
  262.                             </div>
  263.                         </div>
  264.                         <div class=\"form-group mb-3\">
  265.                             <div class=\"custom-control custom-checkbox\">
  266.                                 <input type=\"checkbox\" class=\"custom-control-input\" id=\"checkbox-signin\" checked
  267.                                        name=\"_remember_me\">
  268.                                 <label class=\"custom-control-label\" for=\"checkbox-signin\">Remember me</label>
  269.                             </div>
  270.                         </div>
  271.                         <div class=\"form-group mb-0 text-center\">
  272.                             <button class=\"btn btn-primary\" type=\"submit\"> Log In</button>
  273.                         </div>
  274.                     </form>
  275.                 </div> <!-- end card-body -->
  276.             </div>
  277.             <!-- end card -->
  278.             <div class=\"row mt-3\">
  279.                 <div class=\"col-12 text-center\">
  280.                     <p class=\"text-muted\">Don't have an account? <a href=\"pages-register.html\"
  281.                                                                     class=\"text-muted ml-1\"><b>Sign Up</b></a></p>
  282.                 </div> <!-- end col -->
  283.             </div>
  284.             <!-- end row -->
  285.         </div> <!-- end col -->
  286.     </div>
  287.     {# ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!!   ONLY DEV !!! #}
  288.     <p><a href=\"https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi\"
  289.           target=\"_blank\">react-developer-tools</a></p>
  290.     <p><a href=\"https://chrome.google.com/webstore/detail/redux-devtools/lmhkpmbekcpmknklioeibfkpmmfibljd?hl=de\"
  291.           target=\"_blank\">redux-devtools</a></p>
  292.     <p><a
  293.                 href=\"https://chrome.google.com/webstore/detail/xdebug-helper/eadndfjplgieldjbigjakmdgkmoaaaoc?hl=de\"
  294.                 target=\"_blank\">xdebug-helper</a></p>
  295.     <p><a
  296.                 href=\"https://chrome.google.com/webstore/detail/hard-refresh/ichmdelihgokllcnibkcpciljnggojkj\"
  297.                 target=\"_blank\">hard-refresh</a></p>
  298.     <p><a
  299.                 href=\"https://addons.mozilla.org/de/firefox/addon/react-devtools/\"
  300.                 target=\"_blank\">react-developer-tools</a></p>
  301.     <p><a
  302.                 href=\"https://addons.mozilla.org/de/firefox/addon/reduxdevtools/\"
  303.                 target=\"_blank\">redux-devtools</a></p>
  304.     <p><a
  305.                 href=\"https://addons.mozilla.org/de/firefox/addon/hard-refresh-button/\"
  306.                 target=\"_blank\">hard-refresh</a></p>
  307.     <!-- end row -->
  308. {% endblock %}""security/login.html.twig""/var/www/1655948041.swtpos.de/templates/security/login.html.twig");
  309.     }
  310. }