base setup
This commit is contained in:
31
at_django_boilerplate/accounts/templates/otp/otp_email.html
Executable file
31
at_django_boilerplate/accounts/templates/otp/otp_email.html
Executable file
@@ -0,0 +1,31 @@
|
||||
{% load static %}
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title>Your OTP for {{ purpose|capfirst }}</title>
|
||||
<style>
|
||||
body { font-family: Arial, sans-serif; background-color: #f9f9f9; color: #333; }
|
||||
.container { max-width: 600px; margin: auto; padding: 30px; background-color: #fff; border-radius: 8px; }
|
||||
.otp-box { font-size: 24px; font-weight: bold; color: #2c3e50; background: #ecf0f1; padding: 15px; text-align: center; border-radius: 6px; margin: 20px 0; }
|
||||
.footer { font-size: 12px; color: #999; margin-top: 30px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<h2>Hello,</h2>
|
||||
<p>You requested an OTP for <strong>{{ purpose|capfirst }}</strong>.</p>
|
||||
<p>Your One-Time Password (OTP) is:</p>
|
||||
<div class="otp-box">{{ otp }}</div>
|
||||
<p>This OTP is valid for <strong>{{ validity_minutes }} minutes</strong>.</p>
|
||||
|
||||
<p><strong>⚠️ Do not share this OTP with anyone.</strong></p>
|
||||
|
||||
<p>If you did not request this OTP, please ignore this email or <a href="mailto:support@example.com">contact support</a> immediately.</p>
|
||||
|
||||
<div class="footer">
|
||||
This is an automated message. Please do not reply.
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user