templates/bundles/FOSUserBundle/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.     <head>
  4.         <meta charset="utf-8">
  5.         <meta http-equiv="X-UA-Compatible" content="IE=edge">
  6.         <meta name="viewport" content="width=device-width, initial-scale=1">
  7.         <!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
  8.         <meta name="description" content="">
  9.         <meta name="author" content="">
  10.         <link rel="icon" href="{{ asset('favicon.ico') }}">
  11.         <title>FIBKIT - {% block title %}panel logowania{% endblock %}</title>
  12.         {% block stylesheets %}
  13.             <link href="{{ asset('css/bootstrap5.min.css') }}" rel="stylesheet"/>
  14.             <link href="{{ asset('css/auth.css') }}" rel="stylesheet"/>
  15.         {% endblock %}
  16.         {% block head %}
  17.         {% endblock %}
  18.         
  19.     </head>
  20.     <body class="text-center">
  21.         {% block body %}{% endblock %}
  22.         {% block javascripts %}
  23.             <script>
  24.                 document.addEventListener('click', function (event) {
  25.                     var toggle = event.target.closest('.js-password-toggle');
  26.                     if (!toggle) {
  27.                         return;
  28.                     }
  29.                     var input = document.getElementById(toggle.dataset.target);
  30.                     if (!input) {
  31.                         return;
  32.                     }
  33.                     var isHidden = input.getAttribute('type') === 'password';
  34.                     input.setAttribute('type', isHidden ? 'text' : 'password');
  35.                     toggle.setAttribute('aria-pressed', isHidden ? 'true' : 'false');
  36.                 });
  37.             </script>
  38.         {% endblock %}
  39.     </body>
  40. </html>