From c96c05392dbb583e7d0b8ab827f5efcfe312c2c0 Mon Sep 17 00:00:00 2001 From: crocodilestick <105450872+crocodilestick@users.noreply.github.com> Date: Sat, 4 Jan 2025 14:57:13 +0100 Subject: [PATCH] Fixed advanced search css & added total book count to heading on Books page as suggested by jadehawk in Issue #153 --- root/app/calibre-web/cps/cwa_functions.py | 2 - .../app/calibre-web/cps/templates/layout.html | 2 +- root/app/calibre-web/cps/web.py | 1695 +++++++++++++++++ 3 files changed, 1696 insertions(+), 3 deletions(-) create mode 100644 root/app/calibre-web/cps/web.py diff --git a/root/app/calibre-web/cps/cwa_functions.py b/root/app/calibre-web/cps/cwa_functions.py index 50ab5d6..c1fa588 100644 --- a/root/app/calibre-web/cps/cwa_functions.py +++ b/root/app/calibre-web/cps/cwa_functions.py @@ -393,8 +393,6 @@ def kill_epub_fixer(queue): os.remove(tempfile.gettempdir() + '/kindle_epub_fixer.lock') except FileNotFoundError: ... - # # Empty tmp conversion dir of half finished files - # empty_tmp_con_dir(get_tmp_conversion_dir()) # Remove the trigger file that triggered this block try: os.remove(trigger_file) diff --git a/root/app/calibre-web/cps/templates/layout.html b/root/app/calibre-web/cps/templates/layout.html index 66a219f..dad5901 100644 --- a/root/app/calibre-web/cps/templates/layout.html +++ b/root/app/calibre-web/cps/templates/layout.html @@ -59,7 +59,7 @@