refactoring db; added email-verification
This commit is contained in:
197
templates/email/mail_verification.html
Normal file
197
templates/email/mail_verification.html
Normal file
@@ -0,0 +1,197 @@
|
||||
<!doctype html>
|
||||
<html>
|
||||
<body>
|
||||
<div
|
||||
style="
|
||||
background-color: #f2f5f7;
|
||||
color: #242424;
|
||||
font-family: Optima, Candara, "Noto Sans", source-sans-pro,
|
||||
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: 24px 24px 24px 24px; text-align: center">
|
||||
<a
|
||||
href="https://carsharing-hasloh.de"
|
||||
style="text-decoration: none"
|
||||
target="_blank"
|
||||
><img
|
||||
alt="Dörpsmobil Hasloh"
|
||||
src="https://carsharing-hasloh.de/images/CarsharingSH-Hasloh-LOGO.jpeg"
|
||||
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 {{.FirstName}} {{.LastName}} 👋,
|
||||
</div>
|
||||
<div style="font-weight: normal; padding: 0px 24px 16px 24px">
|
||||
herzlich willkommen beim Dörpsmobil Hasloh e.V.! Vielen Dank für
|
||||
Ihre Registrierung und Ihre Unterstützung unseres Projekts.
|
||||
</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">
|
||||
Um die Registrierung abschließen zu können bestätigen Sie bitte
|
||||
noch Ihre Emailadresse indem Sie hier klicken:
|
||||
</div>
|
||||
<div style="text-align: center; padding: 16px 24px 16px 24px">
|
||||
<a
|
||||
href="https://carsharing-hasloh/backend/api/verify?token={{.Token}}"
|
||||
style="
|
||||
color: #ffffff;
|
||||
font-size: 26px;
|
||||
font-weight: bold;
|
||||
background-color: #3e9bfc;
|
||||
border-radius: 4px;
|
||||
display: block;
|
||||
padding: 16px 32px;
|
||||
text-decoration: none;
|
||||
"
|
||||
target="_blank"
|
||||
><span
|
||||
><!--[if mso
|
||||
]><i
|
||||
style="
|
||||
letter-spacing: 32px;
|
||||
mso-font-width: -100%;
|
||||
mso-text-raise: 48;
|
||||
"
|
||||
hidden
|
||||
> </i
|
||||
><!
|
||||
[endif]--></span
|
||||
><span>E-Mail Adresse bestätigen</span
|
||||
><span
|
||||
><!--[if mso
|
||||
]><i
|
||||
style="letter-spacing: 32px; mso-font-width: -100%"
|
||||
hidden
|
||||
> </i
|
||||
><!
|
||||
[endif]--></span
|
||||
></a
|
||||
>
|
||||
</div>
|
||||
<div
|
||||
style="
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
padding: 24px 24px 0px 24px;
|
||||
"
|
||||
>
|
||||
Alternativ können Sie auch diesen Link in Ihrem Browser öffnen:
|
||||
</div>
|
||||
<div
|
||||
style="
|
||||
font-weight: bold;
|
||||
text-align: center;
|
||||
padding: 4px 24px 16px 24px;
|
||||
"
|
||||
>
|
||||
https://carsharing-hasloh/backend/api/verify?token={{.Token}}
|
||||
</div>
|
||||
<div style="font-weight: normal; padding: 16px 24px 16px 24px">
|
||||
Nachdem wir Ihre E-Mail Adresse bestätigen konnten, schicken wir
|
||||
Ihnen alle weiteren Informationen zu. Wir freuen uns auf die
|
||||
gemeinsame Zeit mit Ihnen!
|
||||
</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 80px">
|
||||
Sollte es Probleme geben, möchten wir uns gerne jetzt schon
|
||||
dafür entschuldigen, wenden Sie sich gerne an uns, wir werden
|
||||
uns sofort darum kümmern, versprochen! Antworten Sie einfach auf
|
||||
diese E-Mail.
|
||||
</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">
|
||||
Mit Freundlichen Grüßen,
|
||||
</div>
|
||||
<div
|
||||
style="
|
||||
font-weight: bold;
|
||||
text-align: left;
|
||||
padding: 16px 24px 16px 24px;
|
||||
"
|
||||
>
|
||||
Der Vorstand
|
||||
</div>
|
||||
<div style="padding: 16px 24px 16px 24px">
|
||||
<img
|
||||
alt=""
|
||||
src="https://carsharing-hasloh.de/images/favicon_hu5543b2b337a87a169e2c722ef0122802_211442_96x0_resize_lanczos_3.png"
|
||||
height="80"
|
||||
width="80"
|
||||
style="
|
||||
outline: none;
|
||||
border: none;
|
||||
text-decoration: none;
|
||||
object-fit: cover;
|
||||
height: 80px;
|
||||
width: 80px;
|
||||
max-width: 100%;
|
||||
display: inline-block;
|
||||
vertical-align: middle;
|
||||
text-align: center;
|
||||
border-radius: 80px;
|
||||
"
|
||||
/>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -1,67 +1,288 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="de">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Willkommen beim Dörpsmobil Hasloh e.V.</title>
|
||||
<style>
|
||||
body {
|
||||
font-family: Arial, sans-serif;
|
||||
line-height: 1.6;
|
||||
color: #333;
|
||||
margin: 0;
|
||||
padding: 20px;
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
.container {
|
||||
max-width: 600px;
|
||||
margin: 0 auto;
|
||||
padding: 20px;
|
||||
background-color: #fff;
|
||||
border: 1px solid #ddd;
|
||||
border-radius: 8px;
|
||||
}
|
||||
h1 {
|
||||
color: #007b5e;
|
||||
}
|
||||
p {
|
||||
margin-bottom: 1em;
|
||||
}
|
||||
.contact-info {
|
||||
margin-top: 20px;
|
||||
}
|
||||
.contact-info strong {
|
||||
display: block;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
a {
|
||||
color: #007b5e;
|
||||
text-decoration: none;
|
||||
}
|
||||
a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h1>Willkommen beim Dörpsmobil Hasloh e.V.</h1>
|
||||
<p>Hallo {{.FirstName}},</p>
|
||||
<p>herzlich willkommen beim Dörpsmobil Hasloh e.V.! Vielen Dank für Ihre Registrierung und Ihre Unterstützung unseres Projekts.</p>
|
||||
<p>Wir freuen uns, Sie als Mitglied begrüßen zu dürfen und wünschen Ihnen stets eine sichere und angenehme Fahrt mit unseren Fahrzeugen.</p>
|
||||
<p>Für weitere Fragen stehen wir Ihnen gerne zur Verfügung:</p>
|
||||
<div class="contact-info">
|
||||
<strong>Kontakt:</strong>
|
||||
Name: Anke Freitag<br>
|
||||
Vorsitzende Doerpsmobil-Hasloh e.V.<br>
|
||||
E-Mail: <a href="mailto:info@doerpsmobil-hasloh.de">info@doerpsmobil-hasloh.de</a><br>
|
||||
Telefon: +49 174 870 1392
|
||||
</div>
|
||||
<p>Besuchen Sie auch unsere Webseite unter <a href="https://carsharing-hasloh.de">https://carsharing-hasloh.de</a> für weitere Informationen.</p>
|
||||
<p>Mit freundlichen Grüßen,<br>
|
||||
Ihr Team von Dörpsmobil Hasloh e.V.
|
||||
</p>
|
||||
<!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: 24px 24px 24px 24px">
|
||||
<a
|
||||
href="https://marketbase.app"
|
||||
style="text-decoration: none"
|
||||
target="_blank"
|
||||
><img
|
||||
alt="Marketbase"
|
||||
src="https://carsharing-hasloh.de/images/CarsharingSH-Hasloh-LOGO.jpeg"
|
||||
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 {{.FirstName}} 👋,
|
||||
</div>
|
||||
<div style="font-weight: normal; padding: 0px 24px 16px 24px">
|
||||
wir freuen uns sehr, dich als neues Mitglied bei Carsharing
|
||||
Hasloh begrüßen zu dürfen! Herzlichen Glückwunsch zur
|
||||
erfolgreichen E-Mail-Verifikation und willkommen in unserem
|
||||
Verein!
|
||||
</div>
|
||||
<div
|
||||
style="
|
||||
font-size: 22px;
|
||||
font-weight: normal;
|
||||
text-align: center;
|
||||
padding: 0px 24px 0px 24px;
|
||||
"
|
||||
>
|
||||
Hier einige wichtige Informationen für dich:
|
||||
</div>
|
||||
<div style="font-weight: normal; padding: 16px 24px 0px 24px">
|
||||
<ul>
|
||||
<li>
|
||||
<strong>Deine Mitgliedsnummer</strong>: {{.MembershipID}}
|
||||
</li>
|
||||
<li>
|
||||
<strong>Dein gebuchtes Modell</strong>:
|
||||
<ul>
|
||||
<li><strong>Name</strong>: {{.MembershipModel}}</li>
|
||||
<li><strong>Preis/Monat</strong>: {{.MembershipFee}}</li>
|
||||
<li><strong>Preis/h</strong>: {{.RentalFee}}</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<strong>Mitgliedsbeitrag</strong>: Solange wir noch kein
|
||||
Fahrzeug im Betrieb haben, zahlst Du sinnvollerweise auch
|
||||
keinen Mitgliedsbeitrag. Es ist zur Zeit der 1.1.2025 als
|
||||
Startdatum geplant.
|
||||
</li>
|
||||
<li>
|
||||
<strong>Führerscheinverifikation</strong>: Weitere
|
||||
Informationen zur Verifikation deines Führerscheins folgen
|
||||
in Kürze. Du musst nichts weiter tun, wir werden uns bei dir
|
||||
melden, sobald es notwendig ist.
|
||||
</li>
|
||||
<li>
|
||||
<strong>Moqo App</strong>: Wir werden die Moqo App nutzen,
|
||||
um das Fahrzeug ausleihen zu können. Wenn Du schon mal einen
|
||||
ersten Eindruck von dem Buchungsvorgang haben möchtest,
|
||||
schaue Dir gerne dieses kurze Video an:
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div style="text-align: center; padding: 0px 24px 16px 24px">
|
||||
<a
|
||||
href="https://www.youtube.com/shorts/ZMKUX0uyOps"
|
||||
style="
|
||||
color: #ffffff;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
background-color: #f45050;
|
||||
border-radius: 4px;
|
||||
display: inline-block;
|
||||
padding: 12px 20px;
|
||||
text-decoration: none;
|
||||
"
|
||||
target="_blank"
|
||||
><span
|
||||
><!--[if mso
|
||||
]><i
|
||||
style="
|
||||
letter-spacing: 20px;
|
||||
mso-font-width: -100%;
|
||||
mso-text-raise: 30;
|
||||
"
|
||||
hidden
|
||||
> </i
|
||||
><!
|
||||
[endif]--></span
|
||||
><span>Moqo App Nutzung</span
|
||||
><span
|
||||
><!--[if mso
|
||||
]><i
|
||||
style="letter-spacing: 20px; mso-font-width: -100%"
|
||||
hidden
|
||||
> </i
|
||||
><!
|
||||
[endif]--></span
|
||||
></a
|
||||
>
|
||||
</div>
|
||||
<div style="font-weight: normal; padding: 16px 24px 0px 24px">
|
||||
<ul>
|
||||
<li>
|
||||
<strong>Dörpsmobil</strong>: Wir sind nicht alleine sondern
|
||||
Mitglied in einem Schleswig-Holstein weiten Netz an
|
||||
gemeinnützigen Carsharing Anbietern. Für mehr Informationen
|
||||
zu diesem Netzwerk haben wir auch ein Video vorbereitet:
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div style="text-align: center; padding: 0px 24px 16px 24px">
|
||||
<a
|
||||
href="https://www.youtube.com/watch?v=NSch-2F-ru0"
|
||||
style="
|
||||
color: #ffffff;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
background-color: #fd5a5a;
|
||||
border-radius: 4px;
|
||||
display: inline-block;
|
||||
padding: 12px 20px;
|
||||
text-decoration: none;
|
||||
"
|
||||
target="_blank"
|
||||
><span
|
||||
><!--[if mso
|
||||
]><i
|
||||
style="
|
||||
letter-spacing: 20px;
|
||||
mso-font-width: -100%;
|
||||
mso-text-raise: 30;
|
||||
"
|
||||
hidden
|
||||
> </i
|
||||
><!
|
||||
[endif]--></span
|
||||
><span>Dörpsmobil SH</span
|
||||
><span
|
||||
><!--[if mso
|
||||
]><i
|
||||
style="letter-spacing: 20px; mso-font-width: -100%"
|
||||
hidden
|
||||
> </i
|
||||
><!
|
||||
[endif]--></span
|
||||
></a
|
||||
>
|
||||
</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;
|
||||
text-align: center;
|
||||
padding: 16px 24px 16px 24px;
|
||||
"
|
||||
>
|
||||
Für mehr Informationen besuche gerne unsere Webseite:
|
||||
</div>
|
||||
<div style="text-align: center; padding: 16px 24px 16px 24px">
|
||||
<a
|
||||
href="https://carsharing-hasloh.de"
|
||||
style="
|
||||
color: #ffffff;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
background-color: #67a9ff;
|
||||
border-radius: 64px;
|
||||
display: inline-block;
|
||||
padding: 16px 32px;
|
||||
text-decoration: none;
|
||||
"
|
||||
target="_blank"
|
||||
><span
|
||||
><!--[if mso
|
||||
]><i
|
||||
style="
|
||||
letter-spacing: 32px;
|
||||
mso-font-width: -100%;
|
||||
mso-text-raise: 48;
|
||||
"
|
||||
hidden
|
||||
> </i
|
||||
><!
|
||||
[endif]--></span
|
||||
><span>Carsharing-Hasloh.de</span
|
||||
><span
|
||||
><!--[if mso
|
||||
]><i
|
||||
style="letter-spacing: 32px; mso-font-width: -100%"
|
||||
hidden
|
||||
> </i
|
||||
><!
|
||||
[endif]--></span
|
||||
></a
|
||||
>
|
||||
</div>
|
||||
<div
|
||||
style="
|
||||
font-size: 15px;
|
||||
font-weight: normal;
|
||||
text-align: left;
|
||||
padding: 16px 24px 16px 24px;
|
||||
"
|
||||
>
|
||||
<p>
|
||||
Solltest du Fragen haben oder Unterstützung benötigen, kannst
|
||||
du dich jederzeit an unsere Vorsitzende wenden:
|
||||
</p>
|
||||
<ul>
|
||||
<li>
|
||||
<strong>Anke Freitag</strong>
|
||||
<ul>
|
||||
<li>
|
||||
E-Mail:
|
||||
<a
|
||||
href="mailto:vorstand@carsharing-hasloh.de"
|
||||
target="_blank"
|
||||
>vorstand@carsharing-hasloh.de</a
|
||||
>
|
||||
</li>
|
||||
<li>Telefon: +49 176 5013 4256</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div style="font-weight: normal; padding: 16px 24px 16px 24px">
|
||||
Wir danken dir herzlich für dein Vertrauen in uns und freuen uns
|
||||
darauf, dich hoffentlich bald mit einem Auto begrüßen zu dürfen.
|
||||
</div>
|
||||
<div style="font-weight: normal; padding: 16px 24px 16px 24px">
|
||||
<p>Mit freundlichen Grüßen,</p>
|
||||
<p>Dein Carsharing Hasloh Team</p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</body>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user