reordered todo

This commit is contained in:
2023-01-05 21:02:00 +11:00
parent 62f476e80f
commit e1c0622be6
2 changed files with 8 additions and 7 deletions

13
TODO
View File

@@ -1,9 +1,5 @@
### GENERAL ### GENERAL
* get all status messages to use toasts AND get func to also increase/descrease the job counter as appropriate) * change the rotation code to use that jpeg util to reduce/remove compression loss?
- [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
* ignore face should ignore ALL matching faces (re: Declan) * ignore face should ignore ALL matching faces (re: Declan)
@@ -17,7 +13,12 @@
response.headers["Content-Type"] = "application/json" response.headers["Content-Type"] = "application/json"
return response 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?) * 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?)

View File

@@ -108,7 +108,7 @@
<a href="{{url_for('jobs')}}"}}<span class="navbar-text">Active Jobs: <a href="{{url_for('jobs')}}"}}<span class="navbar-text">Active Jobs:
{% set num_active_jobs = GetNumActiveJobs() %} {% set num_active_jobs = GetNumActiveJobs() %}
{% if num_active_jobs > 0 %} {% if num_active_jobs > 0 %}
<span class="badge bg-danger text-white"}}>{{num_active_jobs}}</span> <span id="num_active_jobs" class="badge bg-danger text-white"}}>{{num_active_jobs}}</span>
{% else %} {% else %}
<span class="badge">0</span> <span class="badge">0</span>
{% endif %} {% endif %}