You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
48 lines
1.2 KiB
Twig
48 lines
1.2 KiB
Twig
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
|
|
|
<title>{% block title %}{% endblock %} - Giftopic</title>
|
|
|
|
<!-- STYLESHEET -->
|
|
{% block stylesheets %}
|
|
{{ encore_entry_link_tags('app') }}
|
|
{% endblock %}
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<div id="logo">
|
|
Giftopic
|
|
</div>
|
|
<div>
|
|
{% if app.user %}
|
|
{{ app.user.username }}, <a href="{{ path('app_security_sign_out') }}">{% trans from 'security' %}sign.out{% endtrans %}</a>
|
|
{% endif %}
|
|
</div>
|
|
</header>
|
|
|
|
{% block body %}{% endblock %}
|
|
|
|
<footer></footer>
|
|
|
|
<div id="messages">
|
|
{% for type, messages in app.flashes(['error', 'warning']) %}
|
|
{% if messages %}
|
|
<div id="flash-{{ type }}" title="{{ type|trans({}, 'messages') }}">
|
|
{% for message in messages %}
|
|
<p>{{ message }}</p>
|
|
{% endfor %}
|
|
</div>
|
|
{% endif %}
|
|
{% endfor %}
|
|
</div>
|
|
|
|
<!-- JAVASCRIPT -->
|
|
{% block javascripts %}
|
|
{{ encore_entry_script_tags('app') }}
|
|
{% endblock %}
|
|
</body>
|
|
</html>
|