var\cache\dev\twig\35\35897760a799c4c7408c47bb6da4dac4.php line 56

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. use Twig\TemplateWrapper;
  15. /* @ProjectBizPortal/Login/index.html.twig */
  16. class __TwigTemplate_8a1691b652003cd2e2f8f0cbd01aa74a extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'title' => [$this'block_title'],
  29.             'styles' => [$this'block_styles'],
  30.             'flashbag' => [$this'block_flashbag'],
  31.             'content' => [$this'block_content'],
  32.         ];
  33.     }
  34.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  35.     {
  36.         // line 1
  37.         return "@ProjectBizPortal/layout.base.html.twig";
  38.     }
  39.     protected function doDisplay(array $context, array $blocks = []): iterable
  40.     {
  41.         $macros $this->macros;
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProjectBizPortal/Login/index.html.twig"));
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@ProjectBizPortal/Login/index.html.twig"));
  46.         $this->parent $this->loadTemplate("@ProjectBizPortal/layout.base.html.twig""@ProjectBizPortal/Login/index.html.twig"1);
  47.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  50.         
  51.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  52.     }
  53.     // line 3
  54.     /**
  55.      * @return iterable<null|scalar|\Stringable>
  56.      */
  57.     public function block_title(array $context, array $blocks = []): iterable
  58.     {
  59.         $macros $this->macros;
  60.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  61.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  62.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  63.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  64.         yield "Login";
  65.         
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  67.         
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  69.         yield from [];
  70.     }
  71.     // line 5
  72.     /**
  73.      * @return iterable<null|scalar|\Stringable>
  74.      */
  75.     public function block_styles(array $context, array $blocks = []): iterable
  76.     {
  77.         $macros $this->macros;
  78.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""styles"));
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""styles"));
  82.         // line 6
  83.         yield "    <style type=\"text/css\">
  84.         .form-signin {
  85.             padding: 19px 29px 29px;
  86.             margin: 0 auto 20px;
  87.             background-color: #fff;
  88.             border: 1px solid #e5e5e5;
  89.             -webkit-border-radius: 5px;
  90.             -moz-border-radius: 5px;
  91.             border-radius: 5px;
  92.             -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
  93.             -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
  94.             box-shadow: 0 1px 2px rgba(0,0,0,.05);
  95.         }
  96.     </style>
  97. ";
  98.         
  99.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  100.         
  101.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  102.         yield from [];
  103.     }
  104.     // line 22
  105.     /**
  106.      * @return iterable<null|scalar|\Stringable>
  107.      */
  108.     public function block_flashbag(array $context, array $blocks = []): iterable
  109.     {
  110.         $macros $this->macros;
  111.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  112.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""flashbag"));
  113.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  114.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""flashbag"));
  115.         
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  117.         
  118.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  119.         yield from [];
  120.     }
  121.     // line 24
  122.     /**
  123.      * @return iterable<null|scalar|\Stringable>
  124.      */
  125.     public function block_content(array $context, array $blocks = []): iterable
  126.     {
  127.         $macros $this->macros;
  128.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  129.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  130.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  131.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  132.         // line 25
  133.         yield "    <div class=\"container-fluid\">
  134.         <div class=\"row-fluid\">
  135.             <div class=\"col-md-offset-4 col-md-4\">
  136.                 <form class=\"form-signin sha gr1\" action=\"";
  137.         // line 28
  138.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_login_check");
  139.         yield "\" method=\"post\" role=\"form\">
  140.                 ";
  141.         // line 30
  142.         yield Twig\Extension\CoreExtension::include($this->env$context"@ProjectBizPortal/include.login-logo.html.twig");
  143.         yield "
  144.                     <h3>";
  145.         // line 32
  146.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Portal Anmeldung"), "html"nulltrue);
  147.         yield "</h3>
  148.                     ";
  149.         // line 34
  150.         $context['_parent'] = $context;
  151.         $context['_seq'] = CoreExtension::ensureTraversable(["success""info""warning""danger"]);
  152.         foreach ($context['_seq'] as $context["_key"] => $context["flashBag"]) {
  153.             // line 35
  154.             yield "                        ";
  155.             $context['_parent'] = $context;
  156.             $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'35$this->source); })()), "session", [], "any"falsefalsefalse35), "flashbag", [], "any"falsefalsefalse35), "get", [$context["flashBag"]], "method"falsefalsefalse35));
  157.             foreach ($context['_seq'] as $context["_key"] => $context["flashMessage"]) {
  158.                 // line 36
  159.                 yield "                            <div class=\"alert alert-";
  160.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flashBag"], "html"nulltrue);
  161.                 yield " alert-dismissable\">
  162.                                 <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">&times;</button>
  163.                                 ";
  164.                 // line 38
  165.                 yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($context["flashMessage"], "html"nulltrue);
  166.                 yield "
  167.                             </div>
  168.                         ";
  169.             }
  170.             $_parent $context['_parent'];
  171.             unset($context['_seq'], $context['_key'], $context['flashMessage'], $context['_parent']);
  172.             $context array_intersect_key($context$_parent) + $_parent;
  173.             // line 41
  174.             yield "                    ";
  175.         }
  176.         $_parent $context['_parent'];
  177.         unset($context['_seq'], $context['_key'], $context['flashBag'], $context['_parent']);
  178.         $context array_intersect_key($context$_parent) + $_parent;
  179.         // line 42
  180.         yield "
  181.                     ";
  182.         // line 43
  183.         if ((isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'43$this->source); })())) {
  184.             // line 44
  185.             yield "                        <div class=\"alert alert-danger alert-dismissable\">
  186.                             <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">&times;</button>
  187.                             ";
  188.             // line 46
  189.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(CoreExtension::getAttribute($this->env$this->source, (isset($context["error"]) || array_key_exists("error"$context) ? $context["error"] : (function () { throw new RuntimeError('Variable "error" does not exist.'46$this->source); })()), "message", [], "any"falsefalsefalse46))), "html"nulltrue);
  190.             // line 47
  191.             yield "                        </div>
  192.                     ";
  193.         }
  194.         // line 49
  195.         yield "
  196.                     <div id=\"cookie-alert\" class=\"alert alert-danger alert-dismissable hidden\">
  197.                         <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">&times;</button>
  198.                         ";
  199.         // line 52
  200.         yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Um fortzufahren müssen Sie Cookies akzeptieren.", [], "messages");
  201.         // line 53
  202.         yield "                    </div>
  203.                     <div class=\"form-group\">
  204.                         <label for=\"_username\">Benutzername</label>
  205.                         <input type=\"text\" class=\"form-control\" id=\"_username\" name=\"_username\" value=\"";
  206.         // line 57
  207.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["last_username"]) || array_key_exists("last_username"$context) ? $context["last_username"] : (function () { throw new RuntimeError('Variable "last_username" does not exist.'57$this->source); })()), "html"nulltrue);
  208.         yield "\" placeholder=\"";
  209.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Benutzername"), "html"nulltrue);
  210.         yield "\">
  211.                     </div>
  212.                     <div class=\"form-group\">
  213.                         <label for=\"_password\">Passwort</label>
  214.                         <input type=\"password\" class=\"form-control\" id=\"_password\" name=\"_password\" placeholder=\"";
  215.         // line 61
  216.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Passwort"), "html"nulltrue);
  217.         yield "\">
  218.                     </div>
  219.                     ";
  220.         // line 64
  221.         if ((isset($context["require_cookie_acceptance_at_login"]) || array_key_exists("require_cookie_acceptance_at_login"$context) ? $context["require_cookie_acceptance_at_login"] : (function () { throw new RuntimeError('Variable "require_cookie_acceptance_at_login" does not exist.'64$this->source); })())) {
  222.             // line 65
  223.             yield "                        <div class=\"form-group\">
  224.                             <label for=\"accept_cookies\">";
  225.             // line 66
  226.             yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Cookies akzeptieren", [], "messages");
  227.             yield "</label>
  228.                             <div style=\"display: flex;\">
  229.                                 <input type=\"checkbox\" class=\"form-control\" id=\"accept_cookies\"  name=\"accept_cookies\" style=\"height:auto;width:auto;\">
  230.                                 <span style=\"margin-left: 10px;margin-top: 2px;\">";
  231.             // line 69
  232.             yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ich akzeptiere, dass Cookies gesetzt werden.", [], "messages");
  233.             yield "</span>
  234.                             </div>
  235.                         </div>
  236.                         <script>
  237.                             document.addEventListener('DOMContentLoaded', function () {
  238.                             ";
  239.             // line 77
  240.             yield "                                document.getElementsByClassName('btn-primary')[0].addEventListener('click', function (e) {
  241.                                     if(!document.getElementById('accept_cookies').checked) {
  242.                                         document.getElementById('cookie-alert').classList.remove('hidden');
  243.                                         e.preventDefault();
  244.                                         e.stopPropagation();
  245.                                     }
  246.                                 });
  247.                             }, false);
  248.                         </script>
  249.                     ";
  250.         }
  251.         // line 87
  252.         yield "
  253.                     <input class=\"btn btn-primary\" type=\"submit\" value=\"";
  254.         // line 88
  255.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Anmelden"), "html"nulltrue);
  256.         yield "\" >
  257.                     <p><br>";
  258.         // line 89
  259.         yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ich habe mein <a href=\"%recover%\">Passwort vergessen.</a>", ["%recover%" => $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_recover_password")], "messages");
  260.         yield "</p>
  261.                     ";
  262.         // line 91
  263.         if ((CoreExtension::getAttribute($this->env$this->source, ($context["features"] ?? null), "register", [], "any"truetruefalse91) && CoreExtension::getAttribute($this->env$this->source, (isset($context["features"]) || array_key_exists("features"$context) ? $context["features"] : (function () { throw new RuntimeError('Variable "features" does not exist.'91$this->source); })()), "register", [], "any"falsefalsefalse91))) {
  264.             // line 92
  265.             yield "                        <hr>
  266.                     ";
  267.         }
  268.         // line 96
  269.         yield "                </form>
  270.                 <p>";
  271.         // line 98
  272.         yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Hinweis zu den Passwortrichtlinien:<br>Verwenden Sie bitte: Mindestens 8 Zeichen UND Groß- und Kleinschreibung UND mindestens ein Sonderzeichen (@#\$%&°+=) UND mindestens eine Ziffer.", [], "messages");
  273.         yield "</p>
  274.                 <p>";
  275.         // line 99
  276.         yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Hinweis zur Verwendung von Cookies:<br>Bitte beachten Sie, dass für die Nutzung des Portals die Nutzung von Cookies erlaubt sein muss.", [], "messages");
  277.         yield "</p>
  278.                 <p><a target=\"_blank\" href=\"";
  279.         // line 100
  280.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pages_privacy_terms");
  281.         yield "\">";
  282.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Datenschutzerklärung"), "html"nulltrue);
  283.         yield "</a></p>
  284.                 <p><a target=\"_blank\" href=\"";
  285.         // line 101
  286.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("pages_imprint");
  287.         yield "\">";
  288.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Impressum"), "html"nulltrue);
  289.         yield "</a></p>
  290.             </div>
  291.         </div>
  292.     </div>
  293. ";
  294.         
  295.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  296.         
  297.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  298.         yield from [];
  299.     }
  300.     /**
  301.      * @codeCoverageIgnore
  302.      */
  303.     public function getTemplateName(): string
  304.     {
  305.         return "@ProjectBizPortal/Login/index.html.twig";
  306.     }
  307.     /**
  308.      * @codeCoverageIgnore
  309.      */
  310.     public function isTraitable(): bool
  311.     {
  312.         return false;
  313.     }
  314.     /**
  315.      * @codeCoverageIgnore
  316.      */
  317.     public function getDebugInfo(): array
  318.     {
  319.         return array (  324 => 101,  318 => 100,  314 => 99,  310 => 98,  306 => 96,  300 => 92,  298 => 91,  293 => 89,  289 => 88,  286 => 87,  274 => 77,  266 => 69,  260 => 66,  257 => 65,  255 => 64,  249 => 61,  240 => 57,  234 => 53,  232 => 52,  227 => 49,  223 => 47,  221 => 46,  217 => 44,  215 => 43,  212 => 42,  206 => 41,  197 => 38,  191 => 36,  186 => 35,  182 => 34,  177 => 32,  172 => 30,  167 => 28,  162 => 25,  149 => 24,  127 => 22,  102 => 6,  89 => 5,  66 => 3,  43 => 1,);
  320.     }
  321.     public function getSourceContext(): Source
  322.     {
  323.         return new Source("{% extends '@ProjectBizPortal/layout.base.html.twig' %}
  324. {% block title %}Login{% endblock %}
  325. {% block styles %}
  326.     <style type=\"text/css\">
  327.         .form-signin {
  328.             padding: 19px 29px 29px;
  329.             margin: 0 auto 20px;
  330.             background-color: #fff;
  331.             border: 1px solid #e5e5e5;
  332.             -webkit-border-radius: 5px;
  333.             -moz-border-radius: 5px;
  334.             border-radius: 5px;
  335.             -webkit-box-shadow: 0 1px 2px rgba(0,0,0,.05);
  336.             -moz-box-shadow: 0 1px 2px rgba(0,0,0,.05);
  337.             box-shadow: 0 1px 2px rgba(0,0,0,.05);
  338.         }
  339.     </style>
  340. {% endblock %}
  341. {% block flashbag %}{% endblock %}
  342. {% block content %}
  343.     <div class=\"container-fluid\">
  344.         <div class=\"row-fluid\">
  345.             <div class=\"col-md-offset-4 col-md-4\">
  346.                 <form class=\"form-signin sha gr1\" action=\"{{ path('_login_check') }}\" method=\"post\" role=\"form\">
  347.                 {{ include('@ProjectBizPortal/include.login-logo.html.twig') }}
  348.                     <h3>{{ 'Portal Anmeldung' | trans }}</h3>
  349.                     {% for flashBag in ['success', 'info', 'warning', 'danger'] %}
  350.                         {% for flashMessage in app.session.flashbag.get(flashBag) %}
  351.                             <div class=\"alert alert-{{flashBag}} alert-dismissable\">
  352.                                 <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">&times;</button>
  353.                                 {{ flashMessage }}
  354.                             </div>
  355.                         {% endfor %}
  356.                     {% endfor %}
  357.                     {% if error %}
  358.                         <div class=\"alert alert-danger alert-dismissable\">
  359.                             <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">&times;</button>
  360.                             {{ error.message | trans | trans }}{# Double translation -> 'Bad credentials' -> de -> target language #}
  361.                         </div>
  362.                     {% endif %}
  363.                     <div id=\"cookie-alert\" class=\"alert alert-danger alert-dismissable hidden\">
  364.                         <button type=\"button\" class=\"close\" data-dismiss=\"alert\" aria-hidden=\"true\">&times;</button>
  365.                         {% trans %}Um fortzufahren müssen Sie Cookies akzeptieren.{% endtrans %}
  366.                     </div>
  367.                     <div class=\"form-group\">
  368.                         <label for=\"_username\">Benutzername</label>
  369.                         <input type=\"text\" class=\"form-control\" id=\"_username\" name=\"_username\" value=\"{{ last_username }}\" placeholder=\"{{ 'Benutzername' | trans }}\">
  370.                     </div>
  371.                     <div class=\"form-group\">
  372.                         <label for=\"_password\">Passwort</label>
  373.                         <input type=\"password\" class=\"form-control\" id=\"_password\" name=\"_password\" placeholder=\"{{ 'Passwort' | trans }}\">
  374.                     </div>
  375.                     {% if require_cookie_acceptance_at_login %}
  376.                         <div class=\"form-group\">
  377.                             <label for=\"accept_cookies\">{% trans %}Cookies akzeptieren{% endtrans %}</label>
  378.                             <div style=\"display: flex;\">
  379.                                 <input type=\"checkbox\" class=\"form-control\" id=\"accept_cookies\"  name=\"accept_cookies\" style=\"height:auto;width:auto;\">
  380.                                 <span style=\"margin-left: 10px;margin-top: 2px;\">{% trans %}Ich akzeptiere, dass Cookies gesetzt werden.{% endtrans %}</span>
  381.                             </div>
  382.                         </div>
  383.                         <script>
  384.                             document.addEventListener('DOMContentLoaded', function () {
  385.                             {#
  386.                                 Do not let the user login when he does not accept cookies.
  387.                             #}
  388.                                 document.getElementsByClassName('btn-primary')[0].addEventListener('click', function (e) {
  389.                                     if(!document.getElementById('accept_cookies').checked) {
  390.                                         document.getElementById('cookie-alert').classList.remove('hidden');
  391.                                         e.preventDefault();
  392.                                         e.stopPropagation();
  393.                                     }
  394.                                 });
  395.                             }, false);
  396.                         </script>
  397.                     {% endif %}
  398.                     <input class=\"btn btn-primary\" type=\"submit\" value=\"{{ 'Anmelden' | trans }}\" >
  399.                     <p><br>{% trans with {'%recover%': path('_recover_password')} %}Ich habe mein <a href=\"%recover%\">Passwort vergessen.</a>{% endtrans %}</p>
  400.                     {% if features.register is defined and features.register %}
  401.                         <hr>
  402.                     {% endif %}
  403.                 </form>
  404.                 <p>{% trans %}Hinweis zu den Passwortrichtlinien:<br>Verwenden Sie bitte: Mindestens 8 Zeichen UND Groß- und Kleinschreibung UND mindestens ein Sonderzeichen (@#\$%&°+=) UND mindestens eine Ziffer.{% endtrans %}</p>
  405.                 <p>{% trans %}Hinweis zur Verwendung von Cookies:<br>Bitte beachten Sie, dass für die Nutzung des Portals die Nutzung von Cookies erlaubt sein muss.{% endtrans %}</p>
  406.                 <p><a target=\"_blank\" href=\"{{ path('pages_privacy_terms') }}\">{{ 'Datenschutzerklärung' | trans}}</a></p>
  407.                 <p><a target=\"_blank\" href=\"{{ path('pages_imprint') }}\">{{ 'Impressum' | trans}}</a></p>
  408.             </div>
  409.         </div>
  410.     </div>
  411. {% endblock %}
  412. ""@ProjectBizPortal/Login/index.html.twig""D:\\srv\\portal\\tracingandtracking-portal\\vendor\\project-biz\\portal-bundle\\src\\Resources\\views\\Login\\index.html.twig");
  413.     }
  414. }