First commit

This commit is contained in:
2026-05-28 23:43:20 +02:00
commit 86cd7854c2
49 changed files with 8504 additions and 0 deletions
+52
View File
@@ -0,0 +1,52 @@
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<title>Demande de contact LOGIS</title>
</head>
<body style="font-family:Arial,sans-serif;background:#f4f4f4;padding:20px;">
<div style="max-width:600px;margin:0 auto;background:#fff;border-radius:8px;overflow:hidden;">
<div style="background:#1a1a2e;color:#fff;padding:20px 30px;">
<h1 style="margin:0;font-size:22px;">LOGIS &mdash; Nouvelle demande de contact</h1>
</div>
<div style="padding:30px;">
<table style="width:100%;border-collapse:collapse;">
<tr>
<td style="padding:8px 0;color:#666;width:120px;">Date</td>
<td style="padding:8px 0;font-weight:bold;">{{ contact.created_at|date:"d/m/Y à H:i" }}</td>
</tr>
<tr>
<td style="padding:8px 0;color:#666;">Nom</td>
<td style="padding:8px 0;font-weight:bold;">{{ contact.name }}</td>
</tr>
<tr>
<td style="padding:8px 0;color:#666;">Email</td>
<td style="padding:8px 0;">
<a href="mailto:{{ contact.email }}" style="color:#e94560;">{{ contact.email }}</a>
</td>
</tr>
{% if contact.phone %}
<tr>
<td style="padding:8px 0;color:#666;">Téléphone</td>
<td style="padding:8px 0;">{{ contact.phone }}</td>
</tr>
{% endif %}
{% if property %}
<tr>
<td style="padding:8px 0;color:#666;">Bien</td>
<td style="padding:8px 0;">{{ property.name_fr }} — {{ property.city }}</td>
</tr>
{% endif %}
</table>
<div style="margin-top:20px;background:#f9f9f9;border-left:4px solid #e94560;padding:15px 20px;border-radius:0 4px 4px 0;">
<p style="margin:0 0 8px;color:#666;font-size:13px;text-transform:uppercase;letter-spacing:.5px;">Message</p>
<p style="margin:0;white-space:pre-wrap;">{{ contact.message }}</p>
</div>
</div>
<div style="background:#f0f0f0;padding:15px 30px;text-align:center;color:#999;font-size:12px;">
LOGIS{% if SITE_DOMAIN %} — {{ SITE_DOMAIN }}{% endif %} &bull; IP : {{ contact.ip_address|default:"—" }}
</div>
</div>
</body>
</html>
+14
View File
@@ -0,0 +1,14 @@
LOGIS — Nouvelle demande de contact
====================================
Date : {{ contact.created_at|date:"d/m/Y H:i" }}
Nom : {{ contact.name }}
Email : {{ contact.email }}
Téléphone : {{ contact.phone|default:"—" }}
{% if property %}Bien : {{ property.name_fr }} ({{ property.city }})
{% endif %}
Adresse IP : {{ contact.ip_address|default:"—" }}
Message :
---------
{{ contact.message }}
+1
View File
@@ -0,0 +1 @@
{% load i18n %}[LOGIS] Demande de renseignements de {{ contact.name }}{% if property %} — {{ property.name_fr }}{% endif %}