<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- LightGallery CSS -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/lightgallery/2.7.1/css/lightgallery-bundle.min.css" integrity="sha512-nUqPe0+ak577sKSMThGcKJauRI7ENhKC2FQAOOmdyCYSrUh0GnwLsZNYqwilpMmplN+3nO3zso8CWUgu33BDag==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<link rel="stylesheet" href="{{ asset('assets/css/lightgallery.css') }}">
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-F3w7mX95PdgyTmZZMECAngseQB83DfGTowi0iMjiWaeVhAn4FJkqJByhZMI3AhiU" crossorigin="anonymous">
<!-- Bootstrap icons -->
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.3/font/bootstrap-icons.css">
<!-- Bootstrap table -->
<link href="https://unpkg.com/bootstrap-table@1.21.2/dist/bootstrap-table.min.css" rel="stylesheet">
<!-- FontAwesome CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
<!-- Custom CSS -->
<link rel="stylesheet" href="{{ asset('assets/css/tgsc.css') }}">
<!-- favicon -->
<link rel="shortcut icon" href="{{ asset('assets/images/logo/TGS-concept_LOGO-Gris.jpg') }}" type="image/x-icon">
<title>{% block title %}TGS Concept{% endblock %}</title>
</head>
<body>
<div id="content" class="container-xl bg-dark p-5">
{% include "_nav.html.twig" %}
{% if is_granted('IS_AUTHENTICATED_FULLY') %}
{% block subnav %}{% endblock %}
{% endif %}
{% include '_flash_messages.html.twig' %}
{% block body %}{% endblock %}
<!-- footer -->
<footer class="d-flex justify-content-between py-3 text-secondary">
<div>
<a id="footer-admin" href="{{ path('app_back_main_home') }}"><img src="{{ asset('assets/images/logo/TGS-concept_LOGO-Blanc.jpg') }}" height="20" alt="Administration TGS Concept"></a>
</div>
<div id="footer-copyright"><span>© 2022 - TGS Concept</span></div>
<div>
<a id="footer-disclaimer" class="mx-3" href="{{ path('app_main_disclaimer') }}">Mentions légales</a>
<a id="footer-contact" href="{{ path('app_main_contact') }}">Contact</a>
</div>
</footer>
</div>
<!-- JS - Font Awesome -->
<script src="https://kit.fontawesome.com/95ebc98ef4.js" crossorigin="anonymous"></script>
<!-- JS - jQuery -->
<script src="https://cdn.jsdelivr.net/npm/jquery/dist/jquery.min.js"></script>
<!-- JS - Bootstrap Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-/bQdsTh/da6pkI1MST/rWKFNjaCP5gBSY4sEBT38Q/9RBh9AH40zEOg7Hlq2THRZ" crossorigin="anonymous"></script>
<!-- JS - Bootstrap table -->
<script src="https://unpkg.com/bootstrap-table@1.21.2/dist/bootstrap-table.min.js"></script>
<!-- JS - Bootstrap table - Translation -->
<script src="{{ asset('assets/js/bootstrap-table-fr-FR.js') }}"></script>
<!-- JS - Light Gallery -->
<script src="https://cdnjs.cloudflare.com/ajax/libs/lightgallery/2.7.1/lightgallery.min.js" integrity="sha512-dSI4QnNeaXiNEjX2N8bkb16B7aMu/8SI5/rE6NIa3Hr/HnWUO+EAZpizN2JQJrXuvU7z0HTgpBVk/sfGd0oW+w==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script type="text/javascript">
// Bootstrap Table
function detailFormatter(index, row) {
var html = []
$.each(row, function (key, value) {
html.push('<p><b>' + key + ':</b> ' + value + '</p>')
})
return html.join('')
}
// Light Gallery initialization
lightGallery(document.getElementById('lightgallery'), {
// plugins: [lgZoom, lgThumbnail],
// licenseKey: 'your_license_key',
speed: 500,
// ... other settings
});
// Burger menu (inspiré de https://codepen.io/zagaris/pen/qBmqQEN)
const button = document.getElementById("burger");
const initialBtn = '<i class="fas fa-bars" aria-hidden="true"></i>';
const nav = document.getElementById("nav-menu");
button.addEventListener('click', () => {
nav.classList.toggle('show');
if (button.innerHTML.includes(initialBtn)) {
button.innerHTML ='<i class="bi bi-x-lg"></i>';
} else {
button.innerHTML = initialBtn;
}
});
</script>
</body>
</html>