Files
crm_ecosplay/templates/email/base.html.twig
Serreau Jovann 5f144ba4d2 fix: resolve SonarQube accessibility and test issues across templates
- Add for/id attributes to all form labels for accessibility compliance
- Add <title> tags to PDF templates (rgpd_access, rgpd_no_data, rgpd_deletion, contrat_revendeur)
- Add role="presentation" to email layout tables
- Remove deprecated cellpadding/cellspacing attributes from all templates
- Fix PHPUnit notices by replacing createMock with createStub where no expectations are set

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-04-01 19:30:53 +02:00

37 lines
1.8 KiB
Twig

<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{% block title %}CRM Ecosplay{% endblock %}</title>
</head>
<body style="margin: 0; padding: 0; background-color: #fbfbfb; font-family: Arial, Helvetica, sans-serif; color: #111827;">
<table role="presentation" width="100%" style="background-color: #fbfbfb; padding: 40px 0;">
<tr>
<td align="center">
<p style="font-size: 11px; color: #666; margin: 0 0 16px 0; text-align: center;">
Cet email ne s'affiche pas correctement ? <a href="__VIEW_URL__" style="color: #4338ca; text-decoration: underline;">Voir en ligne</a>
</p>
<table role="presentation" width="600" style="background-color: #ffffff; border: 4px solid #111827;">
<tr>
<td style="background-color: #fabf04; border-bottom: 4px solid #111827; padding: 20px; text-align: center;">
<img src="https://crm.e-cosplay.fr/logo.jpg" alt="CRM Ecosplay" width="120" style="display: block; margin: 0 auto;">
</td>
</tr>
<tr>
<td style="padding: 32px;">
{% block content %}{% endblock %}
</td>
</tr>
<tr>
<td style="background-color: #111827; color: #ffffff; padding: 16px; text-align: center; font-size: 11px; font-weight: bold; text-transform: uppercase; letter-spacing: 1px;">
&copy; {{ "now"|date("Y") }} Association E-Cosplay
</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>