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.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6.     <title>{% block title %}AURA Talent{% endblock %}</title>
  7.     <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto:300,400,500">
  8.     <link rel="icon" type="image/x-icon" href="{{ asset('build/images/favicon.ico') }}" />
  9.     <link rel="stylesheet" href="{{ asset('build/login.css') }}">
  10. </head>
  11. <body class="not_authenticated">
  12.     <div>
  13.         {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
  14.             {{ 'layout.logged_in_as'|trans({'%username%': app.user.username}, 'FOSUserBundle') }} |
  15.             <a href="{{ path('fos_user_security_logout') }}">
  16.                 {{ 'layout.logout'|trans({}, 'FOSUserBundle') }}
  17.             </a>
  18.         {% else %}
  19. {#            <a href="{{ path('fos_user_security_login') }}">{{ 'layout.login'|trans({}, 'FOSUserBundle') }}</a>#}
  20.         {% endif %}
  21.     </div>
  22.     {% if app.request.hasPreviousSession %}
  23.         {% for type, messages in app.session.flashbag.all() %}
  24.             {% for message in messages %}
  25.                 <div class="flash-{{ type }}">
  26.                     {{ message }}
  27.                 </div>
  28.             {% endfor %}
  29.         {% endfor %}
  30.     {% endif %}
  31.     {% block fos_user_content %}
  32.     {% endblock fos_user_content %}
  33.     {% block javascripts %}
  34.         {{ encore_entry_script_tags('login') }}
  35.     {% endblock %}
  36. </body>
  37. </html>