164 lines
4.8 KiB
HTML
164 lines
4.8 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en" dir="ltr">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>User Onboarding Completed</title>
|
|
<style>
|
|
body {
|
|
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
|
|
line-height: 1.6;
|
|
color: #333;
|
|
max-width: 600px;
|
|
margin: 0 auto;
|
|
padding: 20px;
|
|
background-color: #f5f5f5;
|
|
}
|
|
.container {
|
|
background-color: #ffffff;
|
|
border-radius: 8px;
|
|
padding: 40px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
}
|
|
.header {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
.logo {
|
|
font-size: 28px;
|
|
font-weight: bold;
|
|
color: #0d6efd;
|
|
}
|
|
h1 {
|
|
color: #198754;
|
|
font-size: 24px;
|
|
margin-bottom: 20px;
|
|
}
|
|
.content {
|
|
margin-bottom: 30px;
|
|
}
|
|
.success-icon {
|
|
font-size: 48px;
|
|
text-align: center;
|
|
margin-bottom: 20px;
|
|
}
|
|
.user-info {
|
|
background-color: #f8f9fa;
|
|
border-radius: 6px;
|
|
padding: 20px;
|
|
margin: 20px 0;
|
|
}
|
|
.user-info table {
|
|
width: 100%;
|
|
border-collapse: collapse;
|
|
}
|
|
.user-info td {
|
|
padding: 8px 0;
|
|
border-bottom: 1px solid #dee2e6;
|
|
}
|
|
.user-info td:first-child {
|
|
font-weight: bold;
|
|
color: #666;
|
|
width: 40%;
|
|
}
|
|
.user-info tr:last-child td {
|
|
border-bottom: none;
|
|
}
|
|
.button {
|
|
display: inline-block;
|
|
background-color: #0d6efd;
|
|
color: #ffffff !important;
|
|
text-decoration: none;
|
|
padding: 12px 24px;
|
|
border-radius: 6px;
|
|
font-weight: bold;
|
|
font-size: 14px;
|
|
margin: 10px 0;
|
|
}
|
|
.button:hover {
|
|
background-color: #0b5ed7;
|
|
}
|
|
.button-container {
|
|
text-align: center;
|
|
margin: 30px 0;
|
|
}
|
|
.footer {
|
|
margin-top: 40px;
|
|
padding-top: 20px;
|
|
border-top: 1px solid #eee;
|
|
font-size: 12px;
|
|
color: #666;
|
|
text-align: center;
|
|
}
|
|
.timestamp {
|
|
font-size: 12px;
|
|
color: #666;
|
|
text-align: center;
|
|
margin-top: 20px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="header">
|
|
<div class="logo">PX360</div>
|
|
<p style="color: #666; margin-top: 5px;">Patient Experience Platform</p>
|
|
</div>
|
|
|
|
<div class="success-icon">✅</div>
|
|
|
|
<h1>User Onboarding Completed</h1>
|
|
|
|
<div class="content">
|
|
<p>A new user has successfully completed the onboarding process and is now active in the PX360 system.</p>
|
|
|
|
<div class="user-info">
|
|
<table>
|
|
<tr>
|
|
<td>Name:</td>
|
|
<td>{{ user.get_full_name|default:"Not provided" }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Email:</td>
|
|
<td>{{ user.email }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Username:</td>
|
|
<td>{{ user.username }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Employee ID:</td>
|
|
<td>{{ user.employee_id|default:"Not provided" }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Hospital:</td>
|
|
<td>{{ user.hospital.name|default:"Not assigned" }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Department:</td>
|
|
<td>{{ user.department.name|default:"Not assigned" }}</td>
|
|
</tr>
|
|
<tr>
|
|
<td>Completed At:</td>
|
|
<td>{{ user.acknowledgement_completed_at|date:"F j, Y, g:i a" }}</td>
|
|
</tr>
|
|
</table>
|
|
</div>
|
|
|
|
<div class="button-container">
|
|
<a href="{{ user_detail_url }}" class="button">View User Details</a>
|
|
</div>
|
|
</div>
|
|
|
|
<p class="timestamp">
|
|
This notification was sent on {{ "now"|date:"F j, Y, g:i a" }}
|
|
</p>
|
|
|
|
<div class="footer">
|
|
<p>This is an automated notification from PX360.</p>
|
|
<p>© {{ "now"|date:"Y" }} PX360 - Patient Experience Platform</p>
|
|
</div>
|
|
</div>
|
|
</body>
|
|
</html>
|