<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{% block title %}Welcome!{% endblock %}</title>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.5/font/bootstrap-icons.css">
<link
rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
{# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
<link rel="stylesheet" href="{{ asset('bootstrap-5.0.2-dist/css/bootstrap.css') }}">
<link rel="stylesheet" href="{{ asset('awesomplete/awesomplete.css') }}">
<link rel="stylesheet" href="{{ asset('style.css') }}">
{% block stylesheets %}
{{ encore_entry_link_tags('app') }}
{% endblock %}
<script src="{{ asset('bootstrap-5.0.2-dist/js/bootstrap.js') }}"></script>
<script src="{{ asset('forms.js') }}"></script>
{% block javascripts %}
{{ encore_entry_script_tags('app') }}
{% endblock %}
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<div class="center">
<div class="logo-home">
<img src="{{ asset('logo/LYSI-logo-v5_crop.jpg') }}" alt="Lysi - logo" height="150">
</div>
</div>
{# lire et afficher tous les messages Flash #}
{% for label, messages in app.flashes %}
{% for message in messages %}
{# utilisation des classes de Bootstrap #}
<div class="text-center alert alert-{{ label }}" role="alert">{{ message|trans }}</div>
{% endfor %}
{% endfor %}
{% block body %}{% endblock %}
<script>
document.addEventListener('DOMContentLoaded', () => {
if (navigator.userAgent.toLowerCase().includes('firefox') && navigator.userAgent.toLowerCase().includes('android')) {
document.querySelectorAll('.autocomplete .form-control').forEach( (itm) => {
itm.classList.toggle('awesomplete')
})
loadJS("{{ asset('awesomplete/awesomplete.js') }}", true);
}
})
</script>
{% block footer %}{% endblock %}
</body>
</html>