<!DOCTYPE html>
<html>
<head>
<!-- Google tag (gtag.js) -->
{% if app.request.server.get('HTTP_HOST') == "ulteam.app"%}
<script async src="https://www.googletagmanager.com/gtag/js?id=G-XZ758N6RLE"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-XZ758N6RLE');
</script>
{% endif %}
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="apple-touch-icon" href="{{ asset('build/images/favicon/faviconulteam.png') }}">
<link rel="icon" href="{{ asset('build/images/favicon/faviconulteam.png') }}" type="image/png">
<title>{% block title %}Welcome!{% endblock %}</title>
{# Run `composer require symfony/webpack-encore-bundle`
and uncomment the following Encore helpers to start using Symfony UX #}
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&family=Roboto:wght@400;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Raleway:wght@300;400;500;600;800;900&display=swap" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous">
{# <link rel="stylesheet" type="text/css" href="//cdn.jsdelivr.net/npm/slick-carousel@1.8.1/slick/slick.css"/> #}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css"/>
{% block stylesheets %}
{{ encore_entry_link_tags('app-client-v2') }}
{% endblock %}
<link href="{{ asset('fa/fontawesome-all.min.css') }}" rel="stylesheet">
<link href="{{ asset('fa-pro/css/all.min.css') }}" rel="stylesheet">
<script type="text/javascript" src="{{ asset('tarteaucitron/tarteaucitron.js') }}"></script>
<script type="text/javascript">
tarteaucitron.init({
"privacyUrl": "{{ path('client_app_politiqueDeConfidentialite') }}", /* Privacy policy url */
"hashtag": "#tarteaucitron", /* Open the panel with this hashtag */
"cookieName": "tarteaucitron", /* Cookie name */
"orientation": "middle", /* Banner position (top - bottom) */
"showAlertSmall": false, /* Show the small banner on bottom right */
"cookieslist": true, /* Show the cookie list */
"closePopup": false, /* Show a close X on the banner */
"showIcon": false, /* Show cookie icon to manage cookies */
"iconPosition": "BottomLeft", /* BottomRight, BottomLeft, TopRight and TopLeft */
"adblocker": false, /* Show a Warning if an adblocker is detected */
"DenyAllCta" : false, /* Show the deny all button */
"AcceptAllCta" : true, /* Show the accept all button when highPrivacy on */
"highPrivacy": true, /* HIGHLY RECOMMANDED Disable auto consent */
"handleBrowserDNTRequest": false, /* If Do Not Track == 1, disallow all */
"removeCredit": true, /* Remove credit link */
"moreInfoLink": true, /* Show more info link */
"useExternalCss": false, /* If false, the tarteaucitron.css file will be loaded */
"useExternalJs": false, /* If false, the tarteaucitron.js file will be loaded */
//"cookieDomain": ".my-multisite-domaine.fr", /* Shared cookie for multisite */
"readmoreLink": "", /* Change the default readmore link */
"mandatory": true, /* Show a message about mandatory cookies */
});
{% if app.request.server.get('HTTP_HOST') == "ulteam.app"%}
tarteaucitron.user.gtagUa = 'G-XZ758N6RLE'; /* Google Tag Manager */
tarteaucitron.user.gtagMore = function () { /* add here your optionnal gtag() */ };
(tarteaucitron.job = tarteaucitron.job || []).push('gtag');
(tarteaucitron.job = tarteaucitron.job || []).push('phpsessid');
{% endif %}
</script>
<script type="text/javascript" src="{{ asset('tarteaucitron/tarteaucitronCustomLive.js') }}"></script>
</head>
<body class="d-flex flex-column min-vh-100 {{CUSTOM_TEMPLATE_CLASS}}">
{# {% include "./client/v2/components/_loader.html.twig" %} #}
{% if ULTEAM_TV_REDIRECT_POPUP %}
{% include "/client/v2/components/ulteamtv_tuto_modal.html.twig" %}
{% endif %}
{% if app.user.roles is defined and "ROLE_CLIENT" in app.user.roles %}
{% block header %}
{% include 'client/v2/components/menu.html.twig' %}
{% endblock %}
{% block menu %}
{% endblock %}
{% endif %}
{% for label, messages in app.flashes(['warning', 'error']) %}
{% for message in messages %}
<div class="alert alert-{{ label }} alert-dismissible" role="alert">
{{ message }}
<button type="button" class="btn-close" data-bs-dismiss="alert" aria-label="Close"></button>
</div>
{% endfor %}
{% endfor %}
<div class="main-container py-5 px-4 {% if app.request.get('_route') in ['client_first_connection', 'client_tv_teamplay_not_found', 'client_tv_access_denied' ] %} first-co {% elseif app.request.get('_route') not in ['client_dashboard', 'client_article_list', 'client_article_detail'] %} sidebar {% endif %}">
{% block body %}
{% endblock %}
</div>
{% include 'client/v2/components/cancel_modal.html.twig' %}
{% if app.user.roles is defined and "ROLE_CLIENT" in app.user.roles %}
{% block footer %}
{% include 'client/v2/components/footer.html.twig' %}
{% endblock %}
{% endif %}
<script src="https://code.jquery.com/jquery-3.6.4.min.js" language = "javascript"></script>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
<script src="https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.js"></script>
<script src="https://player.vimeo.com/api/player.js"></script>
<script src="https://cdn.jsdelivr.net/npm/chart.js@4.4.2/dist/chart.umd.min.js"></script>
{# CHAT #}
{% if app.request.get('_route') != 'client_first_connection' %}
<!-- Start of HubSpot Embed Code -->
<script type="text/javascript" id="hs-script-loader" async defer src="{{HUBSPOT.JS_URL}}"></script>
<!-- End of HubSpot Embed Code -->
{% endif %}
{% block videoscripts %}
{% endblock %}
{% block javascripts %}
{{ encore_entry_script_tags('app-client-v2') }}
{% endblock %}
<script>
{% block popupMobile %}
$(document).ready(function() {
// Optimalisation: Store the references outside the event handler:
var $window = $(window);
function checkWidth() {
var windowsize = $window.width();
var currentPath = window.location.pathname;
if (
windowsize < 1200 &&
!currentPath.includes('/reset')
) {
$("#screenModal").modal('show');
$('.modal-backdrop').addClass('screen');
}
}
// Execute on load
checkWidth();
// Bind event listener
$(window).resize(checkWidth);
});
{% endblock %}
</script>
{# Modal for popup under 1200px #}
<div class="modal" id="screenModal" tabindex="-1" data-bs-backdrop="static" role="dialog">
<div class="modal-dialog modal-dialog-centered" role="document">
<div class="modal-content bg-blue" id="modal-screen">
<div class="modal-header justify-content-center">
<img class="" src="{{asset('build/images/v2/metro-warning.png')}}" alt="Ulteam TV - Plateforme de vidéo à la demande Sport, prévention santé, bien-être">
</div>
<div class="modal-body d-flex text-center">
<p>Votre résolution d'écran ne permet pas une navigation optimale.<br><br> Veuillez télécharger notre application mobile <br> <b>ULTEAM TV</b> <br> sur les App Stores <br>
(<a href="https://play.google.com/store/apps/details?id=com.ulteamtv.apptest&gl=FR">Android</a>
ou
<a href="https://apps.apple.com/fr/app/ulteam-tv/id1609082347"> Apple</a>)
</p>
</div>
</div>
</div>
</div>
</body>
</html>