Files
e-ticket/templates/email/base.html.twig
Serreau Jovann 75f8beb119 Clean templates, add Caddy dev, Ansible and Gitea config
- Reset templates: clean base.html.twig + new email base template
- Remove old templates (account, legal, security, emails, etc.)
- Add Caddy service to docker-compose-dev
- Add ansible hosts.ini for production deployment
- Add .gitea/CODEOWNERS
- Clean app.scss

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-18 20:23:16 +01:00

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-Cosplay Ticket</h1>
</div>
<div class="content">
{% block content %}{% endblock %}
</div>
<div class="footer">
{% block footer %}
<p>&copy; {{ "now"|date("Y") }} E-Cosplay — <a href="https://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 %}