templates/layouts/sim/default.html.twig line 1

Open in your IDE?
  1. <!DOCTYPE html>
  2. <html lang="{{ app.request.locale }}">
  3. <head>
  4. {% set pageAttributes = pageAttributes is defined ? pageAttributes : { group: 'sim', section: 'sim' } %}
  5. {% include 'includes/common/head.html.twig' %}
  6. {% include 'includes/sim/stylesheets.html.twig' %}
  7. {% include 'includes/sim/head-scripts.html.twig' %}
  8. {% if ios_app_id is defined and ios_app_id is not empty %}
  9. <meta name="apple-itunes-app" content="app-id={{ ios_app_id }}">
  10. {% endif %}
  11. {% if android_app_id is defined and android_app_id is not empty %}
  12. <meta name="google-play-app" content="app-id={{ android_app_id }}">
  13. {% endif %}
  14. {% block head_scripts_requirements %}{% endblock %}
  15. </head>
  16. <body class="is-Layout_SIM_Default{{ (display_mode is defined and display_mode == constant('App\\EventSubscriber\\TwigGlobalSubscriber::DISPLAY_MODE_WEBVIEW')) ? ' is-Layout_WebView' : '' }}">
  17. {% include 'includes/common/accessibility-quick-links.twig' %}
  18. {% include 'includes/common/body-begin-scripts.html.twig' %}
  19. <div id="body" role="presentation">
  20. {% if (isPdfPrint is not defined or isPdfPrint == false) and (isWithoutHeader is not defined or isWithoutHeader == false) %}
  21. {% include 'includes/common/default-header.html.twig' %}
  22. {% endif %}
  23. {% block content %}{% endblock %}
  24. {% include 'pages/sim/include/booking/modal-booking-securebikepark.html.twig' %}
  25. {% include 'includes/common/default-footer.html.twig' %}
  26. </div>
  27. {% if isPdfPrint is not defined or isPdfPrint == false %}
  28. {% include 'includes/common/default-nav.html.twig' %}
  29. {% endif %}
  30. {# Include plugins, utils, etc. files #}
  31. {% if isPdfPrint is defined and isPdfPrint == true %}
  32. {% include 'includes/sim/body-end-print-scripts.html.twig' %}
  33. {% else %}
  34. {% include 'includes/sim/body-end-scripts.html.twig' %}
  35. {% endif %}
  36. {% block body_end_scripts_requirements %}{% endblock %}
  37. </body>
  38. </html>