From c10cc4aa78e628a5b2a25dd5f66f28c88bbb258e Mon Sep 17 00:00:00 2001 From: Stefan Dej Date: Sat, 16 Sep 2023 00:47:23 +0200 Subject: [PATCH] WIP Signed-off-by: Stefan Dej --- .../SpoolmanChangeSpoolDialog.vue | 2 +- .../SpoolmanChangeSpoolDialogRow.vue | 0 .../SpoolmanEjectSpoolDialog.vue | 0 src/components/dialogs/StartPrintDialog.vue | 10 +- .../dialogs/StartPrintDialogSpoolman.vue | 29 ++++ .../Spoolman/SpoolmanPanelActiveSpool.vue | 125 ++++++++++++++++++ src/components/panels/SpoolmanPanel.vue | 76 ++++++----- src/locales/en.json | 3 +- 8 files changed, 208 insertions(+), 37 deletions(-) rename src/components/{panels/Spoolman => dialogs}/SpoolmanChangeSpoolDialog.vue (98%) rename src/components/{panels/Spoolman => dialogs}/SpoolmanChangeSpoolDialogRow.vue (100%) rename src/components/{panels/Spoolman => dialogs}/SpoolmanEjectSpoolDialog.vue (100%) create mode 100644 src/components/dialogs/StartPrintDialogSpoolman.vue create mode 100644 src/components/panels/Spoolman/SpoolmanPanelActiveSpool.vue diff --git a/src/components/panels/Spoolman/SpoolmanChangeSpoolDialog.vue b/src/components/dialogs/SpoolmanChangeSpoolDialog.vue similarity index 98% rename from src/components/panels/Spoolman/SpoolmanChangeSpoolDialog.vue rename to src/components/dialogs/SpoolmanChangeSpoolDialog.vue index caaf8ff5f..38a195cc8 100644 --- a/src/components/panels/Spoolman/SpoolmanChangeSpoolDialog.vue +++ b/src/components/dialogs/SpoolmanChangeSpoolDialog.vue @@ -68,7 +68,7 @@ import BaseMixin from '@/components/mixins/base' import Panel from '@/components/ui/Panel.vue' import { mdiCloseThick, mdiAdjust, mdiDatabase, mdiMagnify, mdiRefresh } from '@mdi/js' import { ServerSpoolmanStateSpool } from '@/store/server/spoolman/types' -import SpoolmanChangeSpoolDialogRow from '@/components/panels/Spoolman/SpoolmanChangeSpoolDialogRow.vue' +import SpoolmanChangeSpoolDialogRow from '@/components/dialogs/SpoolmanChangeSpoolDialogRow.vue' @Component({ components: { SpoolmanChangeSpoolDialogRow, Panel }, }) diff --git a/src/components/panels/Spoolman/SpoolmanChangeSpoolDialogRow.vue b/src/components/dialogs/SpoolmanChangeSpoolDialogRow.vue similarity index 100% rename from src/components/panels/Spoolman/SpoolmanChangeSpoolDialogRow.vue rename to src/components/dialogs/SpoolmanChangeSpoolDialogRow.vue diff --git a/src/components/panels/Spoolman/SpoolmanEjectSpoolDialog.vue b/src/components/dialogs/SpoolmanEjectSpoolDialog.vue similarity index 100% rename from src/components/panels/Spoolman/SpoolmanEjectSpoolDialog.vue rename to src/components/dialogs/SpoolmanEjectSpoolDialog.vue diff --git a/src/components/dialogs/StartPrintDialog.vue b/src/components/dialogs/StartPrintDialog.vue index 369b038ac..d3508247d 100644 --- a/src/components/dialogs/StartPrintDialog.vue +++ b/src/components/dialogs/StartPrintDialog.vue @@ -1,8 +1,8 @@