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.6 KiB
Twig
48 lines
1.6 KiB
Twig
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
|
|
<title>{% block title %}{% endblock %} - Giftopic</title>
|
|
|
|
<!-- STYLESHEET -->
|
|
<link type="text/css" rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/redmond/jquery-ui.css">
|
|
<link type="text/css" rel="stylesheet" href="/css/site/base.css">
|
|
{% block stylesheets %}{% endblock %}
|
|
</head>
|
|
<body>
|
|
<header>
|
|
<div>
|
|
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 -->
|
|
<script src="https://code.jquery.com/jquery-3.5.1.min.js" integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0=" crossorigin="anonymous"></script>
|
|
<script src="https://code.jquery.com/ui/1.12.1/jquery-ui.min.js" integrity="sha256-VazP97ZCwtekAsvgPBSUwPFKdrwD3unUfSGVYrahUqU=" crossorigin="anonymous"></script>
|
|
<script src="/javascript/site/base.js"></script>
|
|
{% block javascripts %}{% endblock %}
|
|
</body>
|
|
</html>
|