HH/templates/surveys/invalid_token.html
Marwan Alwali f8a0305caf update
2026-01-08 10:48:16 +03:00

139 lines
3.7 KiB
HTML

{% load i18n %}
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>{{ _("Invalid Survey Link")}} - PX360</title>
<!-- Bootstrap 5 CSS -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
<!-- Bootstrap Icons -->
<link href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css" rel="stylesheet">
<style>
body {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}
.error-card {
background: white;
border-radius: 20px;
box-shadow: 0 10px 40px rgba(0,0,0,0.2);
padding: 50px 30px;
text-align: center;
max-width: 500px;
margin: 20px;
}
.error-icon {
width: 100px;
height: 100px;
background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
margin: 0 auto 30px;
}
.error-icon i {
font-size: 50px;
color: white;
}
h1 {
color: #333;
font-size: 2rem;
font-weight: 600;
margin-bottom: 20px;
}
p {
color: #666;
font-size: 1.1rem;
line-height: 1.6;
margin-bottom: 30px;
}
.reasons {
background: #f5f5f5;
border-radius: 15px;
padding: 20px;
text-align: left;
margin: 30px 0;
}
.reasons h3 {
color: #333;
font-size: 1.1rem;
font-weight: 600;
margin-bottom: 15px;
}
.reasons ul {
margin-bottom: 0;
padding-left: 20px;
}
.reasons li {
color: #666;
font-size: 0.95rem;
margin-bottom: 10px;
}
.contact-info {
color: #999;
font-size: 0.9rem;
margin-top: 30px;
}
@media (max-width: 576px) {
.error-card {
padding: 40px 20px;
}
h1 {
font-size: 1.5rem;
}
p {
font-size: 1rem;
}
}
</style>
</head>
<body>
<div class="error-card">
<div class="error-icon">
<i class="bi bi-x-lg"></i>
</div>
<h1>{% trans "Invalid Survey Link" %}</h1>
<p>
{{ _("We're sorry, but this survey link is no longer valid or has expired")}}.
</p>
<div class="reasons">
<h3>{% trans "This could be because:" %}</h3>
<ul>
<li>{{ _("The survey has already been completed")}}</li>
<li>{{ _("The link has expired (surveys are valid for 30 days)")}}</li>
<li>{{ _("The link was entered incorrectly")}}</li>
<li>{{ _("The survey has been canceled")}}</li>
</ul>
</div>
<p class="contact-info">
{{ _("If you believe this is an error, please contact your healthcare provider for assistance")}}.
</p>
</div>
</body>
</html>