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. {# Declare default empty blocks so block() never throws when child doesn't override.
  21. Hidden in HTML comments so any child override doesn't render visibly. #}
  22. <!--{% block footer_positioning_mobile %}{% endblock %}-->
  23. <!--{% block footer_positioning_desktop %}{% endblock %}-->
  24. {% if enable_web_harmony is defined and enable_web_harmony == true %}
  25. {% include 'includes/common/web-harmony.html.twig' with {
  26. footer_positioning_mobile: block('footer_positioning_mobile'),
  27. footer_positioning_desktop: block('footer_positioning_desktop'),
  28. } %}
  29. {% elseif (isPdfPrint is not defined or isPdfPrint == false) and (isWithoutHeader is not defined or isWithoutHeader == false) %}
  30. {% include 'includes/common/default-header.html.twig' %}
  31. {% endif %}
  32. {% block content %}{% endblock %}
  33. {% include 'pages/sim/include/booking/modal-booking-securebikepark.html.twig' %}
  34. {% if enable_web_harmony is defined and enable_web_harmony == false %}
  35. {% include 'includes/common/default-footer.html.twig' %}
  36. {% endif %}
  37. </div>
  38. {% if isPdfPrint is not defined or isPdfPrint == false and enable_web_harmony == false %}
  39. {% include 'includes/common/default-nav.html.twig' %}
  40. {% endif %}
  41. {# Include plugins, utils, etc. files #}
  42. {% if isPdfPrint is defined and isPdfPrint == true %}
  43. {% include 'includes/sim/body-end-print-scripts.html.twig' %}
  44. {% else %}
  45. {% include 'includes/sim/body-end-scripts.html.twig' %}
  46. {% endif %}
  47. {% block body_end_scripts_requirements %}{% endblock %}
  48. </body>
  49. </html>