From e1c0622be6e0af175afe23471aabcb301a9fe57a Mon Sep 17 00:00:00 2001 From: Damien De Paoli Date: Thu, 5 Jan 2023 21:02:00 +1100 Subject: [PATCH] reordered todo --- TODO | 13 +++++++------ templates/base.html | 2 +- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/TODO b/TODO index 12026f2..be341d3 100644 --- a/TODO +++ b/TODO @@ -1,9 +1,5 @@ ### GENERAL - * get all status messages to use toasts AND get func to also increase/descrease the job counter as appropriate) - - [DONE] all status messages use toasts - -- [DONE] make a helper func for setting toast body and use it in base.html && file_support.js - -- [TODO] make a helper func for setting 'Active Jobs' text/badge and call it when document ready (rather/both than start of base.html) - -- should allow all JM Messages, or other messages to be an active Ajax poll until a job has completed + * change the rotation code to use that jpeg util to reduce/remove compression loss? * ignore face should ignore ALL matching faces (re: Declan) @@ -17,7 +13,12 @@ response.headers["Content-Type"] = "application/json" return response - * change the rotation code to use that jpeg util to reduce/remove compression loss? + * get all status messages to use toasts AND get func to also increase/descrease the job counter as appropriate) + - [DONE] all (success/creation) status messages use toasts + -- any non-sucess still stays a top of the page as an alert (always?) + -- [DONE] make a helper func for setting toast body and use it in base.html && file_support.js + -- [TODO] make a helper func for setting 'Active Jobs' text/badge and call it when document ready (rather/both than start of base.html) + -- should allow all JM Messages, or other messages to be an active Ajax poll until a job has completed * should allow context menu from View thumbs (particularly useful on search) to show other files around this one by date (maybe that folder or something?) diff --git a/templates/base.html b/templates/base.html index 17983df..4ce23d7 100644 --- a/templates/base.html +++ b/templates/base.html @@ -108,7 +108,7 @@ Active Jobs: {% set num_active_jobs = GetNumActiveJobs() %} {% if num_active_jobs > 0 %} - {{num_active_jobs}} + {{num_active_jobs}} {% else %} 0 {% endif %}