From 80e2f665b71ca9bf8a7470d5b5d43d021c2c2f0e Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Thu, 28 Nov 2024 22:14:53 +0100 Subject: [PATCH] Add basic filtering by filename to /files view. --- src/templates/files.tmpl | 5 ++++- src/ytplom/misc.py | 15 +++++++++------ 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/src/templates/files.tmpl b/src/templates/files.tmpl index 35786b4..72f99ac 100644 --- a/src/templates/files.tmpl +++ b/src/templates/files.tmpl @@ -3,7 +3,10 @@ {% block body %} {{ macros.nav_head(page_names, "files") }} -

downloaded videos:

+
+filter: +
+

downloaded videos ({{files|length}}):