From d8f61e40d0e75167dabc6005d27e5c5aa1b42878 Mon Sep 17 00:00:00 2001 From: Arild Matsson Date: Thu, 14 Mar 2024 18:00:34 +0100 Subject: [PATCH] More info on admin view --- src/components/TextData.vue | 11 +--- src/i18n/locales/en.yaml | 4 +- src/i18n/locales/sv.yaml | 4 +- src/library/AdminResourcePreview.vue | 83 +++++++++++++++++++++++++++ src/library/AdminResourcesView.vue | 86 ++++++++++++++++++++++++---- src/store/resource.store.ts | 8 +-- src/user/AdminModeBanner.vue | 8 ++- 7 files changed, 177 insertions(+), 27 deletions(-) create mode 100644 src/library/AdminResourcePreview.vue diff --git a/src/components/TextData.vue b/src/components/TextData.vue index a20ffee..cb36e9b 100644 --- a/src/components/TextData.vue +++ b/src/components/TextData.vue @@ -3,18 +3,13 @@ import TerminalOutput from "./TerminalOutput.vue"; defineProps<{ text: string; - height?: number; }>(); diff --git a/src/library/AdminResourcesView.vue b/src/library/AdminResourcesView.vue index 08a4630..3acead5 100644 --- a/src/library/AdminResourcesView.vue +++ b/src/library/AdminResourcesView.vue @@ -1,20 +1,24 @@ + +