Commit Graph

21 Commits

Author SHA1 Message Date
28f15ee4e6 fixed sort order to work with datatables sorting 2022-01-16 14:49:38 +11:00
e03d11b9e1 fixed job refresh issues 2022-01-16 01:17:54 +11:00
71951ca04c minor re-formating of joblog to fit larger screens & phone screens better 2022-01-14 11:03:03 +11:00
3e67c9c27f try sm-txt on joblog 2022-01-13 21:22:49 +11:00
8a6a7a5115 joblog rewrite to show only a few "newest" lines and "oldest" logs for a job, with the more button in the middle, also has a little icon to show the re-ordering that goes with each view - should really make this clickable/togglable. 2022-01-13 21:12:09 +11:00
c59e23efda provide estimates, format dates better 2021-09-16 19:20:43 +10:00
6e96c83d9e put title on progress bars so on hover you get the details, useful when you have 1 of 10000 on a slow job 2021-09-14 17:06:47 +10:00
b9f05d64f8 okay this now works with bootstrap 5, I dont love the sz buttons / mixed black and white hover text needs love - probably own class with own styles, but I dont want to hard-code info color, need to work out how to do style / css using the right bs variable for info color 2021-07-20 19:03:14 +10:00
c1177b7c0f if > 100 logs, truncate them and add button to show all logs, and stop auto-refresh too 2021-07-03 12:29:01 +10:00
82f6b915de use bg-secondary for withdrawn jobs 2021-06-22 21:18:24 +10:00
5bca620006 only show error color on actual Fail, so New, etc. does not go red 2021-06-22 20:54:08 +10:00
b84c671690 use bootstrap to style job errors, not direct css 2021-06-22 20:02:23 +10:00
eb574e3c75 moved InitValidation checks to log to a Job to show errors in front-end, and moved the creation of the symlinks to the InitValidation so we can restart paweb docker container and it will recreate the symlinks in static without needing an import. Also added token highlighting of a failed job 2021-06-22 19:30:04 +10:00
9e5e74bcdb making this look usable on ipad and okay on larger desktop browser 2021-06-18 00:40:40 +10:00
e3dcce4a53 if we have current_file_num > 0 but dont know total in num_files, at least show count to show progress 2021-01-29 00:02:56 +11:00
f7a94f0b7d allow job log to have links embedded, and label num files when N/A better 2021-01-20 21:49:04 +11:00
0de95d56d5 fixed up JobExtra printout in class, also put it in job.py, and passed extras to templates/jobs.html to show the extra details on the jobs list page so we can see what path is imported for example 2021-01-20 00:05:56 +11:00
3a73b9546d KLUDGE around num_passes for now, jobs need a clean up before I finish the new wait_for jobs 2021-01-19 23:31:37 +11:00
2b9dedb9b9 change how we calculate active jobs, probably will remove it from pa_job_engine, safer with threads I think. But, mostyle, added in client / server socket comms between web FE and job manager, with better job creation message (including link to job detail) and when you view job detail it auto-refreshes every few seconds until job complete) 2021-01-17 12:35:28 +11:00
e138ab22aa git commit, converted over to base.html pulling Status*, rather than every render_template calling it. Tightened up naming for job manager, fixed a few bugs in there with items like div by zero, created the active jobs link/badge in navbar, have it invoked each time by base.html template and it gets active jobs from DB, pa_job_manager now initiliases from an empty DB and can work out where it is at, no loop/thread/or actual job code yet. jobs.py has basics of a NewJob(), so next step is to force that job to be executed in pa_job_manager, but its tea time 2021-01-16 17:51:16 +11:00
e884accd0a renamed importlog* to job* -- in db, python and html 2021-01-14 21:47:12 +11:00