- Rename all references from E-Cosplay/Ecosplay to SITECONSEIL - Update entity from Association to SARL SITECONSEIL (Siret: 418664058) - Update address to 27 rue Le Serurier, 02100 Saint-Quentin - Update emails: contact@siteconseil.fr, rgpd@siteconseil.fr - Update hosting from GCP to OVHcloud (Roubaix, Gravelines, Strasbourg, Paris) - Update legal pages: mentions legales, CGV, RGPD, conformite, hebergement, cookies, CGU - Add tarifs page with tabs: Site Internet, E-Commerce, Nom de domaine, Esy-Mail, Esy-Mailer, Esy-Tchat, Esy-Meet, Esy-Defender - Add Discord webhook notification workflow - Disable deploy and sonarqube workflows - Update OAuth Keycloak realm to master - Update logo references to logo_facture.png - Remove forced image sizing in Liip Imagine filters - Update SonarQube project key and badge token - Update tribunal competent to Saint-Quentin - Move tarif tabs JS to app.js (CSP compliance) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
90 lines
5.4 KiB
Twig
90 lines
5.4 KiB
Twig
{% extends 'legal/_layout.html.twig' %}
|
|
|
|
{% block title %}Verification attestation {{ attestation.reference }} - CRM SITECONSEIL{% endblock %}
|
|
{% block description %}Verification de l'attestation RGPD {{ attestation.reference }}.{% endblock %}
|
|
|
|
{% block body %}
|
|
<div class="page-container">
|
|
<h1 class="text-3xl font-black uppercase tracking-tighter italic heading-page mb-8">Verification d'attestation</h1>
|
|
|
|
<div class="flex flex-col gap-8">
|
|
|
|
{% if valid %}
|
|
<div class="p-6 border-4 border-green-600 bg-green-50">
|
|
<div class="flex items-center gap-3 mb-2">
|
|
<svg class="w-8 h-8 text-green-600 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M5 13l4 4L19 7"/></svg>
|
|
<span class="text-xl font-black uppercase text-green-800">Attestation valide</span>
|
|
</div>
|
|
<p class="text-sm text-green-700 font-bold">La signature HMAC-SHA256 de ce document a ete verifiee avec succes. Ce document est authentique.</p>
|
|
</div>
|
|
{% else %}
|
|
<div class="p-6 border-4 border-red-600 bg-red-50">
|
|
<div class="flex items-center gap-3 mb-2">
|
|
<svg class="w-8 h-8 text-red-600 flex-shrink-0" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="3" d="M6 18L18 6M6 6l12 12"/></svg>
|
|
<span class="text-xl font-black uppercase text-red-800">Signature invalide</span>
|
|
</div>
|
|
<p class="text-sm text-red-700 font-bold">La signature de ce document n'a pas pu etre verifiee. Ce document a peut-etre ete modifie.</p>
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="border-2 border-gray-900 bg-white">
|
|
<div class="bg-gray-900 text-white px-6 py-3">
|
|
<span class="text-xs font-black uppercase tracking-widest">Details de l'attestation</span>
|
|
</div>
|
|
<div class="p-6">
|
|
<table class="w-full text-sm">
|
|
<tr class="border-b border-gray-200">
|
|
<th scope="row" class="py-3 pr-4 font-black uppercase text-xs text-gray-500 w-1/3 text-left">Reference</th>
|
|
<td class="py-3 font-bold">{{ attestation.reference }}</td>
|
|
</tr>
|
|
<tr class="border-b border-gray-200">
|
|
<th scope="row" class="py-3 pr-4 font-black uppercase text-xs text-gray-500 text-left">Type</th>
|
|
<td class="py-3 font-bold">
|
|
{% if attestation.type == 'access' %}
|
|
<span class="px-2 py-1 bg-indigo-100 text-indigo-800 text-xs font-black uppercase">Droit d'acces</span>
|
|
{% elseif attestation.type == 'deletion' %}
|
|
<span class="px-2 py-1 bg-red-100 text-red-800 text-xs font-black uppercase">Suppression</span>
|
|
{% else %}
|
|
<span class="px-2 py-1 bg-gray-100 text-gray-800 text-xs font-black uppercase">Absence de donnees</span>
|
|
{% endif %}
|
|
</td>
|
|
</tr>
|
|
<tr class="border-b border-gray-200">
|
|
<th scope="row" class="py-3 pr-4 font-black uppercase text-xs text-gray-500 text-left">Date</th>
|
|
<td class="py-3 font-bold">{{ attestation.createdAt|date('d/m/Y a H:i:s') }}</td>
|
|
</tr>
|
|
<tr class="border-b border-gray-200">
|
|
<th scope="row" class="py-3 pr-4 font-black uppercase text-xs text-gray-500 text-left">Adresse IP</th>
|
|
<td class="py-3 font-bold font-mono">{{ attestation.ip }}</td>
|
|
</tr>
|
|
<tr>
|
|
<th scope="row" class="py-3 pr-4 font-black uppercase text-xs text-gray-500 text-left">Email</th>
|
|
<td class="py-3 font-bold">{{ attestation.email }}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
|
|
{% if attestation.pdfFileSigned or attestation.pdfFileCertificate %}
|
|
<div class="flex flex-wrap gap-3">
|
|
{% if attestation.pdfFileSigned %}
|
|
<a href="{{ path('app_attestation_download', {reference: attestation.reference}) }}" class="px-4 py-2 border-2 border-gray-900 bg-[#fabf04] font-black uppercase text-xs tracking-widest hover:bg-yellow-500 transition-all">
|
|
Telecharger l'attestation signee
|
|
</a>
|
|
{% endif %}
|
|
{% if attestation.pdfFileCertificate %}
|
|
<a href="{{ path('app_attestation_audit', {reference: attestation.reference}) }}" class="px-4 py-2 border-2 border-gray-900 bg-white font-black uppercase text-xs tracking-widest hover:bg-gray-900 hover:text-white transition-all">
|
|
Telecharger l'audit de signature
|
|
</a>
|
|
{% endif %}
|
|
</div>
|
|
{% endif %}
|
|
|
|
<div class="border-2 border-gray-200 bg-gray-50 p-4">
|
|
<p class="text-xs font-black uppercase tracking-widest text-gray-400 mb-2">Signature HMAC-SHA256</p>
|
|
<p class="text-xs font-mono text-gray-500 break-all">{{ attestation.hmac }}</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|