{% trans_default_domain 'messages' %}
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>{{ app_name }} {% block title %}{% endblock %}</title>
<link rel="icon" href="{{ asset('assets/images/logo.png') }}" />
<link href="{{ asset('assets/css/adminlte.min.css') }}" rel="stylesheet" />
{{ encore_entry_link_tags('app') }}
<link href="{{ asset('assets/css/regular.min.css') }}" rel="stylesheet" />
<link href="{{ asset('assets/css/solid.min.css') }}" rel="stylesheet" />
<link href="{{ asset('assets/css/fontawesome.min.css') }}" rel="stylesheet" />
<link href="{{ asset('assets/css/toastr.css') }}" rel="stylesheet" />
<link href="{{ asset('assets/css/design.css') }}" rel="stylesheet" />
{% block stylesheets %}{% endblock %}
</head>
<body>
{% include 'partials/_navbar.html.twig' %}
<div class="container-fluid mt-5">
{% block body %}{% endblock %}
</div>
<script src="{{ asset('assets/js/jquery.min.js') }}"></script>
<script src="{{ asset('assets/js/bootstrap.min.js') }}"></script>
{% if app.user %}
<script src="{{ asset('assets/js/moment.min.js') }}"></script>
<script src="{{ asset('assets/js/toastr.min.js') }}"></script>
<script src="{{ asset('assets/js/notification.js') }}"></script>
<script>
toastr.options.closeButton = true
toastr.options.closeDuration = 600
toastr.options.timeOut = 4000
toastr.options.progressBar = true
toastr.options.preventDuplicates = true
{% for message in app.flashes('success') %}
toastr.success('{{ message }}')
{% endfor %}
{% for message in app.flashes('warning') %}
toastr.warning('{{ message }}')
{% endfor %}
{% for message in app.flashes('error') %}
toastr.error('{{ message }}')
{% endfor %}
let datatablesTranslation = {
info: "",
infoEmpty: "",
emptyTable: "{{ 'No data'|trans }}",
zeroRecords: "{{ 'No data'|trans }}",
paginate: {
first: "{{ 'Start'|trans }}",
last: "{{ 'End'|trans }}",
next: "{{ 'Next'|trans }}",
previous: "{{ 'Previous'|trans }}"
}
}
</script>
{% endif %}
{% block javascripts %}{% endblock %}
</body>
</html>