From 55bb85b56fa59f7a807da941daf845770c2bbe64 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 23 Jan 2026 11:02:07 +0000 Subject: [PATCH] fix: Update cleanup button to remove failed, cancelled and completed downloads MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change the 'Nettoyer' (Cleanup) button behavior to remove unwanted downloads: Before: - Only removed completed downloads Now: - Removes cancelled downloads - Removes failed downloads - Removes completed downloads - Keeps only: downloading, paused, pending downloads - Shows detailed count by status in confirmation dialog - Better title tooltip explaining what gets deleted The confirmation message now shows exactly what will be deleted: - 'Supprimer X annulé(s) Y échoué(s) Z terminé(s)?' This makes it easy to clean up the download history while keeping active downloads safe. --- templates/index.html | 31 ++++++++++++++++++++++++------- 1 file changed, 24 insertions(+), 7 deletions(-) diff --git a/templates/index.html b/templates/index.html index da2043e..66da83c 100644 --- a/templates/index.html +++ b/templates/index.html @@ -812,7 +812,7 @@
-