112 lines
5.1 KiB
HTML
112 lines
5.1 KiB
HTML
{% load i18n %}
|
|
<!DOCTYPE html>
|
|
<html lang="{{ LANGUAGE_CODE|default:'en' }}" dir="{% if LANGUAGE_CODE == 'ar' %}rtl{% else %}ltr{% endif %}">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>{% trans "Explanation Submitted" %} - PX360</title>
|
|
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css" rel="stylesheet">
|
|
<style>
|
|
body {
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
min-height: 100vh;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 20px 0;
|
|
}
|
|
.card {
|
|
border: none;
|
|
border-radius: 15px;
|
|
box-shadow: 0 10px 40px rgba(0,0,0,0.1);
|
|
}
|
|
.success-icon {
|
|
width: 100px;
|
|
height: 100px;
|
|
margin: 0 auto 20px;
|
|
}
|
|
.success-circle {
|
|
fill: #28a745;
|
|
}
|
|
.checkmark {
|
|
fill: none;
|
|
stroke: white;
|
|
stroke-width: 8;
|
|
stroke-linecap: round;
|
|
stroke-linejoin: round;
|
|
}
|
|
.complaint-summary {
|
|
background-color: #f8f9fa;
|
|
border-radius: 10px;
|
|
padding: 15px;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="row justify-content-center">
|
|
<div class="col-lg-8">
|
|
<div class="card">
|
|
<div class="card-body p-5 text-center">
|
|
<!-- Success Icon -->
|
|
<svg class="success-icon" viewBox="0 0 100 100">
|
|
<circle class="success-circle" cx="50" cy="50" r="50"/>
|
|
<path class="checkmark" d="M30 50 L45 65 L70 35"/>
|
|
</svg>
|
|
|
|
<h2 class="mb-3 text-success">{% trans "Explanation Submitted Successfully!" %}</h2>
|
|
|
|
<p class="text-muted mb-4">
|
|
{% trans "Thank you for providing your explanation. It has been received and will be reviewed by the PX team." %}
|
|
</p>
|
|
|
|
<div class="complaint-summary text-start mb-4">
|
|
<h5 class="mb-3">{% trans "Complaint Summary" %}</h5>
|
|
<div class="row">
|
|
<div class="col-md-6 mb-2">
|
|
<strong>{% trans "Reference:" %}</strong> #{{ complaint.id }}
|
|
</div>
|
|
<div class="col-md-6 mb-2">
|
|
<strong>{% trans "Title:" %}</strong> {{ complaint.title }}
|
|
</div>
|
|
<div class="col-md-6 mb-2">
|
|
<strong>{% trans "Submitted On:" %}</strong> {{ explanation.responded_at|date:"Y-m-d H:i" }}
|
|
</div>
|
|
{% if attachment_count > 0 %}
|
|
<div class="col-md-6 mb-2">
|
|
<strong>{% trans "Attachments:" %}</strong> {{ attachment_count }}
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="alert alert-info">
|
|
<i class="bi bi-info-circle"></i>
|
|
<strong>{% trans "What Happens Next?" %}</strong>
|
|
<ul class="mb-0 mt-2" style="text-align: {% if LANGUAGE_CODE == 'ar' %}right{% else %}left{% endif %}; padding-inline-start: 20px;">
|
|
<li>{% trans "Your explanation will be reviewed by the complaint assignee" %}</li>
|
|
<li>{% trans "The PX team may contact you if additional information is needed" %}</li>
|
|
<li>{% trans "Your explanation will be considered during the complaint investigation" %}</li>
|
|
</ul>
|
|
</div>
|
|
|
|
<hr>
|
|
|
|
<div class="text-muted small">
|
|
<p class="mb-2"><strong>{% trans "Explanation ID:" %}</strong> {{ explanation.id }}</p>
|
|
<p class="mb-2"><strong>{% trans "Submission Time:" %}</strong> {{ explanation.responded_at|date:"Y-m-d H:i:s" }}</p>
|
|
<p class="mb-0">{% trans "A confirmation email has been sent to the complaint assignee." %}</p>
|
|
</div>
|
|
</div>
|
|
<div class="card-footer text-muted text-center py-3">
|
|
<small>{% trans "PX360 Complaint Management System" %}</small>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css">
|
|
</body>
|
|
</html>
|