templates/base.html.twig line 1

Open in your IDE?
  1. <!doctype html>
  2. <html lang="{{ app.request.locale }}">
  3. <head>
  4. <meta charset="{{ _charset }}">
  5. <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
  6. <title>
  7. {%- if is_env('staging') %}[TEST] {% endif -%}
  8. {%- block title %}{{ 'site.title.label'|trans }}{% endblock -%}
  9. </title>
  10. {% block favicon %}
  11. {% include '@NellappSDK/Partials/favicon.html.twig' with {
  12. default_favicon: asset('build/common/favicon.png', 'common'),
  13. } %}
  14. {% endblock %}
  15. {% block stylesheets %}
  16. {{ encore_entry_link_tags('styles', 'common', 'common') }}
  17. {% endblock %}
  18. </head>
  19. {% block body_markup %}
  20. <body {% block attribute_body %}{% endblock %}>
  21. {% endblock body_markup %}
  22. {{ update_last_connected(app.user) }}
  23. {% block body %}
  24. <div class="inner-body">
  25. {% block header %}
  26. {% set enable_search = true %}
  27. {# {% include 'Partial/Base/header.html.twig' %}#}
  28. {% include '@NellappSDK/Partials/component/header/header.html.twig' %}
  29. {% endblock %}
  30. <main {% if app.user is signings_alert(app.request) %}data-signing-container-alert="{{ get_signing_alert_config() }}" {% endif %}class=" {% block main_class %}{% endblock main_class %}" id="main">
  31. {% block back_to_dashboard %}{% endblock back_to_dashboard %}
  32. <div {% block attribute_content_wrapper %}{% endblock %}>
  33. {% block content %}
  34. <div class="{% block inner_content_container %}container{% endblock inner_content_container %}">
  35. {% block inner_content %}{% endblock inner_content %}
  36. </div>
  37. {% endblock content %}
  38. </div>
  39. {% block footer %}
  40. {{ print_footer() }}
  41. {% endblock %}
  42. {% include 'Partial/Modules/gdpr_module.html.twig' %}
  43. </main>
  44. </div>
  45. {% endblock %}
  46. {% block javascripts %}
  47. {% include 'Partial/fine_uploader.html.twig' %}
  48. {{ enable_highlight_agent() }}
  49. <script>
  50. var contentStyle = '{{ asset('build/content/styles.css', 'common') }}';
  51. </script>
  52. <script src="{{ asset('tinymce/tinymce.min.js') }}"></script>
  53. {{ encore_entry_script_tags('scripts', 'vendor', 'vendor') }}
  54. {{ encore_entry_script_tags('scripts', 'common', 'common') }}
  55. {{ encore_entry_script_tags('scripts', 'core', 'core') }}
  56. {% if app.session.flashbag.peekAll is not empty %}
  57. <script>
  58. {# Dirty: need to wait for appSnack to become available #}
  59. setTimeout(() => {
  60. appSnack({{ flash_snack() }});
  61. }, 200)
  62. </script>
  63. {% endif %}
  64. {% endblock %}
  65. </body>
  66. </html>