<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>{% block title %}qport.app{% endblock %}</title>
{# CSS #}
<link rel="stylesheet" href="{{ asset('css/bootstrap.css') }}">
<link href='{{ asset('css/fonts.google.css') }}' rel='stylesheet' type='text/css'>
{% block stylesheets %}{% endblock %}
<!-- Google tag (gtag.js) -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-RY5G4QGYD6"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-RY5G4QGYD6');
</script>
</head>
<body>
{% block flashmessages %}
{% if app.session.flashbag.peekAll|length > 0 %}
{% for type, messages in app.session.flashbag.all %}
{% for message in messages %}
<div class="alert alert-dismissible alert-{{ type ? type : 'info' }} p-2 m-2">
<button type="button" class="close p-0 pt-1 pr-2" data-dismiss="alert" aria-label="Close"><span
aria-hidden="true">×</span></button>
{{ message | trans([], 'messages', lang is defined ? lang : 'ro') }}
</div>
{% endfor %}
{% endfor %}
{% endif %}
{% endblock %}
{% block body %}{% endblock %}
{# JS #}
<script src="{{ asset('js/jquery.slim.min.js') }}"></script>
{# <script src="{{ asset('js/popper.min.js') }}"></script> #}
<script src="{{ asset('js/bootstrap.min.js') }}"></script>
{% block javascripts %}{% endblock %}
</body>
</html>