]> git.koha-community.org Git - koha.git/commit
Bug 31666: Add job progress bar to stage-marc-import.pl
authorKyle Hall <kyle@bywatersolutions.com>
Fri, 30 Sep 2022 16:35:00 +0000 (12:35 -0400)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 5 Oct 2022 19:08:11 +0000 (16:08 -0300)
commitd2e4a6ec7d4a1bf6add3170dbd015bf4ad6487b2
treeb30848279583eaea6783e3f756ed45bc87580550
parent5db216385708d9420a8f8d32bfc35c81cf194d75
Bug 31666: Add job progress bar to stage-marc-import.pl

It would be nice if we had progress bars to indicate the progress of background jobs for scripts that utilize them.

This patch implements a reusable bootstrap based progess bar.

Test Plan:
1) Apply this patch
2) Stage a marc batch ( preferrably a large one to show the progress updating )
3) Note the new progess bar, verify it functions correctly.

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
koha-tmpl/intranet-tmpl/prog/en/includes/job_progress.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/includes/str/job_progess.inc [new file with mode: 0644]
koha-tmpl/intranet-tmpl/prog/en/modules/tools/stage-marc-import.tt
koha-tmpl/intranet-tmpl/prog/js/job_progess.js [new file with mode: 0644]