templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="ru">
  3. <head>
  4.     {% if network is defined and network == 'tat' %}
  5.         {% include '/tat/meta.twig' %}
  6.     {% else %}
  7.         {% include '/meta.twig' %}
  8.     {% endif %}
  9.     {% block stylesheets %}
  10.         <link rel="stylesheet" href="{{ asset('assets/css/main.css') }}?v=19-12-2023" type="text/css">
  11.         <link rel="stylesheet" href="{{ asset('/assets/css/flag-icon.css') }}" type="text/css">
  12.         <link rel="stylesheet" href="{{ asset('assets/css/select2.min.css') }}">
  13.         <script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
  14.         <script src="{{ asset('assets/js/select2.min.js') }}"></script>
  15.         <script src="/bundles/easyadmin/app.js"></script>
  16.         <script src="{{ asset('assets/js/ru.js') }}"></script>
  17.         <link rel="stylesheet" href="/bundles/easyadmin/app.css">
  18.         <link rel="preconnect" href="https://fonts.gstatic.com">
  19.         <link href="https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap" rel="stylesheet">
  20.         <link type="text/css" href="https://control.otpusk.com/img/css/control.css?v=1.1" rel="stylesheet"
  21.               media="screen">
  22.         <link type="text/css" href="{{ asset('assets/bootstrap/css/bootstrap.min.css') }}" rel="stylesheet"
  23.               media="screen">
  24.         <link type="text/css" href="{{ asset('assets/bootstrap/css/bootstrap-responsive.min.css') }}"
  25.               rel="stylesheet" media="screen">
  26.         <link type="text/css" href="{{ asset('assets/bootstrap/css/glyphicon.min.css') }}" rel="stylesheet"
  27.               media="screen">
  28.     {% endblock %}
  29. </head>
  30. <body class="{{ host is defined ? host }}">
  31. {% if network is defined and network == 'tat' %}
  32.     {% include '/tat/parts/header.html.twig' %}
  33. {% else %}
  34.     {% include '/parts/contol-header.html.twig' %}
  35. {% endif %}
  36. {% block body %}
  37. {% endblock %}
  38. {% if network is defined and network == 'tat' %}
  39.     {% include '/tat/parts/footer.html.twig' %}
  40. {% else %}
  41.     {% include '/parts/footer.html.twig' %}
  42. {% endif %}
  43. {% block javascripts %}
  44.     <script type="text/javascript" async="" src="https://ssl.google-analytics.com/ga.js"></script>
  45.     <script type="text/javascript" src="{{ asset('assets/js/common.js') }}?v=1.5"></script>
  46.     <script type="text/javascript">
  47.         var _gaq = _gaq || [];
  48.         _gaq.push(['_setAccount', 'UA-322531-14']);
  49.         _gaq.push(['_trackPageview']);
  50.         (function () {
  51.             var ga = document.createElement('script');
  52.             ga.type = 'text/javascript';
  53.             ga.async = true;
  54.             ga.src = ('https:' === document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
  55.             var s = document.getElementsByTagName('script')[0];
  56.             s.parentNode.insertBefore(ga, s);
  57.         })();
  58.     </script>
  59. {% endblock %}
  60. </body>
  61. </html>