]> Raphaƫl G. Git Repositories - airbundle/blob - Resources/views/mail/body.html.twig
Improve method documentation
[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 <style type="text/css">
6 body {background:white;color:#066}
7 a {text-decoration:none;color:#066}
8 a:hover {text-decoration:underline}
9 table {width: 100%;border-radius: .5rem}
10 table.header {border:.1rem solid #00c3f9;text-align:center}
11 table.content {background:white;border:.1rem solid #00c3f9;margin:.5rem 0}
12 table.footer {border:.1rem solid #00c3f9;text-align:center;font-weight:bold}
13 table.footer summary:after {display:none}
14 table.footer summary::-webkit-details-marker {display:none}
15 </style>
16 {% endblock %}
17 {% block body %}
18 <table class="header">
19 <tr>
20 <td><a href="{{ site_url|escape('html_attr') }}"><img src="{{ email.image(site_logo) }}" alt="{{ site_title|escape('html_attr') }}" /></a></td>
21 <td><h1><a href="{{ site_url|escape('html_attr') }}">{{ site_title }}</a></h1></td>
22 </tr>
23 </table>
24 {% block content %}{% endblock %}
25 <table class="footer">
26 <tr>
27 <td>{{ copy_long }} - {{ copy_short }}</td>
28 </tr>
29 </table>
30 {% endblock %}