66 lines
3.4 KiB
HTML
66 lines
3.4 KiB
HTML
{% load i18n %}
|
|
{% load static %}
|
|
<!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>{{ complaint.reference_number }} - {% trans "Submitted" %}</title>
|
|
<link rel="stylesheet" href="{% static 'dist/css/tailwind.css' %}">
|
|
<link rel="stylesheet" href="{% static 'vendor/fonts/noto-kufi-arabic/arabic.css' %}">
|
|
<link rel="stylesheet" href="{% static 'vendor/fonts/inter/latin.css' %}">
|
|
<style>
|
|
body { font-family: 'Inter', 'Noto Kufi Arabic', sans-serif; }
|
|
[dir="rtl"] body { font-family: 'Noto Kufi Arabic', sans-serif; }
|
|
</style>
|
|
</head>
|
|
<body class="bg-slate-50 min-h-screen py-8 px-4">
|
|
<div class="w-full max-w-2xl mx-auto">
|
|
|
|
<!-- Back -->
|
|
{% if complaint.department %}
|
|
<a href="{% url 'organizations:department_detail' complaint.department.id %}" class="inline-flex items-center gap-2 text-sm text-slate hover:text-navy transition mb-4">← {% trans "Back to Department" %}</a>
|
|
{% endif %}
|
|
|
|
<!-- Logo -->
|
|
<div class="text-center mb-6">
|
|
<img src="{% static 'img/hh-logo.png' %}" alt="Al Hammadi Hospital" class="h-16 w-auto mx-auto inline-block">
|
|
</div>
|
|
|
|
<!-- Success Card -->
|
|
<div class="bg-white rounded-2xl shadow-sm border border-slate-200 p-8 text-center">
|
|
<div class="w-16 h-16 mx-auto bg-green-100 rounded-full flex items-center justify-center mb-4">
|
|
<svg class="w-8 h-8 text-green-600" fill="none" stroke="currentColor" viewBox="0 0 24 24"><path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M5 13l4 4L19 7"></path></svg>
|
|
</div>
|
|
<h1 class="text-lg font-bold text-navy mb-1">{% trans "Response Submitted" %}</h1>
|
|
<p class="text-sm text-slate">{% trans "Your response has been received and forwarded to the PX team." %}</p>
|
|
</div>
|
|
|
|
<!-- Summary -->
|
|
<div class="bg-white rounded-2xl shadow-sm border border-slate-200 p-6 mt-4">
|
|
<div class="flex items-center gap-2 mb-1">
|
|
<span class="text-xs font-bold text-slate/60 uppercase">{% trans "Reference" %}</span>
|
|
<span class="text-sm font-bold text-navy">{{ complaint.reference_number }}</span>
|
|
</div>
|
|
<div class="flex items-start gap-2 mb-3">
|
|
<span class="text-xs font-bold text-slate/60 uppercase pt-0.5 shrink-0">{% trans "Title" %}</span>
|
|
<span class="text-sm text-slate">{{ complaint.title }}</span>
|
|
</div>
|
|
{% if explanation.responded_at %}
|
|
<div class="flex items-center gap-2">
|
|
<span class="text-xs font-bold text-slate/60 uppercase">{% trans "Submitted" %}</span>
|
|
<span class="text-sm text-slate">{{ explanation.responded_at|date:"d M Y, h:i A" }}</span>
|
|
</div>
|
|
{% endif %}
|
|
{% if attachment_count > 0 %}
|
|
<div class="flex items-center gap-2 mt-3 pt-3 border-t border-slate-100">
|
|
<span class="text-xs font-bold text-slate/60 uppercase">{% trans "Attachments" %}</span>
|
|
<span class="text-sm text-slate">{{ attachment_count }}</span>
|
|
</div>
|
|
{% endif %}
|
|
</div>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|