templates/base.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4.     <meta charset="UTF-8">
  5.     <meta name="viewport" content="width=device-width, user-scalable=no">
  6.     <meta name="robots" content="noindex" />
  7.     <title>Platform Digityser - {% block title %}{% endblock %}</title>
  8.     <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700">
  9.     <link rel="shortcut icon" href="/assets/media/logos/favicon.ico" />
  10.     {{ encore_entry_link_tags('plugins') }}
  11.     {{ encore_entry_link_tags('prismjs') }}
  12.     {{ encore_entry_link_tags('style') }}
  13.     {% block stylesheets %}{% endblock %}
  14.     <script src="https://js.stripe.com/v3/"></script>
  15. </head>
  16. <body id="kt_body" class="header-fixed header-mobile-fixed subheader-enabled subheader-fixed {% if is_granted('ROLE_ADMIN') %}aside-enabled aside-fixed aside-minimize{% endif %} page-loading">
  17. {% block header %}
  18.     {% include 'partials/header.html.twig' %}
  19. {% endblock %}
  20. {% block subheader %}{% endblock %}
  21. {% for label, messages in app.flashes %}
  22.     <div class="container mb-3">
  23.         <div class="alert alert-{{ label }}">
  24.             {% for message in messages %}
  25.                 <p class="my-0">{{message | raw}}</p>
  26.             {% endfor %}
  27.         </div>
  28.     </div>
  29. {% endfor %}
  30. {% block body %}{% endblock %}
  31. {% block footer %}
  32.     {% include 'partials/footer.html.twig' %}
  33. {% endblock %}
  34. <script
  35.         src="https://code.jquery.com/jquery-3.5.1.min.js"
  36.         integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
  37.         crossorigin="anonymous"></script>
  38. <script>var KTAppSettings = { "breakpoints": { "sm": 576, "md": 768, "lg": 992, "xl": 1200, "xxl": 1200 }, "colors": { "theme": { "base": { "white": "#ffffff", "primary": "#8d1795", "secondary": "#E5EAEE", "success": "#1BC5BD", "info": "#8950FC", "warning": "#FFA800", "danger": "#F64E60", "light": "#F3F6F9", "dark": "#212121" }, "light": { "white": "#ffffff", "primary": "#E1E9FF", "secondary": "#ECF0F3", "success": "#C9F7F5", "info": "#EEE5FF", "warning": "#FFF4DE", "danger": "#FFE2E5", "light": "#F3F6F9", "dark": "#D6D6E0" }, "inverse": { "white": "#ffffff", "primary": "#ffffff", "secondary": "#212121", "success": "#ffffff", "info": "#ffffff", "warning": "#ffffff", "danger": "#ffffff", "light": "#464E5F", "dark": "#ffffff" } }, "gray": { "gray-100": "#F3F6F9", "gray-200": "#ECF0F3", "gray-300": "#E5EAEE", "gray-400": "#D6D6E0", "gray-500": "#B5B5C3", "gray-600": "#80808F", "gray-700": "#464E5F", "gray-800": "#1B283F", "gray-900": "#212121" } }, "font-family": "Poppins" };</script>
  39. {{ encore_entry_script_tags('plugins') }}
  40. {{ encore_entry_script_tags('prismjs') }}
  41. {{ encore_entry_script_tags('scripts') }}
  42. {% block javascripts %}{% endblock %}
  43. {% block stripe %}{% endblock %}
  44. <script>
  45.     if( /Android|webOS|iPhone|iPad|iPod|BlackBerry/i.test(navigator.userAgent) ) {
  46.         $('.selectpicker').selectpicker('mobile');
  47.     }
  48. </script>
  49. </body>
  50. </html>