templates/base.html.twig line 1

  1. <!DOCTYPE html>
  2. <html lang="en">
  3. <head>
  4.     <title>{% block title %}{{ "backend.global.welcome"|trans }}{% endblock %}</title>
  5.     <link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 128 128%22><text y=%221.2em%22 font-size=%2296%22>⚫️</text></svg>">
  6.     {% block metas %}
  7.         <meta charset="UTF-8">
  8.     {% endblock %}
  9.     {% block stylesheets %}
  10.             {{ encore_entry_link_tags('app') }}
  11.     {% endblock %}
  12. </head>
  13. <body {% block bodyclass %}class="" {% endblock %}>
  14. <style>
  15. #settingForm .form-check-input{
  16.     margin-left:unset;
  17. }
  18.   
  19. .form-switch .form-check-input{
  20.   width: 4em !important;
  21.   height: 2rem !important;
  22. }
  23. {# #e96370 #}
  24. .unseen{
  25.     color:white;
  26.     background-color:#e96370;
  27. }
  28. </style>
  29. {% block impersionate %}
  30.     {% if is_granted('IS_IMPERSONATOR') %}
  31.         <div class="alert alert-warning" style="margin-bottom: 0;">
  32.             {{ "backend.global.you_are_logged"|trans }} : {{ app.user.username }}
  33.             <a href="{{ path('app_admin_index',{'_switch_user':'_exit'}) }}">{{ "backend.global.leave_impersonate"|trans }}</a>
  34.         </div>
  35.     {% endif %}
  36. {% endblock %}
  37. {% block body %}{% endblock %}
  38. {% block javascripts %}{% endblock %}
  39. {{ encore_entry_script_tags('app') }}
  40. {{ tinymce_scripts() }}
  41.             
  42. </body>
  43. </html>