From 4b925199e5274947931b21ae6903193fc43382a0 Mon Sep 17 00:00:00 2001 From: prpr Date: Wed, 24 Feb 2021 15:13:35 +0000 Subject: [PATCH] Add Failed and Pending select buttons, reorder buttons --- webif/html/diag/queue/index.jim | 10 +++++++--- webif/html/diag/queue/script.js | 12 ++++++++++++ 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/webif/html/diag/queue/index.jim b/webif/html/diag/queue/index.jim index e66e6ca..0f6f7d0 100755 --- a/webif/html/diag/queue/index.jim +++ b/webif/html/diag/queue/index.jim @@ -46,12 +46,16 @@ There are no tasks in the queue.
+ + + + + +
+
- - -
diff --git a/webif/html/diag/queue/script.js b/webif/html/diag/queue/script.js index 93c83b0..c23e165 100644 --- a/webif/html/diag/queue/script.js +++ b/webif/html/diag/queue/script.js @@ -163,6 +163,18 @@ $('#selall').button({icons:{primary:"ui-icon-star"}}) $('#queuetab input:checkbox').prop('checked', true).trigger('change'); }); +$('#selpending').button({icons:{primary:"ui-icon-check"}}) + .on('click', function() { + $('#queuetab input:checkbox[status="PENDING"]').prop('checked', true) + .trigger('change'); +}); + +$('#selfailed').button({icons:{primary:"ui-icon-check"}}) + .on('click', function() { + $('#queuetab input:checkbox[status="FAILED"]').prop('checked', true) + .trigger('change'); +}); + $('#selcomplete').button({icons:{primary:"ui-icon-check"}}) .on('click', function() { $('#queuetab input:checkbox[status="COMPLETE"]').prop('checked', true)