From 31b5ee62514583fbf31088c2eaf642d84cc1244a Mon Sep 17 00:00:00 2001 From: Agnibho Mondal Date: Sat, 23 Nov 2024 01:54:04 +0530 Subject: [PATCH] Check duplicate in report --- static/style.css | 4 ++++ templates/report.html | 13 ++++++++++++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/static/style.css b/static/style.css index 262b3ed..4b19c26 100644 --- a/static/style.css +++ b/static/style.css @@ -15,6 +15,10 @@ a { padding: 20px; } +.duplicate > td { + background: LightYellow; +} + @media print { form, .navbar, .btn { display: none; diff --git a/templates/report.html b/templates/report.html index cb39fe7..911f5d5 100644 --- a/templates/report.html +++ b/templates/report.html @@ -27,7 +27,7 @@ You should have received a copy of the GNU General Public License along with Lib {% for i in data %} - +
{{loop.index}}
@@ -60,4 +60,15 @@ You should have received a copy of the GNU General Public License along with Lib {% endfor %}

+ {% endblock %} -- 2.39.5