HH/templates/complaints/explanation_already_submitted.html
2026-01-12 12:08:18 +03:00

112 lines
4.8 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 "Already 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);
}
.info-icon {
width: 100px;
height: 100px;
margin: 0 auto 20px;
}
.info-circle {
fill: #ffc107;
}
.info-symbol {
fill: white;
font-size: 60px;
font-weight: bold;
text-anchor: middle;
dominant-baseline: central;
}
.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">
<!-- Info Icon -->
<svg class="info-icon" viewBox="0 0 100 100">
<circle class="info-circle" cx="50" cy="50" r="50"/>
<text class="info-symbol" x="50" y="55">i</text>
</svg>
<h2 class="mb-3 text-warning">{% trans "Already Submitted" %}</h2>
<p class="text-muted mb-4">
{% trans "This explanation link has already been used. Each explanation link can only be used once." %}
</p>
<div class="complaint-summary text-start mb-4">
<h5 class="mb-3">{% trans "Complaint Information" %}</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>
{% if explanation.responded_at %}
<div class="col-md-6 mb-2">
<strong>{% trans "Submitted On:" %}</strong> {{ explanation.responded_at|date:"Y-m-d H:i" }}
</div>
{% endif %}
{% if explanation.staff %}
<div class="col-md-6 mb-2">
<strong>{% trans "Submitted By:" %}</strong> {{ explanation.staff }}
</div>
{% endif %}
</div>
</div>
<div class="alert alert-warning">
<i class="bi bi-exclamation-triangle"></i>
<strong>{% trans "What If You Need To Update?" %}</strong>
<p class="mb-0 mt-2">
{% trans "If you need to provide additional information or make changes to your explanation, please contact the PX team directly." %}
</p>
</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 "Status:" %}</strong> {% trans "Already Submitted" %}</p>
<p class="mb-0">{% trans "This link cannot be used again." %}</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>