You are here

swiftmailer--contact.html.twig in Contact Storage 8

The template file for contact_storage e-mails.

The table / HTML structure is taken from swiftmailer's default template file for e-mails, only the CSS has been added.

File

templates/swiftmailer--contact.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * The template file for contact_storage e-mails.
  5. *
  6. * The table / HTML structure is taken from swiftmailer's default template file
  7. * for e-mails, only the CSS has been added.
  8. */
  9. #}
  10. <style type="text/css">
  11. table tr td {
  12. font-family: Arial;
  13. font-size: 12px;
  14. }
  15. .form-item, .field--label-inline, .field--label-above {
  16. margin-top: 10px;
  17. }
  18. .label, label {
  19. font-weight: bold;
  20. }
  21. label {
  22. display: block;
  23. }
  24. .field--label-inline .label {
  25. float:left; /*LTR*/
  26. margin-right: 0.5em; /*LTR*/
  27. }
  28. .field--label-inline .label::after {
  29. content: ':';
  30. }
  31. .clearfix {
  32. clear: both;
  33. }
  34. </style>
  35. <div>
  36. <table width="800px" cellpadding="0" cellspacing="0">
  37. <tr>
  38. <td>
  39. <div style="padding: 0px 0px 0px 0px;">
  40. {{ body }}
  41. </div>
  42. </td>
  43. </tr>
  44. </table>
  45. </div>