]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/mail/body.html.twig
New event layout
[airbundle] / Resources / views / mail / body.html.twig
1 {% extends '@RapsysAir/base.html.twig' %}
2 {% block stylesheets %}
3 <meta name="viewport" content="width=device-width" />
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5 {% if locale is defined and locale %}<meta http-equiv="Content-Language" content="{{ locale }}" />{% endif %}
6 <style type="text/css">
7 body {background:white;color:#066}
8 a {text-decoration:none;color:#066}
9 a:hover {text-decoration:underline}
10 a.link {word-break:break-all;font-size:1.5rem}
11 h1 {margin: .5rem;font-size: 2rem}
12 table {width: 100%;border-radius: .5rem}
13 table.header {border:.1rem solid #00c3f9;text-align:center}
14 table.content {background:white;border:.1rem solid #00c3f9;margin:.5rem 0}
15 table.footer {border:.1rem solid #00c3f9;text-align:center;font-weight:bold}
16 table.footer summary:after {display:none}
17 table.footer summary::-webkit-details-marker {display:none}
18 </style>
19 {% endblock %}
20 {% block body %}
21 <table class="header">
22 <tr>
23 <td><a href="{{ site.url|escape('html_attr') }}"><img src="{{ email.image(site.logo.png) }}" alt="{{ site.title|escape('html_attr') }}" /></a></td>
24 <td><h1><a href="{{ site.url|escape('html_attr') }}">{{ site.title }}</a></h1></td>
25 </tr>
26 </table>
27 {% block content %}{% endblock %}
28 <table class="footer">
29 <tr>
30 <td>{{ copy.long }} - {{ copy.short }}</td>
31 </tr>
32 </table>
33 {% endblock %}