]> Raphaƫl G. Git Repositories - blogbundle/blob - Resources/views/mail/_base.html.twig
Add recover template
[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 links %}{% endblock %}
26 {% block header %}
27 <table>
28 <thead>
29 <tr>
30 {#<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>#}
31 <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>
32 <th><h1><a href="{{ url(head.root) }}">{{ head.site }}</a></h1></th>
33 </tr>
34 </thead>
35 {% endblock %}
36 {% block message %}{% endblock %}
37 {% block footer %}
38 <tfoot>
39 <tr>
40 <td colspan="2">{{ copy.long }} - {{ copy.short }}</td>
41 </tr>
42 </tfoot>
43 </table>
44 {% endblock %}