templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3.     <head>
  4.         <meta charset="UTF-8">
  5.         <title>{% block title %}{% endblock %}</title>
  6.         <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
  7.         {# Run `composer require symfony/webpack-encore-bundle` to start using Symfony UX #}
  8.         {% block stylesheets %}
  9.             {{ encore_entry_link_tags('app') }}
  10.         {% endblock %}
  11.         {% block javascripts %}
  12.             {{ encore_entry_script_tags('app') }}
  13.         {% endblock %}
  14.         <link href="/js/vendor/fontawesome-free/css/all.min.css" rel="stylesheet" type="text/css">
  15.         <link
  16.             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.         <link href="/css/attributes.css" rel="stylesheet">
  19.         <link href="/css/styles.css" rel="stylesheet">
  20.         <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.2/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-T3c6CoIi6uLrA9TneNEoa7RxnatzjcDSCmG1MXxSR1GAsXEV/Dwwykc2MPK8M2HN" crossorigin="anonymous">
  21.         <link href="/js/vendor/toastify/toastify.min.css" rel="stylesheet">
  22.         <!-- Custom styles for this template-->
  23.         <link href="/css/sb-admin-2.css" rel="stylesheet">
  24.         {# <link href="/css/sb-admin-2.min.css" rel="stylesheet"> #}
  25.         <link href="/js/vendor/datatables/dataTables.bootstrap4.min.css" rel="stylesheet">
  26.         <script src="/js/vendor/jquery/jquery.min.js"></script>
  27.         <script src="/js/vendor/toastify/toastify-js.js"></script>
  28.         <script src="/js/library/Utils.js"></script>
  29.         <script>
  30.             {% include '/js/library/StringUtils.js' %}
  31.         </script>
  32.         <script src="/js/library/event_dispatcher/event_dispatcher.js"></script>
  33.         <script>
  34.             {% include '/js/library/gallery_carousel/gallery_carousel.js.twig' %}
  35.         </script>
  36.         <script>
  37.             {% include '/js/library/month_range_slider/month_range_slider.js.twig' %}
  38.         </script>
  39.         <script src="/js/library/url_builder/url_builder.js"></script>
  40.         <script src="/js/library/dropdown/dropdown.js"></script>
  41.         <script src="/js/library/dropdown/file_dropdown.js"></script>
  42.         <script src="/js/library/Dom.js"></script>
  43.         <script src="/js/vendor/jquery-easing/jquery.easing.min.js"></script>
  44.         {# <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script> #}
  45.         {# <script src="/js/vendor/bootstrap/js/5.3.0/bootstrap.bundle.min.js"></script> #}
  46.         <script src="/js/vendor/bootstrap/js/4.6.0/bootstrap.bundle.min.js"></script>
  47.         <script src="/js/vendor/datatables/jquery.dataTables.min.js"></script>
  48.         <script src="/js/vendor/datatables/dataTables.bootstrap4.min.js"></script>
  49.         <script src="/js/library/data_table/data_table_extensions.js"></script>
  50.         <script>
  51.             {% include '/js/library/data_table/custom_data_table.js' %}
  52.         </script>
  53.         <style>
  54.             .svg-ship {
  55.                 max-width: 70px;
  56.                 fill: white;
  57.                 /* transform: scaleX(-1); */
  58.                 height: 50px;
  59.             }
  60.         </style>
  61.     </head>
  62.     {% set bodyClass = block('bodyClass') is defined ? block('bodyClass') : null %}
  63.     {% set bodyAttrs = block('bodyAttrs') is defined ? block('bodyAttrs') : null %}
  64.     <body{{ bodyClass ? (' class="' ~ bodyClass ~ '"')|raw }}{{ bodyAttrs ? (' ' ~ bodyAttrs)|raw }}>
  65.         <!-- Logout Modal-->
  66.         <div class="modal fade" id="logoutModal" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel"
  67.             aria-hidden="true">
  68.             <div class="modal-dialog" role="document">
  69.                 <div class="modal-content">
  70.                     <div class="modal-header">
  71.                         <h5 class="modal-title" id="exampleModalLabel">Выйти сейчас?</h5>
  72.                         <button class="close" type="button" data-dismiss="modal" aria-label="Close">
  73.                             <span aria-hidden="true">×</span>
  74.                         </button>
  75.                     </div>
  76.                     <div class="modal-body">Вы выйдете автоматически через 3 часа.</div>
  77.                     <div class="modal-footer">
  78.                         <button class="btn btn-secondary" type="button" data-dismiss="modal">Отмена</button>
  79.                         <a class="btn btn-primary" href="{{ path('logout') }}">Выйти</a>
  80.                     </div>
  81.                 </div>
  82.             </div>
  83.         </div>
  84.         <!-- Window Modal-->
  85.         <div class="modal fade" id="windowModal" tabindex="-1" role="dialog" aria-labelledby="windowModalLabel"
  86.             aria-hidden="true">
  87.             <div class="modal-dialog" role="document"
  88.                  style="max-width: 700px !important;"
  89.             >
  90.                 <div class="modal-content">
  91.                     <div class="modal-header">
  92.                         <h5 class="modal-title" id="windowModalLabel">Question?</h5>
  93.                         <button class="close" type="button" data-dismiss="modal" aria-label="Close">
  94.                             <span aria-hidden="true">×</span>
  95.                         </button>
  96.                     </div>
  97.                     <div class="modal-body">Modal body</div>
  98.                     <div class="modal-footer">
  99.                         <button class="btn btn-primary">Yes</button>
  100.                         <button class="btn btn-secondary" type="button" data-dismiss="modal">No</button>
  101.                     </div>
  102.                 </div>
  103.             </div>
  104.         </div>
  105.         {% block body %}{% endblock %}
  106.         <script>
  107.             const API_COMPARE_DATA_URL = "{{ path('api_compare_data') }}";
  108.         </script>
  109.         {% block addJs %}{% endblock %}
  110.         <!-- Core plugin JavaScript-->
  111.         <!-- Custom scripts for all pages-->
  112.         <script src="/js/vendor/sb-admin-2.min.js"></script>
  113.         <script>
  114.             {% include '/js/app.js.twig' %}
  115.         </script>
  116.     </body>
  117. </html>