<!DOCTYPE html>
<html lang="fr">
<head>
<!-- Required meta tags -->
{% block meta %}
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Europe13</title>
{% endblock %}
<!-- plugins:css -->
{% block stylesSheet %}
<!-- endinject -->
<!-- plugin css for this page -->
<!-- end plugin css for this page -->
<!-- endinject -->
<!-- Layout styles -->
<link rel="stylesheet" href="{{ asset('assets/css/demo_1/style.css') }}" />
<!-- End layout styles -->
<!-- End layout styles -->
<link rel="shortcut icon" href="{{ asset('assets/images/logo.png') }}" />
{% endblock %}
</head>
<body class="sidebar-dark">
<div class="main-wrapper">
{% if app.user %}
{% include "components/sidebar.html.twig" %}
{% endif %}
<div class="page-wrapper">
{% if app.user %}
{% include "components/navbar.html.twig" %}
{% endif %}
<div class="page-content">
{% block body %}
{% endblock %}
</div>
{% if app.user %}
{% block footer %}
<footer class="footer d-flex flex-column flex-md-row align-items-center justify-content-between">
<p class="text-muted text-center text-md-left">Copyright © 2023. All rights reserved</p>
</footer>
{% endblock %}
{% endif %}
</div>
</div>
{% block javascripts %}
<!-- core:js -->
<script src="{{ asset('assets/vendors/core/core.js') }}"></script>
<script src="{{ asset('assets/vendors/feather-icons/feather.min.js') }}"></script>
<script src="{{ asset('assets/js/template.js') }}"></script>
{% if app.session.get('checkSignatureStatus') is defined and app.session.get('checkSignatureStatus') %}
<script>
// prevent this loop from executing if there is no token in session
function fn60sec() {
$.post("{{path('signature_check_validator')}}", function(data, status){
console.log('data : ', data)
console.log('status : ', status)
})
}
fn60sec();
setInterval(fn60sec, 60*1000);
</script>
{% endif %}
{% endblock %}
</body>
</html>