templates/base.html.twig line 1

Open in your IDE?
  1. {% set _title = block('title') is defined ? block('title')|trim : null %}
  2.     {#  #}
  3.     {#  #}
  4.     {#  #}
  5.     {#  #}
  6.     {# {% if(app.session.get('_locale')=='en') %} #}
  7.     {# EN FLAG #}
  8.     {# {% else %} #}
  9.     {# CZ FLAG #}
  10.     {# {% endif %} #}
  11.     {# {{ path('set_system_language',{'language':'en'}) }} #}
  12.     {# {{ path('set_system_language',{'language':'cs'}) }} #}
  13.     {# {{ app.user.username }} #}
  14.     {# {{ _title }} #}
  15.     {# {% block body %}{% endblock %} #}
  16.     {#  #}
  17.     {# {{ app.user.fullname }} #}
  18.     {# {{ path('fos_user_profile_edit') }} #}
  19.     {# {{ path('fos_user_change_password') }} #}
  20.     {# {{ path('fos_user_security_logout') }} #}
  21. <!DOCTYPE html>
  22. <html lang="{{ app.session.get('_locale') }}">
  23. <!--begin::Head-->
  24. <head>
  25.     <base href="">
  26.     <meta charset="utf-8"/>
  27.     <title>{% block title %}Hotel system{% endblock %}</title>
  28.     <meta name="description" content="Updates and statistics"/>
  29.     <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"/>
  30.     <link rel="canonical" href="/"/>
  31.     <!--begin::Fonts-->
  32.     <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700"/>
  33.     <link rel="stylesheet" href="https://code.jquery.com/ui/1.12.1/themes/ui-darkness/jquery-ui.css"/>
  34.     <!--end::Fonts-->
  35.     <!--begin::Page Vendors Styles(used by this page)-->
  36.     <link href="/themes/metronic/assets/plugins/custom/fullcalendar/fullcalendar.bundle.css" rel="stylesheet"
  37.           type="text/css"/>
  38.     <!--end::Page Vendors Styles-->
  39.     <!--begin::Global Theme Styles(used by all pages)-->
  40.     <link href="/themes/metronic/assets/plugins/global/plugins.bundle.css" rel="stylesheet" type="text/css"/>
  41.     <link href="/themes/metronic/assets/plugins/custom/prismjs/prismjs.bundle.css" rel="stylesheet" type="text/css"/>
  42.     <link href="/themes/metronic/assets/plugins/custom/prismjs/prismjs.bundle.css" rel="stylesheet" type="text/css"/>
  43.     <link href="/themes/metronic/assets/css/style.bundle.css" rel="stylesheet" type="text/css"/>
  44.     <!--end::Global Theme Styles-->
  45.     <!--begin::Layout Themes(used by all pages)-->
  46.     <!--end::Layout Themes-->
  47.      {% block stylesheets %}
  48.          <link href="/themes/metronic/assets/css/custom.css" rel="stylesheet" type="text/css"/>
  49.      {% endblock %}
  50.     <link rel="shortcut icon" href="/themes/metronic/assets/media/logos/favicon.ico"/>
  51. </head>
  52. <!--end::Head-->
  53. <!--begin::Body-->
  54. <body id="kt_body" class="header-static subheader-enabled page-loading">
  55. {% block main_wrapper %}
  56. <div class="d-flex flex-column flex-root">
  57.     <!--begin::Page-->
  58.     <div class="d-flex flex-row flex-column-fluid page">
  59.         <!--begin::Wrapper-->
  60.         <div class="d-flex flex-column flex-row-fluid wrapper" id="kt_wrapper">
  61.             {% include 'public/parts/header-mobile.html.twig' %}
  62.             {% include 'public/parts/header.html.twig' %}
  63.             {% include 'public/parts/header-menu.html.twig' %}
  64.             <!--begin::Container-->
  65.             <div class="d-flex flex-row flex-column-fluid container">
  66.                 <!--begin::Content Wrapper-->
  67.                 <div class="main d-flex flex-column flex-row-fluid">
  68.                     {% include 'public/parts/subheader.html.twig' %}
  69.                     <!--[html-partial:include:{"file":"partials/_subheader/subheader-v1.html"}]/-->
  70.                     <div class="content flex-column-fluid" id="kt_content">
  71.                         {% block fos_user_bar %}{% endblock fos_user_bar %}
  72.                         {% block fos_user_content %}{% endblock fos_user_content %}
  73.                         {% block body %}{% endblock %}
  74.                     </div>
  75.                     <!--end::Content-->
  76.                 </div>
  77.                 <!--begin::Content Wrapper-->
  78.             </div>
  79.             <!--end::Container-->
  80.             {% include 'public/parts/footer.html.twig' %}
  81.         </div>
  82.         <!--end::Wrapper-->
  83.     </div>
  84.     <!--end::Page-->
  85. </div>
  86. {% endblock main_wrapper %}
  87. <!--begin::Main-->
  88. <!--end::Main-->
  89. <!--[html-partial:include:{"file":"layout.html"}]/-->
  90. <!--[html-partial:include:{"file":"partials/_extras/offcanvas/quick-cart.html"}]/-->
  91. <!--[html-partial:include:{"file":"partials/_extras/offcanvas/quick-panel.html"}]/-->
  92. <!--[html-partial:include:{"file":"partials/_extras/scrolltop.html"}]/-->
  93. <script>
  94.     var HOST_URL = "https://preview.keenthemes.com/metronic/theme/html/tools/preview";
  95. </script>
  96. <!--begin::Global Config(global config for global JS scripts)-->
  97. <script>
  98.     var KTAppSettings = {
  99.         "breakpoints": {
  100.             "sm": 576,
  101.             "md": 768,
  102.             "lg": 992,
  103.             "xl": 1200,
  104.             "xxl": 1200
  105.         },
  106.         "colors": {
  107.             "theme": {
  108.                 "base": {
  109.                     "white": "#ffffff",
  110.                     "primary": "#8950FC",
  111.                     "secondary": "#E5EAEE",
  112.                     "success": "#1BC5BD",
  113.                     "info": "#6993FF",
  114.                     "warning": "#FFA800",
  115.                     "danger": "#F64E60",
  116.                     "light": "#F3F6F9",
  117.                     "dark": "#212121"
  118.                 },
  119.                 "light": {
  120.                     "white": "#ffffff",
  121.                     "primary": "#EEE5FF",
  122.                     "secondary": "#ECF0F3",
  123.                     "success": "#C9F7F5",
  124.                     "info": "#E1E9FF",
  125.                     "warning": "#FFF4DE",
  126.                     "danger": "#FFE2E5",
  127.                     "light": "#F3F6F9",
  128.                     "dark": "#D6D6E0"
  129.                 },
  130.                 "inverse": {
  131.                     "white": "#ffffff",
  132.                     "primary": "#ffffff",
  133.                     "secondary": "#212121",
  134.                     "success": "#ffffff",
  135.                     "info": "#ffffff",
  136.                     "warning": "#ffffff",
  137.                     "danger": "#ffffff",
  138.                     "light": "#464E5F",
  139.                     "dark": "#ffffff"
  140.                 }
  141.             },
  142.             "gray": {
  143.                 "gray-100": "#F3F6F9",
  144.                 "gray-200": "#ECF0F3",
  145.                 "gray-300": "#E5EAEE",
  146.                 "gray-400": "#D6D6E0",
  147.                 "gray-500": "#B5B5C3",
  148.                 "gray-600": "#80808F",
  149.                 "gray-700": "#464E5F",
  150.                 "gray-800": "#1B283F",
  151.                 "gray-900": "#212121"
  152.             }
  153.         },
  154.         "font-family": "Poppins"
  155.     };
  156. </script>
  157. <!--end::Global Config-->
  158. <!--begin::Global Theme Bundle(used by all pages)-->
  159. <script src="/themes/metronic/assets/plugins/global/plugins.bundle.js"></script>
  160. <script src="/themes/metronic/assets/plugins/custom/prismjs/prismjs.bundle.js"></script>
  161. <script src="/themes/metronic/assets/js/scripts.bundle.js"></script>
  162. <!--end::Global Theme Bundle-->
  163. <!--begin::Page Vendors(used by this page)-->
  164. <script src="/themes/metronic/assets/plugins/custom/fullcalendar/fullcalendar.bundle.js"></script>
  165. <!--end::Page Vendors-->
  166. <!--begin::Page Scripts(used by this page)-->
  167. <script src="/themes/metronic/assets/js/pages/widgets.js"></script>
  168. {% block javascripts %}{% endblock %}
  169. <script type="text/javascript">
  170.     {% block javascriptInline %}{% endblock %}
  171. </script>
  172. <!--end::Page Scripts-->
  173. </body>
  174. <!--end::Body-->
  175. </html>