93 lines
3.1 KiB
HTML
93 lines
3.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{% if action == 'confirmed' %}Appointment Confirmed{% else %}Appointment Declined{% endif %} - Tenhal Healthcare</title>
|
|
<style>
|
|
* { margin: 0; padding: 0; box-sizing: border-box; }
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 20px;
|
|
}
|
|
.container {
|
|
background: white;
|
|
border-radius: 16px;
|
|
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
|
|
max-width: 600px;
|
|
width: 100%;
|
|
padding: 50px 40px;
|
|
text-align: center;
|
|
}
|
|
.icon {
|
|
font-size: 80px;
|
|
margin-bottom: 20px;
|
|
}
|
|
h1 {
|
|
color: #212529;
|
|
font-size: 32px;
|
|
margin-bottom: 15px;
|
|
}
|
|
p {
|
|
color: #6c757d;
|
|
font-size: 18px;
|
|
line-height: 1.6;
|
|
margin-bottom: 30px;
|
|
}
|
|
.details {
|
|
background: #f8f9fa;
|
|
border-radius: 12px;
|
|
padding: 25px;
|
|
margin: 30px 0;
|
|
text-align: left;
|
|
}
|
|
.detail-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 10px 0;
|
|
border-bottom: 1px solid #e9ecef;
|
|
}
|
|
.detail-row:last-child { border-bottom: none; }
|
|
.detail-label { font-weight: 600; color: #495057; }
|
|
.detail-value { color: #212529; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
{% if action == 'confirmed' %}
|
|
<div class="icon">✅</div>
|
|
<h1>Appointment Confirmed!</h1>
|
|
<p>Thank you for confirming your appointment. We look forward to seeing you.</p>
|
|
{% else %}
|
|
<div class="icon">❌</div>
|
|
<h1>Appointment Declined</h1>
|
|
<p>Your appointment has been cancelled. Please contact us if you'd like to reschedule.</p>
|
|
{% endif %}
|
|
|
|
<div class="details">
|
|
<div class="detail-row">
|
|
<span class="detail-label">Appointment Number:</span>
|
|
<span class="detail-value">{{ appointment.appointment_number }}</span>
|
|
</div>
|
|
<div class="detail-row">
|
|
<span class="detail-label">Date:</span>
|
|
<span class="detail-value">{{ appointment.scheduled_date|date:"F j, Y" }}</span>
|
|
</div>
|
|
<div class="detail-row">
|
|
<span class="detail-label">Time:</span>
|
|
<span class="detail-value">{{ appointment.scheduled_time|time:"g:i A" }}</span>
|
|
</div>
|
|
</div>
|
|
|
|
<p style="font-size: 14px; color: #6c757d;">
|
|
You can close this window now.
|
|
</p>
|
|
</div>
|
|
</body>
|
|
</html>
|