]> Raphaël G. Git Repositories - airbundle/blob - Resources/views/mail/contact.html.twig
Cleanup
[airbundle] / Resources / views / mail / contact.html.twig
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <meta name="viewport" content="width=device-width" />
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
6 <title>{{ subject }}</title>
7 <style>
8 body {background:white;color:#066}
9 a {text-decoration:none;color:#066}
10 a:hover {text-decoration:underline}
11 table {width: 100%;border-radius: .5rem}
12 table.head {border:.1rem solid #00c3f9;text-align:center}
13 table.body {background:white;border:.1rem solid #00c3f9;margin:.5rem 0}
14 table.footer {border:.1rem solid #00c3f9;text-align:center;font-weight:bold}
15 table.footer summary:after {display:none}
16 table.footer summary::-webkit-details-marker {display:none}
17 </style>
18 </head>
19 <body>
20 <table class="head">
21 <tr>
22 <td><a href="{{ url }}"><img src="data:image/png;base64, {{ logo|file_get_contents|base64_encode }}" alt="{{ title|trans }}" /></a></td>
23 <td><h1><a href="{{ url }}">{{ title|trans }}</a></h1></td>
24 </tr>
25 </table>
26 <table class="body">
27 <tr>
28 <td>&nbsp;</td>
29 <td>
30 <h2>{% trans %}Hi,{% endtrans %} {{ contact_name }}</h2>
31 <h3>{% trans %}Subject:{% endtrans %} {{ subject }}</h3>
32 <p>{{ message|nl2br }}</p>
33 </td>
34 <td>&nbsp;</td>
35 </tr>
36 </table>
37 <table class="footer">
38 <tr>
39 <td>{% trans %}Raphaël Gertz all rights reserved{% endtrans %} - {% trans %}Copyright 2018{% endtrans %}.</td>
40 </tr>
41 </table>
42 </body>
43 </html>