From 769e24cd31a0acd985626a3883261517382c34ef Mon Sep 17 00:00:00 2001 From: Harm Manders Date: Mon, 20 Nov 2023 15:45:50 +0100 Subject: [PATCH] legacy layout setting --- src/components/settings/General.vue | 22 ++++ .../UserContent/Campaigns/RunCampaign.vue | 122 +++++++++++------- 2 files changed, 94 insertions(+), 50 deletions(-) diff --git a/src/components/settings/General.vue b/src/components/settings/General.vue index dc162149..050df29e 100644 --- a/src/components/settings/General.vue +++ b/src/components/settings/General.vue @@ -233,6 +233,28 @@ export default { }, ], }, + { + key: "legacy_campaign_layout", + name: "Campaign Layout", + icon: "fas fa-bars", + info: "Select whether or not you want to use the modern campaign layout, or if you want to switch to the old layout.", + options: [ + { + value: true, + name: "Legacy", + action: "Legacy", + icon: "fas fa-columns", + color: "neutral-2", + }, + { + value: undefined, + name: "DM Screen", + action: "DM Screen", + icon: "fas fa-map", + color: "neutral-2", + }, + ], + }, ], }, }, diff --git a/src/views/UserContent/Campaigns/RunCampaign.vue b/src/views/UserContent/Campaigns/RunCampaign.vue index b7c1ee32..4f4c5f39 100644 --- a/src/views/UserContent/Campaigns/RunCampaign.vue +++ b/src/views/UserContent/Campaigns/RunCampaign.vue @@ -37,7 +37,7 @@ Private campaign -