From 85d8e6f220eacf2f1cd94b72a7b5ebc8ab3991ca Mon Sep 17 00:00:00 2001 From: syuilo Date: Mon, 27 May 2019 17:23:05 +0900 Subject: [PATCH] Refactoring --- src/client/app/admin/views/queue.chart.vue | 181 ++++++++++++++++++ src/client/app/admin/views/queue.vue | 206 ++------------------- src/daemons/queue-stats.ts | 30 ++- 3 files changed, 225 insertions(+), 192 deletions(-) create mode 100644 src/client/app/admin/views/queue.chart.vue diff --git a/src/client/app/admin/views/queue.chart.vue b/src/client/app/admin/views/queue.chart.vue new file mode 100644 index 000000000..c3d68d75a --- /dev/null +++ b/src/client/app/admin/views/queue.chart.vue @@ -0,0 +1,181 @@ + + + + + diff --git a/src/client/app/admin/views/queue.vue b/src/client/app/admin/views/queue.vue index b379ba185..358ed6cf7 100644 --- a/src/client/app/admin/views/queue.vue +++ b/src/client/app/admin/views/queue.vue @@ -4,57 +4,11 @@
Deliver
- The queue is jammed. - - - Process - - - - - Active - - - - - Waiting - - - - - Delayed - - - - -
+
Inbox
- The queue is jammed. - - - Process - - - - - Active - - - - - Waiting - - - - - Delayed - - - - -
+
{{ $t('remove-all-jobs') }} @@ -94,74 +48,31 @@