From ef1d55f82f62c41581fda34188dc0a16b083b8f4 Mon Sep 17 00:00:00 2001 From: Krikorios <99836218+Krikorios@users.noreply.github.com> Date: Sun, 19 Apr 2026 00:16:50 +0300 Subject: [PATCH] perf: paginate docs list, lazy thumbnails, static cache headers --- templates/duplicates.html | 210 ++++++++++++++++++++++---------------- 1 file changed, 121 insertions(+), 89 deletions(-) diff --git a/templates/duplicates.html b/templates/duplicates.html index a428615..ceba77f 100644 --- a/templates/duplicates.html +++ b/templates/duplicates.html @@ -88,9 +88,9 @@

قارن كل وثيقة مكررة مع نسختها الأصلية واحذف ما تريد.

- + {% if total_duplicates %} - + {% endif %}
@@ -98,7 +98,7 @@ {% if not groups %}

لا توجد وثائق مكررة حالياً.

-

+

{% else %} @@ -115,7 +115,7 @@ class="dup-card-img" alt="وثيقة {{ d.id }}" loading="lazy" decoding="async" - onclick="openLightbox(this)"> + data-action="lightbox">
الشخص: {% if d.person_id %} @@ -131,9 +131,9 @@
فتح {% if role == 'duplicate' %} - + {% endif %} - +
{% endmacro %} @@ -155,8 +155,8 @@
{% endfor %} -