templates/auth.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="en">
  3.     <head>
  4.         <base href="./" />
  5.         <meta charset="utf-8" />
  6.         <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  7.         <meta name="viewport"
  8.             content="width=device-width, initial-scale=1.0, shrink-to-fit=no" />
  9.         <title>
  10.             {% block title %}
  11.                 Welcome!
  12.             {% endblock %}
  13.         </title>
  14.         {% block stylesheets %}
  15.             {{ encore_entry_link_tags('app') }}
  16.         {% endblock %}
  17.         {{ StyleExtension().style|raw }}
  18.         {% set domain = app.request.getSchemeAndHttpHost() %}
  19.         {% set isLocalDomain = false %}
  20.         {% if '.loc' in domain or 'local' in domain or '0.0.0.0' in domain %}
  21.             {% set isLocalDomain = true %}
  22.         {% endif %}
  23.         {% if not isLocalDomain %}
  24.             <!-- Yandex.Metrika counter -->
  25.             <script type="text/javascript">
  26.                 (function(m,e,t,r,i,k,a){m[i]=m[i]||function(){(m[i].a=m[i].a||[]).push(arguments)};
  27.                 m[i].l=1*new Date(); for (var j = 0; j <
  28.                 document.scripts.length; j++) {if (document.scripts[j].src ===
  29.                 r) { return; }}
  30.                 k=e.createElement(t),a=e.getElementsByTagName(t)[0],k.async=1,k.src=r,a.parentNode.insertBefore(k,a)})
  31.                 (window, document, "script",
  32.                 "https://mc.yandex.ru/metrika/tag.js", "ym");
  33.                 ym(92564263, "init", { clickmap:true, trackLinks:true,
  34.                 accurateTrackBounce:true, webvisor:true });
  35.             </script>
  36.             <noscript>
  37.                 <div>
  38.                     <img src="https://mc.yandex.ru/watch/92564263"
  39.                         style="position:absolute; left:-9999px;"
  40.                         alt="" />
  41.                 </div>
  42.             </noscript>
  43.             <!-- /Yandex.Metrika counter -->
  44.         {% endif %}
  45.     </head>
  46.     <body class="c-app flex-row align-items-center">
  47.         {% block body %}
  48.             {% block form_errors %}
  49.                 {% apply spaceless %}
  50.                 {% if (errors|length) > 0 %}
  51.                     {% for error in errors %}
  52.                         <em style="display: block"
  53.                             class="error invalid-feedback">
  54.                             {{ error.message }}
  55.                         </em>
  56.                     {% endfor %}
  57.                 {% endif %}
  58.                 {% endapply %}
  59.             {% endblock %}
  60.         {% endblock %}
  61.         {{ CookieConsentWidget() }}
  62.         {% block javascripts %}
  63.             {{ encore_entry_script_tags('app') }}
  64.         {% endblock %}
  65.     </body>
  66. </html>