sarlink-portal-api/djangopasswordlessknox/templates/passwordless_default_token_email.html
i701 f6f77bb0e5
Add wallet balance to User model and implement Atoll/Island management
- Added `wallet_balance` field to the User model.
- Updated UserAdmin to include `wallet_balance` in the admin interface.
- Created serializers and views for Atoll and Island management.
- Implemented endpoints for listing, creating, and updating Atolls and Islands.
- Enhanced payment processing with UUIDs for Payment and Topup models.
- Added migration files for new fields and constraints.
- Improved error handling and validation in various views.
- Updated email templates for better responsiveness and SEO.
2025-01-20 20:59:16 +05:00

94 lines
2.6 KiB
HTML

<!doctype html>
<html lang="en">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="description" content="Your login token">
<meta name="keywords" content="login, token, SARLink Portal">
<head>
<meta charset="UTF-8" />
<title>Your Login Token</title>
<style>
body {
font-family: Arial, sans-serif;
background-color: #f5f5f5;
margin: 0;
padding: 20px;
}
.container {
max-width: 600px;
margin: 0 auto;
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 {
color: #2c3e50;
font-size: 24px;
font-weight: bold;
}
.token-container {
background-color: #f8f9fa;
border: 2px solid #e9ecef;
border-radius: 6px;
padding: 20px;
text-align: center;
margin: 20px 0;
}
.token {
color: #007bff;
font-size: 32px;
font-weight: bold;
letter-spacing: 2px;
}
.message {
color: #6c757d;
font-size: 16px;
line-height: 1.5;
margin-top: 20px;
}
.footer {
margin-top: 30px;
text-align: center;
color: #6c757d;
font-size: 14px;
}
</style>
</head>
<body>
<div class="container">
<div class="header">
<div class="logo">SARLink Portal</div>
</div>
<div class="token-container">
<div class="message">Your login code is:</div>
<div class="token">{{ callback_token }}</div>
</div>
<div class="message">
Please use this code to complete your login. This code will
expire in 15 minutes for security purposes.
</div>
<div class="footer">
If you didn't request this code, please ignore this email.
<br />
© 2024 Council Portal. All rights reserved.
</div>
</div>
</body>
</html>