From 54114dc4a540f5e4eda5036e7e1e358a30aec6ce Mon Sep 17 00:00:00 2001 From: Josh Stompro Date: Mon, 15 Feb 2016 08:24:38 -0600 Subject: [PATCH] LP#1545226 - Fix MARC Batch Editor status screen. This patch does the following: - The html table was broken, fixed the markup. - Added some styling to the table. - Added a row with total records info. - Fixed the progress bar popup; it now displays percentage completion and has a title so it is wide enough to do so - Added color to failed row (red), and to completion text (green). To test: [1] In the staff interface (both XUL and web), perform a MARC Batch Edit on a bucket that contains at least a few bib records. [2] Verify that the progress dialog now displays the percentage completion of the batch edit; verify that there is now a row displaying the total number of records. Signed-off-by: Josh Stompro Signed-off-by: Galen Charlton --- .../lib/OpenILS/WWW/TemplateBatchBibUpdate.pm | 71 +++++++++++++++---- 1 file changed, 59 insertions(+), 12 deletions(-) diff --git a/Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm b/Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm index 5f46799545..6d75965f16 100644 --- a/Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm +++ b/Open-ILS/src/perlmods/lib/OpenILS/WWW/TemplateBatchBibUpdate.pm @@ -247,8 +247,10 @@ sub show_processing_template { var u = new openils.User({ authtoken: authtoken }); dojo.addOnLoad(function () { - progress_dialog.show(true); - progress_dialog.update({maximum:$rec_string}); + + progress_dialog.update({maximum: $rec_string}); + progress_dialog.attr("title", "MARC Batch Editor Progress......"); + progress_dialog.show(); var interval; interval = setInterval( function() { @@ -290,30 +292,75 @@ sub show_processing_template { }); + + - +
- - - - +

MARC Batch Editor Status

+ +
- StatusRecord Count
+ + + + - + - - + + + + + + + + +
StatusRecord Count
Success
Failure
Total Processed
Total To Process$rec_string
- +
-- 2.43.2