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

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8" />
  5.         <title>{% block title %}Welcome!{% endblock %}</title>
  6.         <link rel="icon" type="image/x-icon" href="{{ asset( 'build/images/meyestro.ico') }}" />
  7.         {% block stylesheets %}
  8.             {{ encore_entry_link_tags('app') }}
  9.         {% endblock %}
  10.         </head>
  11.     <body>
  12.         <div class="login_header">
  13.             <div class="logo" ><a href="/nomogram/home" title="Vision Group Holding"><img src="/build/images/logo.png"></a></div>
  14.             {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
  15.              <div class="login_wrapper">
  16.                 {{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'FOSUserBundle') }} |
  17.                 <a href="{{ path('fos_user_security_logout') }}">
  18.                     {{ 'layout.logout'|trans({}, 'FOSUserBundle') }}
  19.                 </a>
  20.             </div>
  21.             {% else %}<!--
  22.                 <a href="{{ path('fos_user_security_login') }}">{{ 'layout.login'|trans({}, 'FOSUserBundle') }}</a> -->
  23.             {% endif %}
  24.         </div>
  25.         {% if app.request.hasPreviousSession %}
  26.             {% for type, messages in app.session.flashbag.all() %}
  27.                 {% for message in messages %}
  28.                     <div class="alert-wrapper">
  29.                         <div class="alert alert-{{ type }}">
  30.                             {{ message }}
  31.                         </div>
  32.                     </div>
  33.                 {% endfor %}
  34.             {% endfor %}
  35.         {% endif %}
  36.     <div>
  37.             {% block fos_user_content %}
  38.             {% endblock fos_user_content %}
  39.         </div>
  40.     </body>
  41. </html>