Added Signature draft

This commit is contained in:
Kevin Veen-Birkenbach
2025-06-30 12:28:24 +02:00
commit 83d1885914
3 changed files with 105 additions and 0 deletions

33
signature_template.j2 Normal file
View File

@@ -0,0 +1,33 @@
<!DOCTYPE html>
<html lang="de">
<head><meta charset="UTF-8"><title>E-Mail Signatur</title></head>
<body>
<table cellpadding="0" cellspacing="0" style="font-family:Arial,sans-serif;color:#333;font-size:14px;line-height:1.5;">
<tr>
<td style="vertical-align:top;padding-right:10px;">
<img src="{{ logo }}" alt="CyMaIS Projekt Logo" style="width:60px;height:auto;display:block; vertical-align:bottom;">
</td>
<td style="vertical-align:top;">
<div>
<span style="font-size:18px;font-weight:bold;color:#1a0dab;">{{ name }}</span><br>
<span style="font-size:14px;font-style:italic;color:#555;">{{ position }}</span><br>
<span style="font-weight:bold;color:#1a0dab;">{{ company }}</span>
</div>
</td>
</tr>
<tr>
<td colspan="2" style="padding-top:8px;">
{% if address %}<div style="margin-bottom:4px;">{{ address }}</div>{% endif %}
<div style="margin-bottom:4px;"><strong>Telefon:</strong> {{ phone }}</div>
<div style="margin-bottom:4px;"><strong>E-Mail:</strong> <a href="mailto:{{ email }}" style="color:#1a0dab;text-decoration:none;">{{ email }}</a></div>
<div style="margin-bottom:8px;"><strong>Web:</strong> <a href="{{ website_url }}" style="color:#1a0dab;text-decoration:none;">{{ website_url.replace('https://','') }}</a></div>
<hr style="margin:0 0 8px 0;border:none;border-top:1px solid #ccc;width:100%;">
<span style="margin-right:8px;font-size:14px;color:#333;">Folge mir auf</span>
{% for network in icons.keys() %}
<img src="{{ icons[network] }}" alt="{{ network }}" style="width:24px;height:auto;display:inline-block;vertical-align:middle;margin-right:8px;">
{% endfor %}
</td>
</tr>
</table>
</body>
</html>