Skip to content
Snippets Groups Projects
Select Git revision
  • 2e1f2464de80da12c18e96b9b3a209278fae324e
  • main default
  • 35-cgu
  • 34-peertube-support
  • 27-add-autoplay-to-iframe
  • 33-bug-on-youtube-embed-urls
  • RC-Rekall-v1.1-fix_lpo
  • tuleap-140-go-back-to-my-capsules-page-when-i-m-on-capsule-preview-page
  • RC-Rekall-v1.2-fix10
  • RC-Rekall-v1.2-fix9
  • RC-Rekall-v1.2-fix8
  • RC-Rekall-v1.2-fix7
  • RC-Rekall-v1.2-fix6
  • RC-Rekall-v1.2-fix5
  • RC-Rekall-v1.2-fix4
  • RC-Rekall-v1.2-fix3
  • RC-Rekall-v1.2-fix2
  • RC-Rekall-v1.2-fix1
  • RC-Rekall-v1.1-fix-3
  • RC-Rekall-v1.1-fix-2
  • RC-Rekall-v1.1-fix-1
  • RC-Rekall-v1.1-delivered
  • preprod20220209-1535
23 results

layout.html.twig

Blame
  • layout.html.twig 1.80 KiB
    <!DOCTYPE html>
    <html>
      <head>
        <meta charset="UTF-8">
        <meta http-equiv="Content-Security-Policy" content="upgrade-insecure-requests">
        <title>{% block title %}MemoRekall{% endblock %}</title>
    
        {% block stylesheets %}
          {{ encore_entry_link_tags('app') }}
        {% endblock %}
    
        <script src="https://kit.fontawesome.com/1291d95447.js" crossorigin="anonymous"></script>
    
      {% block javascripts %}
        {{ encore_entry_script_tags('app') }}
      {% endblock %}
    
      <link rel="icon" type="image/x-icon" href="{{ asset('build/images/favicon.ico') }}" />
    
    </head>
    
    <body class="container col-10 col-md-8 m-auto">
    <div class="position-relative d-flex flex-row align-items-center justify-content-center mb-5">
      <a href="{{ path('home') }}" class="align-self-center">
        <img id="header-memorekall-logo" class="memorekall-logo" src="{{ asset('build/images/MemoRekall.png') }}">
      </a>
    
            {% if is_granted("IS_AUTHENTICATED_REMEMBERED") %}
              <div class="d-flex flex-column position-absolute end-0 align-content-end text-end fw-light gray-600">
                <div class="fw-bold text-capitalize">{{ app.user.firstName }} {{ app.user.lastName }}</div>
                <a href="{{ path('show_profile') }}" class="text-decoration-none fs-5">
                    {{ 'user.profile.title'|trans }}
                </a>
                <a href="{{ path('edit_user_groups') }}" class="text-decoration-none fs-5">
                  {{ 'groups.general.title'|trans }}
                </a>
                <form>
                  <button class="btn btn-primary" formaction="{{ path('app_logout') }}">
                    {{ 'general.log_out'|trans }}
                  </button>
                </form>
              </div>
            {% endif %}
        </div>
      </div>
    
    {%  block connexion %} {% endblock %}
    {% block body %}{% endblock %}
    {% block script %}{% endblock %}
    </body>
    </html>