base.html.twig 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. {% apply inky_to_html|inline_css(source('@styles/foundation-emails.css'))|inline_css %}
  2. <style>
  3. {% block style %}
  4. .container *{
  5. font-family: Arial;
  6. }
  7. .white{
  8. color: #FFFFFF !important;
  9. }
  10. .black{
  11. color: #000000 !important;
  12. }
  13. .container{
  14. border: 2px solid #324250;
  15. border-radius: 5px;
  16. margin-top: 20px;
  17. }
  18. .header{
  19. background: #324250;
  20. }
  21. .footer{
  22. background: #1ead8f;
  23. padding: 10px;
  24. color: #FFFFFF;
  25. font-weight: bold;
  26. }
  27. {% endblock %}
  28. </style>
  29. <container>
  30. {% block header %}
  31. <row>
  32. <columns small="12" class="header">
  33. <spacer size="10"></spacer>
  34. <p class="white">{{ organization.name }}</p>
  35. </columns>
  36. </row>
  37. {% endblock %}
  38. {% block content %}
  39. {{ content }}
  40. {% endblock %}
  41. {% block antispam %}
  42. <row>
  43. <columns small="12">
  44. <p>
  45. <small class="black">
  46. Cet e-mail a été envoyé automatiquement à
  47. #__#ANTISPAM_PERSON_EMAIL#__#
  48. par le logiciel Opentalent utilisé par votre structure.
  49. Merci de ne pas y répondre.
  50. </small>
  51. </p>
  52. </columns>
  53. </row>
  54. {% endblock %}
  55. {% block footer %}
  56. <row>
  57. <columns small="12" class="footer">
  58. <center>
  59. <menu>
  60. <small>
  61. <item href="https://support.opentalent.fr" class="white">Aide du logiciel</item>
  62. -
  63. <item href="https://www.opentalent.fr/login" class="white">Se connecter au logiciel</item>
  64. </small>
  65. </menu>
  66. </center>
  67. </columns>
  68. </row>
  69. {% endblock %}
  70. {% block footer_signature %}
  71. <row>
  72. <columns small="12">
  73. <spacer size="10"></spacer>
  74. <p class="text-center">
  75. <small class="black">
  76. &copy; Opentalent - {{ "now"|date("Y") }} - La plateforme culturelle : agenda culturel et logiciels pour les structures culturelles -
  77. <a href="https://www.opentalent.fr/agenda">www.opentalent.fr/agenda</a>
  78. </small>
  79. </p>
  80. </columns>
  81. </row>
  82. {% endblock %}
  83. </container>
  84. {% endapply %}