From 405bcac3900666811d52e2480bc02031511e158f Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Fri, 9 Feb 2024 23:14:07 +0100 Subject: [PATCH] feat: add sum + eta in jobqueue panel (#1770) * fix: fix border between entries in theme--light Signed-off-by: Stefan Dej * feat: add sum + eta in jobqueue panel Signed-off-by: Stefan Dej * locale(en): remove unused keys Signed-off-by: Stefan Dej * locale(de): add de locale Signed-off-by: Stefan Dej --------- Signed-off-by: Stefan Dej --- src/components/panels/JobqueuePanel.vue | 12 +- src/components/panels/Status/Jobqueue.vue | 6 +- .../panels/Status/JobqueueEntry.vue | 2 +- .../panels/Status/JobqueueEntryRest.vue | 4 +- .../panels/Status/JobqueueEntrySum.vue | 146 ++++++++++++++++++ src/locales/de.json | 6 +- 6 files changed, 165 insertions(+), 11 deletions(-) create mode 100644 src/components/panels/Status/JobqueueEntrySum.vue diff --git a/src/components/panels/JobqueuePanel.vue b/src/components/panels/JobqueuePanel.vue index 8ab308c38..22d54e144 100644 --- a/src/components/panels/JobqueuePanel.vue +++ b/src/components/panels/JobqueuePanel.vue @@ -36,12 +36,13 @@ + @@ -57,8 +58,9 @@ import Panel from '@/components/ui/Panel.vue' import { mdiPlay, mdiPause, mdiTrayFull } from '@mdi/js' import JobqueueEntry from '@/components/panels/Status/JobqueueEntry.vue' import draggable from 'vuedraggable' +import JobqueueEntrySum from '@/components/panels/Status/JobqueueEntrySum.vue' @Component({ - components: { draggable, JobqueueEntry, Panel }, + components: { JobqueueEntrySum, draggable, JobqueueEntry, Panel }, }) export default class JobqueuePanel extends Mixins(BaseMixin) { mdiPlay = mdiPlay @@ -93,11 +95,15 @@ export default class JobqueuePanel extends Mixins(BaseMixin) { diff --git a/src/components/panels/Status/Jobqueue.vue b/src/components/panels/Status/Jobqueue.vue index d1c80bbaa..85ca50dd9 100644 --- a/src/components/panels/Status/Jobqueue.vue +++ b/src/components/panels/Status/Jobqueue.vue @@ -51,7 +51,11 @@ export default class StatusPanelJobqueue extends Mixins(BaseMixin) { diff --git a/src/components/panels/Status/JobqueueEntry.vue b/src/components/panels/Status/JobqueueEntry.vue index 0f0fdc90d..17b468988 100644 --- a/src/components/panels/Status/JobqueueEntry.vue +++ b/src/components/panels/Status/JobqueueEntry.vue @@ -1,7 +1,7 @@