Files
e-ticket/templates/pdf/rgpd_access.html.twig
Serreau Jovann 3468b1288d Improve mobile/tablet responsive, fix structured data, update deploy schedule and fix HTML issues
- Add responsive breakpoints (sm/md) to event_detail.html.twig: adaptive titles, stacked ticket layout on mobile, reduced padding/spacing
- Add responsive breakpoints to order templates (guest, summary, public, payment, success): adaptive typography, padding, and layouts
- Fix BreadcrumbList JSON-LD: escape names with json_encode, remove item URL from last breadcrumb
- Update deploy.yml cron schedule from 3h/13h/19h/23h to 1h/22h
- Add <title> tags to rgpd_deletion.html.twig and rgpd_access.html.twig
- Add scope attributes to all <th> tags in rgpd_access.html.twig
- Replace deprecated width/cellpadding/cellspacing HTML attributes with CSS in scan_force_notification email

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-30 08:40:28 +02:00

59 lines
2.7 KiB
Twig

<!DOCTYPE html>
<html lang="fr">
<head><meta charset="UTF-8"><title>Droit d'acces aux donnees personnelles - E-Cosplay</title><style>
body { font-family: DejaVu Sans, sans-serif; font-size: 11px; color: #111; }
h1 { font-size: 18px; margin-bottom: 5px; }
h2 { font-size: 14px; margin-top: 20px; border-bottom: 1px solid #ccc; padding-bottom: 3px; }
table { width: 100%; border-collapse: collapse; margin-top: 8px; font-size: 10px; }
th, td { border: 1px solid #ddd; padding: 4px 6px; text-align: left; }
th { background: #f5f5f5; font-weight: bold; }
.header { display: flex; align-items: center; margin-bottom: 15px; }
.logo { width: 60px; margin-right: 15px; }
.meta { color: #666; font-size: 10px; margin-bottom: 15px; }
</style></head>
<body>
{% if logo %}<img src="{{ logo }}" class="logo" alt="Logo">{% endif %}
<h1>Droit d'acces aux donnees personnelles</h1>
<p class="meta">Article 15 du RGPD — Genere le {{ date|date('d/m/Y a H:i') }}</p>
<p>Adresse IP concernee : <strong>{{ ip }}</strong></p>
{% for entry in data %}
<h2>Session #{{ loop.index }}{{ entry.visitor.createdAt|date('d/m/Y H:i') }}</h2>
<table>
<tr><th scope="row">Appareil</th><td>{{ entry.visitor.deviceType }}</td><th scope="row">OS</th><td>{{ entry.visitor.os ?? 'Inconnu' }}</td></tr>
<tr><th scope="row">Navigateur</th><td>{{ entry.visitor.browser ?? 'Inconnu' }}</td><th scope="row">Langue</th><td>{{ entry.visitor.language ?? 'Inconnu' }}</td></tr>
<tr><th scope="row">Ecran</th><td>{{ entry.visitor.screenWidth ?? '?' }}x{{ entry.visitor.screenHeight ?? '?' }}</td><th scope="row">Compte lie</th><td>{{ entry.visitor.user ? entry.visitor.user.email : 'Non' }}</td></tr>
</table>
{% if entry.events|length > 0 %}
<table>
<thead><tr><th scope="col">Date</th><th scope="col">Page</th><th scope="col">Titre</th><th scope="col">Referrer</th></tr></thead>
<tbody>
{% for event in entry.events %}
<tr>
<td>{{ event.createdAt|date('d/m/Y H:i') }}</td>
<td>{{ event.url }}</td>
<td>{{ event.title ?? '-' }}</td>
<td>{{ event.referrer ?? '-' }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% else %}
<p><em>Aucune page visitee enregistree.</em></p>
{% endif %}
{% endfor %}
<p style="margin-top: 20px; font-size: 10px; color: #666;">
Document genere automatiquement par E-Ticket (Association E-Cosplay) conformement au Reglement General sur la Protection des Donnees (RGPD).
</p>
<p style="font-size: 10px; color: #666; margin-top: 10px;">
<strong>Delegue a la Protection des Donnees (DPO)</strong><br>
Identifiant : DPO-167945<br>
Association E-Cosplay — SIREN : 943121517 / RNA : W022006988<br>
42 rue de Saint-Quentin, 02800 Beautor, France<br>
Contact : contact@e-cosplay.fr
</p>
</body>
</html>