admin_new_user.html
151 lignes · 5020 octets
<!DOCTYPE html> <html lang="{{ locale }}"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>{% if locale == "fr" %}Nouvel utilisateur inscrit{% else %}New User Registered{% endif %}</title> <style> body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; line-height: 1.6; color: #333; max-width: 600px; margin: 0 auto; padding: 20px; background-color: #f4f4f4; } .email-container { background-color: #ffffff; border-radius: 8px; padding: 30px; box-shadow: 0 2px 4px rgba(0,0,0,0.1); } .header { text-align: center; margin-bottom: 30px; } .logo { font-size: 24px; font-weight: bold; color: #2563eb; margin-bottom: 10px; } h1 { color: #1f2937; font-size: 24px; margin-bottom: 20px; } .content { margin-bottom: 30px; } .user-info { margin: 20px 0; padding: 15px; background-color: #f3f4f6; border-radius: 6px; } .info-row { margin: 10px 0; padding: 8px 0; border-bottom: 1px solid #e5e7eb; } .info-row:last-child { border-bottom: none; } .info-label { font-weight: 600; color: #1f2937; display: inline-block; width: 120px; } .info-value { color: #6b7280; } .action-box { margin-top: 20px; padding: 15px; background-color: #dbeafe; border-left: 4px solid #3b82f6; border-radius: 4px; font-size: 14px; } .footer { margin-top: 30px; padding-top: 20px; border-top: 1px solid #e5e7eb; font-size: 14px; color: #6b7280; text-align: center; } </style> </head> <body> <div class="email-container"> <div class="header"> <div class="logo">{{ app_name }}</div> </div> <h1> {% if locale == "fr" %} Nouvel utilisateur inscrit {% else %} New User Registered {% endif %} </h1> <div class="content"> {% if locale == "fr" %} <p>Bonjour,</p> <p>Un nouvel utilisateur s'est inscrit sur <strong>{{ app_name }}</strong>.</p> {% else %} <p>Hello,</p> <p>A new user has registered on <strong>{{ app_name }}</strong>.</p> {% endif %} </div> <div class="user-info"> {% if locale == "fr" %} <p style="font-weight: 600; margin-bottom: 15px;">Informations de l'utilisateur :</p> {% else %} <p style="font-weight: 600; margin-bottom: 15px;">User Information:</p> {% endif %} <div class="info-row"> <span class="info-label">{% if locale == "fr" %}Nom d'utilisateur{% else %}Username{% endif %}:</span> <span class="info-value">{{ username }}</span> </div> <div class="info-row"> <span class="info-label">Email:</span> <span class="info-value">{{ email }}</span> </div> <div class="info-row"> <span class="info-label">{% if locale == "fr" %}Date d'inscription{% else %}Registration Date{% endif %}:</span> <span class="info-value">{{ registered_at }}</span> </div> </div> <div class="action-box"> {% if locale == "fr" %} <p><strong>ℹ️ Action requise :</strong></p> <p>Vous pouvez consulter et gérer cet utilisateur depuis le panneau d'administration.</p> {% else %} <p><strong>ℹ️ Action Required:</strong></p> <p>You can view and manage this user from the admin panel.</p> {% endif %} </div> <div class="footer"> {% if locale == "fr" %} <p>Cet email a été envoyé automatiquement aux administrateurs.</p> <p>Si vous avez des questions, contactez le support technique.</p> {% else %} <p>This email was sent automatically to administrators.</p> <p>If you have any questions, please contact technical support.</p> {% endif %} <p style="margin-top: 10px; font-size: 12px; color: #9ca3af;"> © {{ current_year }} {{ app_name }}. Tous droits réservés. </p> </div> </div> </body> </html>
GitRust