add: plaintext email; improved templating
This commit is contained in:
127
templates/email/mail_contact_form.tmpl
Normal file
127
templates/email/mail_contact_form.tmpl
Normal file
@@ -0,0 +1,127 @@
|
||||
Moin Du Vorstand 👋,
|
||||
|
||||
Eine neue Kontaktanfrage!
|
||||
{{.Name}} hat geschrieben
|
||||
|
||||
Hier ist die Nachricht:
|
||||
|
||||
{{.Message}}
|
||||
|
||||
Mit freundlichen Grüßen,
|
||||
Dein untertänigster Wolkenrechner
|
||||
<!doctype html>
|
||||
<html>
|
||||
<body>
|
||||
<div
|
||||
style="
|
||||
background-color: #f2f5f7;
|
||||
color: #242424;
|
||||
font-family: "Helvetica Neue", "Arial Nova",
|
||||
"Nimbus Sans", Arial, sans-serif;
|
||||
font-size: 16px;
|
||||
font-weight: 400;
|
||||
letter-spacing: 0.15008px;
|
||||
line-height: 1.5;
|
||||
margin: 0;
|
||||
padding: 32px 0;
|
||||
min-height: 100%;
|
||||
width: 100%;
|
||||
"
|
||||
>
|
||||
<table
|
||||
align="center"
|
||||
width="100%"
|
||||
style="
|
||||
margin: 0 auto;
|
||||
max-width: 600px;
|
||||
background-color: #ffffff;
|
||||
"
|
||||
role="presentation"
|
||||
cellspacing="0"
|
||||
cellpadding="0"
|
||||
border="0"
|
||||
>
|
||||
<tbody>
|
||||
<tr style="width: 100%">
|
||||
<td>
|
||||
<div style="padding: 0px 24px 0px 24px">
|
||||
<a
|
||||
href="{{.BASEURL}}"
|
||||
style="text-decoration: none"
|
||||
target="_blank"
|
||||
><img
|
||||
alt="{{.WebsiteTitle}}"
|
||||
src="{{.BASEURL}}{{.Logo}}"
|
||||
style="
|
||||
outline: none;
|
||||
border: none;
|
||||
text-decoration: none;
|
||||
vertical-align: middle;
|
||||
display: inline-block;
|
||||
max-width: 100%;
|
||||
"
|
||||
/></a>
|
||||
</div>
|
||||
<div
|
||||
style="
|
||||
font-weight: normal;
|
||||
padding: 0px 24px 16px 24px;
|
||||
"
|
||||
>
|
||||
Moin Du Vorstand 👋,
|
||||
</div>
|
||||
<div
|
||||
style="
|
||||
font-weight: normal;
|
||||
padding: 0px 24px 16px 24px;
|
||||
"
|
||||
>
|
||||
<p>
|
||||
Eine neue Kontaktanfrage<br />{{.Name}} hat
|
||||
geschrieben
|
||||
</p>
|
||||
</div>
|
||||
<div
|
||||
style="
|
||||
font-size: 22px;
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
padding: 0px 24px 0px 24px;
|
||||
"
|
||||
>
|
||||
Hier ist die Nachricht:
|
||||
</div>
|
||||
<div
|
||||
style="
|
||||
font-weight: normal;
|
||||
padding: 16px 24px 0px 24px;
|
||||
"
|
||||
>
|
||||
<p>{{.Message}}</p>
|
||||
</div>
|
||||
<div style="padding: 16px 0px 16px 0px">
|
||||
<hr
|
||||
style="
|
||||
width: 100%;
|
||||
border: none;
|
||||
border-top: 1px solid #cccccc;
|
||||
margin: 0;
|
||||
"
|
||||
/>
|
||||
</div>
|
||||
<div
|
||||
style="
|
||||
font-weight: normal;
|
||||
padding: 16px 24px 16px 24px;
|
||||
"
|
||||
>
|
||||
<p>Mit freundlichen Grüßen,</p>
|
||||
<p>Dein untertänigster Wolkenrechner</p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user