templates/front/layout/base.html.twig line 110

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <title>{% block title %}BikingMan{% endblock %}</title>
  6.     <!-- Required meta tags always come first -->
  7.     <meta charset="utf-8">
  8.     <meta name="viewport" content="width=device-width, initial-scale=1">
  9.     <meta http-equiv="x-ua-compatible" content="ie=edge">
  10.     <link rel="apple-touch-icon" sizes="180x180" href="{{ asset('build/images/apple-touch-icon.png') }}">
  11.     <link rel="icon" type="image/png" sizes="32x32" href="{{ asset('build/images/favicon-32x32.png') }}">
  12.     <link rel="icon" type="image/png" sizes="16x16" href="{{ asset('build/images/favicon-16x16.png') }}">
  13.     {% block stylesheets %}
  14.         {{ encore_entry_link_tags('app') }}
  15.     {% endblock %}
  16.     {% block javascripts %}
  17.         {{ encore_entry_script_tags('app') }}
  18.         <script>
  19.             $(document).ready(function () {
  20.                 {% for type, messages in app.flashes() %}
  21.                 {% for message in messages %}
  22.                 $.SwalFlashAlert( "{{ type }}", "{{ message }}");
  23.                 {% endfor %}
  24.                 {% endfor %}
  25.             });
  26.         </script>
  27.     {% endblock %}
  28.     <!-- Google tag (gtag.js) -->
  29.     <script async src="https://www.googletagmanager.com/gtag/js?id=G-W30R85L0MT"></script>
  30.     <script>
  31.         window.dataLayer = window.dataLayer || [];
  32.         function gtag() {
  33.             dataLayer.push(arguments);
  34.         }
  35.         gtag('js', new Date());
  36.         gtag('config', 'G-W30R85L0MT');
  37.     </script>
  38.     <script src="https://js.stripe.com/v3/"></script>
  39.     <style>
  40.         /**
  41.          * The CSS shown here will not be introduced in the Quickstart guide, but shows
  42.          * how you can use CSS to style your Element's container.
  43.          */
  44.         .StripeElement {
  45.             box-sizing: border-box;
  46.             height: 40px;
  47.             width: 100%;
  48.             padding: 10px 12px;
  49.             border: 1px solid transparent;
  50.             border-radius: 4px;
  51.             background-color: white;
  52.             box-shadow: 0 1px 3px 0 #e6ebf1;
  53.             -webkit-transition: box-shadow 150ms ease;
  54.             transition: box-shadow 150ms ease;
  55.         }
  56.         .StripeElement--focus {
  57.             box-shadow: 0 1px 3px 0 #cfd7df;
  58.         }
  59.         .StripeElement--invalid {
  60.             border-color: #0A9B01;
  61.         }
  62.         .StripeElement--webkit-autofill {
  63.             background-color: #fefde5 !important;
  64.         }
  65.     </style>
  66.     <link rel="stylesheet" href="//cdn.datatables.net/1.10.24/css/jquery.dataTables.min.css">
  67. </head>
  68. <body class="{% block bodyCssClasses %}page-has-left-panels {% endblock %}">
  69. <!-- Preloader -->
  70. <div id="hellopreloader">
  71.     <div class="preloader">
  72.         <svg width="45" height="45" stroke="#fff">
  73.             <g fill="none" fill-rule="evenodd" stroke-width="2" transform="translate(1 1)">
  74.                 <circle cx="22" cy="22" r="6" stroke="none">
  75.                     <animate attributeName="r" begin="1.5s" calcMode="linear" dur="3s" repeatCount="indefinite"
  76.                              values="6;22"/>
  77.                     <animate attributeName="stroke-opacity" begin="1.5s" calcMode="linear" dur="3s"
  78.                              repeatCount="indefinite" values="1;0"/>
  79.                     <animate attributeName="stroke-width" begin="1.5s" calcMode="linear" dur="3s"
  80.                              repeatCount="indefinite" values="2;0"/>
  81.                 </circle>
  82.                 <circle cx="22" cy="22" r="6" stroke="none">
  83.                     <animate attributeName="r" begin="3s" calcMode="linear" dur="3s" repeatCount="indefinite"
  84.                              values="6;22"/>
  85.                     <animate attributeName="stroke-opacity" begin="3s" calcMode="linear" dur="3s"
  86.                              repeatCount="indefinite" values="1;0"/>
  87.                     <animate attributeName="stroke-width" begin="3s" calcMode="linear" dur="3s" repeatCount="indefinite"
  88.                              values="2;0"/>
  89.                 </circle>
  90.                 <circle cx="22" cy="22" r="8">
  91.                     <animate attributeName="r" begin="0s" calcMode="linear" dur="1.5s" repeatCount="indefinite"
  92.                              values="6;1;2;3;4;5;6"/>
  93.                 </circle>
  94.             </g>
  95.         </svg>
  96.         <div class="text">Loading ...</div>
  97.     </div>
  98. </div>
  99. <!-- ... end Preloader -->
  100. {% block body %}
  101.     {% if app.user %}
  102.         {% if is_granted('ROLE_ADMIN') or is_granted('ROLE_ORGANIZER') %}
  103.             {% embed 'back/layout/section/fixed-sidebar-left.html.twig' %}{% endembed %}
  104.         {% else %}
  105.             {% embed 'front/layout/section/fixed-sidebar-left.html.twig' %}{% endembed %}
  106.         {% endif %}
  107.     {% endif %}
  108.     {% embed 'front/layout/section/header.html.twig' %}{% endembed %}
  109.     {% block content %}{% endblock %}
  110. {% endblock %}
  111. </body>
  112. </html>