templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="sk">
  3. <head>
  4.     <title>{% block title %}Enviškody{% endblock %}</title>
  5.     <meta charset="utf-8">
  6.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  7.     {#
  8.     <meta name="description" content="{% block description %}INFORMAČNÝ SYSTÉM PREVENCIE A NÁPRAVY ENVIRONMENTÁLNYCH ŠKÔD{% endblock %}">
  9.     <meta name="keywords" content="enviroskody, enviskody, {% block keywords %}paneš,panes,INFORMAČNÝ SYSTÉM, PREVENCIE A NÁPRAVY, ENVIRONMENTÁLNYCH, ŠKÔD{% endblock %}">
  10.     #}
  11.     <meta name="author" content="SAŽP">
  12.     {# <link rel="icon" href="https://www.enviroportal.sk/favicon.ico" /> #}
  13.     <link rel="icon" href="/favicon.ico"/>
  14.     <!-- Custom fonts for this template -->
  15.     <link href="https://fonts.googleapis.com/css?family=Varela+Round" rel="stylesheet">
  16.     <link href="https://fonts.googleapis.com/css?family=Nunito:200,200i,300,300i,400,400i,600,600i,700,700i,800,800i,900,900i"
  17.           rel="stylesheet">
  18.     <!-- font awesome -->
  19.     <link href="/web/fontawesome-free-5.12.1-web/css/all.css" rel="stylesheet"> <!--load all styles -->
  20.     <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
  21.     {#
  22.     <!-- Bootstrap CSS -->
  23.     <link rel="stylesheet" href="/web/bootstrap/css/bootstrap.min.css">
  24.     <!-- Bootstrap JS -->
  25.     <script src="/web/bootstrap/js/bootstrap.min.js"></script>
  26.     #}
  27.     <!-- Custom Style -->
  28.     <link href="{{ app.request.getBaseURL() }}/web/scss/style.css?v=2{# {  "" | date('Ymd-His') } #}" rel="stylesheet">
  29.     <!-- jquery -->
  30.     <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
  31.     {#
  32.     <!-- Global site tag (gtag.js) - Google Analytics -->
  33.     <script async src="https://www.googletagmanager.com/gtag/js?id=UA-210226516-1"></script>
  34.     <script>
  35.         window.dataLayer = window.dataLayer || [];
  36.         function gtag(){dataLayer.push(arguments);}
  37.         gtag('js', new Date());
  38.         gtag('config', 'UA-210226516-1');
  39.     </script>
  40.     #}
  41.     {% block stylesheets %}{% endblock %}
  42.     <style>
  43.         body {
  44.             position: relative;
  45.             letter-spacing: unset;
  46.         }
  47.         .data-focus {
  48.             position: fixed;
  49.             top: -999px;
  50.             left: -999px;
  51.         }
  52.         .data-focus:active,
  53.         .data-focus:focus {
  54.             top: 0;
  55.             left: 0;
  56.             font-size: 20px;
  57.             text-transform: uppercase;
  58.             background-color: #fff;
  59.             padding: 5px;
  60.             z-index: 100000000000;
  61.         }
  62.         .default-section p {
  63.             text-align: left;
  64.         }
  65.     </style>
  66. </head>
  67. <body id="page-top" class="bg-secondary">
  68. <a href="#main" class="data-focus">Preskočiť na hlavný obsah</a>
  69. {# <div class="container container-main"> #}
  70. <div class="container bg-primary">
  71.     {% include 'default/header.html.twig' %}
  72.     {% include 'default/nav.html.twig' %}
  73.     <main id="main">
  74.         {% block body %}{% endblock %}
  75.     </main>
  76.     {% include 'default/footer.html.twig' %}
  77. </div>
  78. <script defer src="/web/fontawesome-free-5.12.1-web/js/all.js"></script> <!--load all styles -->
  79. <!-- autosize -->
  80. <script src="https://rawgit.com/jackmoore/autosize/master/dist/autosize.min.js"></script>
  81. <!-- Bootstrap JS -->
  82. <script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
  83. <script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js"></script>
  84. <!-- CKEditor -- >
  85. <script src="https://cdn.ckeditor.com/4.13.1/standard/ckeditor.js"></script -->
  86. <!-- Cookie Consent by TermsFeed (https://www.TermsFeed.com) -->
  87. <script type="text/javascript" src="https://www.termsfeed.com/public/cookie-consent/4.0.0/cookie-consent.js"
  88.         charset="UTF-8"></script>
  89. <script type="text/javascript" charset="UTF-8">
  90.     document.addEventListener('DOMContentLoaded', function () {
  91.         cookieconsent.run({
  92.             "notice_banner_type": "headline",
  93.             "consent_type": "express",
  94.             "palette": "light",
  95.             "language": "sk",
  96.             "page_load_consent_levels": ["strictly-necessary"],
  97.             "notice_banner_reject_button_hide": false,
  98.             "preferences_center_close_button_hide": false,
  99.             "page_refresh_confirmation_buttons": false,
  100.             "open_preferences_center_selector": "#open_preferences_center",
  101.             "website_name": "{{ app.request.host() }}",
  102.             "website_privacy_policy_url": "{{ app.request.getSchemeAndHttpHost() ~ path("cookies") }}"
  103.         });
  104.     });
  105. </script>
  106. <!-- Google Analytics -->
  107. <script type="text/plain" cookie-consent="tracking" async
  108.         src="https://www.googletagmanager.com/gtag/js?id=UA-210226516-1"></script>
  109. <script type="text/plain" cookie-consent="tracking">
  110.                     window.dataLayer = window.dataLayer || [];
  111.                     function gtag(){dataLayer.push(arguments);}
  112.                     gtag('js', new Date());
  113.                     gtag('config', 'UA-210226516-1');
  114. </script>
  115. <!-- end of Google Analytics-->
  116. <noscript>ePrivacy and GPDR Cookie Consent by <a href="https://www.TermsFeed.com/" rel="nofollow">TermsFeed
  117.         Generator</a></noscript>
  118. <!-- End Cookie Consent by TermsFeed (https://www.TermsFeed.com) -->
  119. {% block javascripts %}{% endblock %}
  120. <script>
  121.     //$("html, body").animate({scrollTop: $('#page_content').offset().top - 70}, 900);
  122.     $(function () {
  123.         $('[data-toggle="tooltip"]').tooltip();
  124.         $('[data-toggle="popover"]').popover();
  125.     });
  126. </script>
  127. <script>
  128.     // Add slideDown animation to Bootstrap dropdown when expanding.
  129.     $('.dropdown').on('show.bs.dropdown', function () {
  130.         $(this).find('.dropdown-menu').first().stop(true, true).slideDown();
  131.     });
  132.     // Add slideUp animation to Bootstrap dropdown when collapsing.
  133.     $('.dropdown').on('hide.bs.dropdown', function () {
  134.         $(this).find('.dropdown-menu').first().stop(true, true).slideUp();
  135.     });
  136. </script>
  137. </body>
  138. </html>