templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="fr">
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6.         <meta name="revisit-After" content="1 days">
  7.         <meta name="subject" content="Sport adhesion est le logiciel pour gérer votre structure sportive qui traite la gestion des membres, le planning de vos cours, la comptabilité, les terrains, la collecte de paiement en ligne.">
  8.         <meta name="copyright" content="sport-adhesion.com">
  9.         <meta name="author" content="sport-adhesion.com">
  10.         <meta name="publisher" content="sport-adhesion.com">
  11.         <meta name="rating" content="general">
  12.         <meta name="distribution" content="global">
  13.         <meta name="geography" content="paris, France, 75016">
  14.         <meta name="category" content="sports">
  15.         <meta name="content-language" content="fr">
  16.         {% block metaIndex %}
  17.             <meta name="robots" content="index,follow"/>
  18.         {% endblock %}
  19.         {% block metaTranslate %}
  20.             <meta name="google" value="notranslate">
  21.         {% endblock %}
  22.         {% block meta %}
  23.             <meta name="Description" content="Sport adhesion est le logiciel pour gérer votre structure sportive. Gérez vos membres, votre comptabilité, terrains et collectez vos paiements en ligne. il s'adapte aussi bien aux associations, coachs, et entreprises. Gérez votre structure depuis une seule application est désormais possible !">
  24.         {% endblock %}
  25.         <title>
  26.             {% block title %}
  27.                 Sport adhesion - Logiciel de gestion d'association
  28.             {% endblock %}
  29.         </title>
  30.         <link rel="shortcut icon" href="{{ asset('favicons/favicon.ico') }}" type="image/x-icon">
  31.         <link rel="icon" href="{{ asset('favicons/favicon.png') }}" type="image/png">
  32.         <link rel="icon" sizes="32x32" href="{{ asset('favicons/favicon-32.png') }}" type="image/png">
  33.         <link rel="icon" sizes="64x64" href="{{ asset('favicons/favicon-64.png') }}" type="image/png">
  34.         <link rel="icon" sizes="96x96" href="{{ asset('favicons/favicon-96.png') }}" type="image/png">
  35.         <link rel="icon" sizes="196x196" href="{{ asset('favicons/favicon-196.png') }}" type="image/png">
  36.         <link rel="apple-touch-icon" sizes="152x152" href="{{ asset('favicons/apple-touch-icon.png') }}">
  37.         <link rel="apple-touch-icon" sizes="60x60" href="{{ asset('favicons/apple-touch-icon-60x60.png') }}">
  38.         <link rel="apple-touch-icon" sizes="76x76" href="{{ asset('favicons/apple-touch-icon-76x76.png') }}">
  39.         <link rel="apple-touch-icon" sizes="114x114" href="{{ asset('favicons/apple-touch-icon-114x114.png') }}">
  40.         <link rel="apple-touch-icon" sizes="120x120" href="{{ asset('favicons/apple-touch-icon-120x120.png') }}">
  41.         <link rel="apple-touch-icon" sizes="144x144" href="{{ asset('favicons/apple-touch-icon-144x144.png') }}">
  42.         <link rel="stylesheet" href="{{ asset('css/library/bootstrap.min.css') }}"/>
  43.         <link rel="stylesheet" href="{{ asset('css/library/fontawesome-all.css') }}"/>
  44.         <link rel="stylesheet" href="{{ asset('css/theme.css') }}"/>
  45.         <link rel="stylesheet" href="{{ asset('css/library/precode.min.css') }}"/>
  46.         <link rel="stylesheet" href="{{ asset('css/library/precode_color.css') }}"/>
  47.         <link rel="stylesheet" href="{{ asset('css/media.css') }}" />
  48.         <link rel="stylesheet" href="{{ asset('css/precode_media.css') }}" />
  49.         
  50.         {% block stylesheets %}
  51.         {% endblock %}
  52.         {% set url = app.request.schemeAndHttpHost %}
  53.         <script src="{{ asset('js/precode-3.2.1.min.js') }}"></script>
  54.         <script src="{{ asset('js/1-13-2-jquery-ui.min.js') }}"></script>
  55.         <script src="{{ asset('js/functions/function_head.js') }}"></script>
  56.         <script src="{{ asset('js/auxiliary/cycle2.js') }}"></script>
  57.         <script src="{{ asset('js/auxiliary/cycle2_caroussel.js') }}"></script>
  58.         <script src="{{ asset('js/auxiliary/jquery.cycle2.scrollVert.js') }}" async></script>
  59.         <script src="{{ asset('js/auxiliary/jquery.cycle2.swipe.min.js') }}" async></script>
  60.         <script>
  61.             $(document).ready(function(){
  62.                 width = $(window).width();
  63.                 height = $(window).height();
  64.                 $(window).scroll(function(){
  65.                     width = $(window).width();
  66.                     height = $(window).height();
  67.                 });
  68.                 url = '{{ url }}';
  69.                 formURL = '/AjaxSubmit';
  70.                 Stripe_AccountId = 'acct_1LxAl9Bxt90RJOF6';
  71.                 {% if url == 'https://www.sport-adhesion.com' or url == 'sport-adhesion.com' or url == 'https://sport-adhesion.com' %}
  72.                     Stripe_ApiKey_PK = 'pk_live_51LxAl9Bxt90RJOF6Zk4KcYonMGQQCFQBpBdZwJ6Q13h1s21XfJjqeXy2B7gENTtVVEPEp5V2xXfdhAgNvTqzM5F200I48FSf99'; //Live
  73.                 {% elseif url == 'https://webapp.sport-adhesion.com' or url == 'https://www.webapp.sport-adhesion.com' or url == 'http://127.0.0.1:8010' %}
  74.                     Stripe_ApiKey_PK = 'pk_test_51LxAl9Bxt90RJOF6d6tdkSCAqWBaDnt1gxWAn4rLLmOffEDn6msJIZD7fGNwLhh0HnBICh11sPkro0QrUjEhyB1L00mrdqVGW0'; //Test
  75.                 {% endif %}
  76.                 
  77.             });
  78.         </script>
  79.         {% block javascripts %}
  80.         {% endblock %}
  81.     </head>
  82.     <body>
  83.         {% include 'components/menu.html.twig' %}
  84.         {% block body %}{% endblock %}
  85.         <div id="BgPoppup">
  86.             <div id="waitBgPop">
  87.                 <img src="{{ asset('images/loader/loader.gif') }}" alt="loader" width="40" height="40" border="0" />
  88.             </div>
  89.         </div>
  90.         <div id="gotop">
  91.             <div class="standard-full with-all-align">
  92.                 <i class="fas fa-angle-up fa-2x"></i>
  93.             </div>
  94.         </div>
  95.         {% include 'components/footer.html.twig' %}
  96.     </body>
  97. </html>
  98.     {% if url == 'https://www.sport-adhesion.com' or url == 'sport-adhesion.com' or url == 'https://sport-adhesion.com' %}
  99.     <script async src="https://www.googletagmanager.com/gtag/js?id=G-RNG2RW5EFN"></script>
  100.     <script>
  101.         window.dataLayer = window.dataLayer || [];
  102.         function gtag(){dataLayer.push(arguments);}
  103.         gtag('js', new Date());
  104.         gtag('config', 'G-RNG2RW5EFN');
  105.     </script>
  106.     {% endif %}
  107.     {% block javascriptFooter %}{% endblock %}
  108.     <script>
  109.         $(document).ready(function(){
  110.             CreateTitleBloc();
  111.     
  112.             // Animation change general information
  113.             //
  114.             $(document).on('keyup', '.liveInput', function(){
  115.                 liveInput = [];
  116.                 var id = $(this).attr('name');
  117.                 var value = $(this).val();
  118.                 var type = this.nodeName.toLowerCase();
  119.                 var table = $(this).closest('.JsSaverCategory').data('table');
  120.                 if(typeof table === "undefined"){
  121.                     if(typeForm == 'input' || typeForm == 'select' || typeForm == 'textarea') {
  122.                         $('#' + id).val(value);
  123.                     }else{
  124.                         $('#' + id).html(value);
  125.                     }
  126.                 }else{
  127.                     $('tr.active').find('.' + id).html(value);
  128.                 }
  129.                 liveInput[id] = value;
  130.     
  131.             });
  132.     
  133.             // animation poppup
  134.             //
  135.             $('.showpoppup').click(function(){
  136.                 var who = $(this).data('getid');
  137.                 var words = $(this).data('words');
  138.                 var call = $(this).data('id');
  139.                 var hide = $(this).data('hide');
  140.                 var show = $(this).data('show');
  141.                 var name_formulaire = $(this).data('form')
  142.                 setTimeout(function(){
  143.                     $('#' + who).show('fade')
  144.                 },500);
  145.                 $('#BgPoppup').show();
  146.                 if(typeof hide !== "undefined"){
  147.                     $(hide).hide();
  148.                 }
  149.                 if(typeof show !== "undefined"){
  150.                     $(show).show();
  151.                 }
  152.                 if(name_formulaire){
  153.                     effacer_formulaire(name_formulaire);
  154.                 }
  155.                 if(words != undefined){
  156.                     $('#words').html(words);
  157.                 }
  158.                 if(call != undefined){
  159.                     $('.popCall').attr('data-id', call);
  160.                 }
  161.             });
  162.             $('.closePoppupMenu, .closePoppup, .closeConfigure').click(function(){
  163.                 $('.poppup, #BgPoppup, .menuWindow, .configure').hide();
  164.                 $('#waitBgPop').show();
  165.             });
  166.     
  167.             // Go top et menu
  168.             //
  169.             $(window).scroll(function() {
  170.                 var mywidth = $(window).width();
  171.                 hauteur_define = 1000;
  172.     
  173.                 var y = $(this).scrollTop();
  174.                 if (width <= 768) {
  175.                     if(y > 50){
  176.                         $('#header-font').css({'position':'fixed','top':'0','left':'0'});
  177.                     }else{
  178.                         $('#header-font').css({'position':'','top':'','left':''});
  179.                     }
  180.                 }else{
  181.                     if(y > 400){
  182.                         $('#header-font').css({'position':'fixed','top':'0','left':'0'});
  183.                     }else{
  184.                         $('#header-font').css({'position':'','top':'','left':''});
  185.                     }
  186.                 }
  187.                 if(mywidth < 1024){
  188.                     $('#gotop').css({'margin-bottom':'30px',
  189.                         'right':'15px'});
  190.                     hauteur_define = 800;
  191.                 }
  192.     
  193.                 //console.log('text' + $(window).scrollTop());
  194.                 if ( $(window).scrollTop() > hauteur_define ) {
  195.                     $("#gotop").show();
  196.                 }else{
  197.                     $("#gotop").hide();
  198.                 }
  199.             });
  200.             $("#gotop").click(function(){
  201.                 scrollTop();
  202.             });
  203.     
  204.             // Menu desktop
  205.             //
  206.             $(".clsMenu").click(function() {
  207.                 $("#menuWindow, #BgPoppup, .blockMenu").hide();
  208.                 $('#menuWindow').css({'width':'0'});
  209.             });
  210.             $("#BgPoppup").click(function() {
  211.                 $("#menuWindow, #BgPoppup, .poppup, .configure").hide();
  212.                 $('#waitBgPop').show();
  213.             });
  214.             $('.openMenu').click(function(){
  215.                 $('#menuWindow, #BgPoppup').show();
  216.                 if(width > 1024){
  217.                     $('#menuWindow').animate({'width':'350px'}, 1000);
  218.                 }else{
  219.                     $('#menuWindow').animate({'width':'90%'}, 1000);
  220.                 }
  221.                 setTimeout(function(){
  222.                     $('.blockMenu').show();
  223.                     $('#waitBgPop').hide();
  224.                 },800);
  225.             })
  226.         });
  227.     </script>