first quick pass of user menu in navbar which shows simple read only prefs content, and a logout option that works

This commit is contained in:
2022-01-16 11:37:49 +11:00
parent 136525a73c
commit 684cc27df9
6 changed files with 71 additions and 8 deletions

9
TODO
View File

@@ -6,9 +6,6 @@
*** Need to double-check scheduled jobs running in PROD (can use new pa_job_manager.log)
* have a user img in rhs of navbar, as drop-down showing logged in user and allowing to view prefs as they are in DB
(maybe set them as well, might want to tweak them one day?)
* only show say last week of jobs, or last 50? and archive the rest into an archived_jobs table
need scheduled jobs:
- [DONE] force scans of import/storage paths
@@ -27,11 +24,13 @@
* when hitting back button to a search, it doesnt handle the post, etc.
$(document).ready(function() {
window.history.pushState(null, "", window.location.href);
window.onpopstate = function() {
window.history.pushState(null, "", window.location.href);
# this seems to work, but feels like no protection at all???
# (what about back when it goes onto a POST of deleting a file!)
window.history.back()
};
});
-- maybe window.history.replace() is needed on unsafe URLs?
* delete folder