switched to gin-gonic

This commit is contained in:
$(pass /github/name)
2024-07-11 12:28:39 +02:00
parent 20ed629e92
commit de88a603d5
11 changed files with 330 additions and 169 deletions

View File

@@ -1,67 +1,110 @@
<!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>{{.Firstname}} {{.LastName}} hat sich registriert</h1>
<p>Ein neues Vereinsmitglied hat sich registriert</p>
<p>{{.Firstname}} {{.LastName}} hat sich registriert. Hier sind die Daten:</p>
<br>
<div class="contact-info">
<strong>Registrierungsdaten:</strong>
Name: {{.Firstname}} {{.LastName}} <br>
Email: {{.Email}}<br>
IBAN: {{.IBAN}}<br>
BIC: {{.BIC}}<br>
Mandatsreferenz: {{.MandateReference}}<br>
</div>
<p>Mit freundlichen Grüßen,<br>
der Server
</p>
<!doctype html>
<html>
<body>
<div
style="
background-color: #f2f5f7;
color: #242424;
font-family: &quot;Helvetica Neue&quot;, &quot;Arial Nova&quot;,
&quot;Nimbus Sans&quot;, 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="https://carsharing-hasloh.de"
style="text-decoration: none"
target="_blank"
><img
alt="Carsharing-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 Du Vorstand 👋,
</div>
<div style="font-weight: normal; padding: 0px 24px 16px 24px">
<p>
Ein neues Mitglied!!!<br />{{.FirstName}} {{.LastName}} hat
sich regitriert.
</p>
</div>
<div
style="
font-size: 22px;
font-weight: normal;
text-align: center;
padding: 0px 24px 0px 24px;
"
>
Hier sind die Daten:
</div>
<div style="font-weight: normal; padding: 16px 24px 0px 24px">
<ul>
<li>
<strong>Das gebuchtes Modell</strong>:
<ul>
<li><strong>Name</strong>: {{.Modellname}}</li>
<li><strong>Preis/Monat</strong>: {{.PreisMonat}}</li>
<li><strong>Preis/h</strong>: {{.PreisStunde}}</li>
</ul>
</li>
<li><strong>Name:</strong> {{.FirstName}} {{.LastName}}</li>
<li>
<strong>Adresse:</strong> {{.Address}},{{.ZipCode}}
{{.City}}
</li>
<li><strong>Geburtsdatum:</strong> {{.DateOfBirth}}</li>
<li><strong>Email:</strong> {{.Email}}</li>
<li><strong>Telefon:</strong> {{.Phone}}</li>
<li><strong>IBAN:</strong> {{.IBAN}}</li>
</ul>
</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>
</body>
</html>