- EmailTracking entity + repository + pixel tracking controller - CspReportController: filter noise, alert on real violations - RedirectController: external redirect warning page - UnsubscribeManager: HMAC-based unsubscribe with hashed storage - MailerService: rewrite with S/MIME, tracking, unsubscribe headers - ViteAssetExtension: add nonce CSP via Nelmio, isMobile - composer: add stripe/stripe-php, mobiledetect - Templates: add home/index, update base.html.twig with vite_asset - Email template: rebrand to E-Ticket Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
104 lines
2.7 KiB
Twig
104 lines
2.7 KiB
Twig
{% apply inline_css %}
|
|
<!DOCTYPE html>
|
|
<html lang="fr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<style>
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
|
|
background-color: #f4f4f5;
|
|
color: #18181b;
|
|
}
|
|
.wrapper {
|
|
width: 100%;
|
|
padding: 40px 0;
|
|
background-color: #f4f4f5;
|
|
}
|
|
.container {
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
background-color: #ffffff;
|
|
border-radius: 12px;
|
|
overflow: hidden;
|
|
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
|
|
}
|
|
.header {
|
|
background-color: #7c3aed;
|
|
color: #ffffff;
|
|
padding: 32px;
|
|
text-align: center;
|
|
}
|
|
.header h1 {
|
|
margin: 0;
|
|
font-size: 24px;
|
|
font-weight: 700;
|
|
}
|
|
.content {
|
|
padding: 32px;
|
|
}
|
|
.content h2 {
|
|
margin: 0 0 16px;
|
|
font-size: 20px;
|
|
color: #18181b;
|
|
}
|
|
.content p {
|
|
margin: 0 0 16px;
|
|
font-size: 16px;
|
|
line-height: 1.6;
|
|
color: #3f3f46;
|
|
}
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 14px 28px;
|
|
background-color: #7c3aed;
|
|
color: #ffffff;
|
|
text-decoration: none;
|
|
border-radius: 8px;
|
|
font-weight: 600;
|
|
font-size: 16px;
|
|
}
|
|
.qr-code {
|
|
text-align: center;
|
|
padding: 24px 0;
|
|
}
|
|
.qr-code img {
|
|
width: 200px;
|
|
height: 200px;
|
|
}
|
|
.footer {
|
|
padding: 24px 32px;
|
|
text-align: center;
|
|
font-size: 13px;
|
|
color: #a1a1aa;
|
|
border-top: 1px solid #e4e4e7;
|
|
}
|
|
.footer a {
|
|
color: #7c3aed;
|
|
text-decoration: none;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="wrapper">
|
|
<div class="container">
|
|
<div class="header">
|
|
<h1>🎫 E-Ticket</h1>
|
|
</div>
|
|
<div class="content">
|
|
{% block content %}{% endblock %}
|
|
</div>
|
|
<div class="footer">
|
|
{% block footer %}
|
|
<p>© {{ "now"|date("Y") }} E-Ticket — <a href="https://ticket.e-cosplay.fr">e-cosplay.fr</a></p>
|
|
<p>Cet email a été envoyé depuis contact@e-cosplay.fr</p>
|
|
{% endblock %}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
{% endapply %}
|