]> Raphaƫl G. Git Repositories - blogbundle/blob - Resources/views/mail/_base.html.twig
Add doctrine dbal default charset and collate parameters
[blogbundle] / Resources / views / mail / _base.html.twig
1 {% extends '@RapsysBlog/_base.html.twig' %}
2 {% block head %}
3 <meta charset="UTF-8" />
4 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
5 {% if head.locale is defined and head.locale %}<meta http-equiv="Content-Language" content="{{ head.locale }}" />{% endif %}
6 <meta name="viewport" content="width=device-width, initial-scale=1" />
7 <title>{{ subject }}</title>
8 <style type="text/css">
9 body {background:white;color:#222}
10 a {text-decoration:none;color:#15c}
11 a:hover {text-decoration:underline}
12 a.link {word-break:break-all;font-size:1.5rem}
13 h1 {margin: .5rem;font-size: 2rem}
14 table {width: 100%;border-radius: .5rem}
15 thead {border-top:.5rem solid #09c;background:#cff}
16 thead th {text-align:center}
17 tbody {border-top:.5rem solid #09c;background:#cff}
18 tbody td {margin:.5rem 0;padding:0 .5rem}
19 tfoot {border-top:.5rem solid #09c;background:#cff}
20 tfoot td {text-align:center}
21 tfoot summary:after {display:none}
22 tfoot summary::-webkit-details-marker {display:none}
23 </style>
24 {% endblock %}
25 {% block header %}
26 <table>
27 <thead>
28 <tr>
29 {#<th><a href="{{ url(head.root) }}" title="{{ head.site }}"><img src="{{ source(head.logo.png)|data_uri }}" alt="{{ head.logo.alt }}" width="100" height="60" /></a></th>#}
30 <th><a href="{{ url(head.root) }}" title="{{ head.site }}"><img src="{{ email.image(head.logo.png) }}" alt="{{ head.logo.alt }}" width="100" height="60" /></a></th>
31 <th><h1><a href="{{ url(head.root) }}">{{ head.site }}</a></h1></th>
32 </tr>
33 </thead>
34 {% endblock %}
35 {% block message %}{% endblock %}
36 {% block footer %}
37 <tfoot>
38 <tr>
39 <td colspan="2">{{ copy.long }} - {{ copy.short }}</td>
40 </tr>
41 </tfoot>
42 </table>
43 {% endblock %}