From 98a6870bdea2ad2929bbc28266672ac337b99076 Mon Sep 17 00:00:00 2001 From: nighca Date: Tue, 19 Nov 2024 17:31:55 +0800 Subject: [PATCH] UI for SPX version selector --- .../src/components/navbar/NavbarProfile.vue | 53 +++++++++++++++++- .../project/runner/ProjectRunner.vue | 6 +- spx-gui/src/utils/utils.ts | 56 ++++++++++++------- 3 files changed, 88 insertions(+), 27 deletions(-) diff --git a/spx-gui/src/components/navbar/NavbarProfile.vue b/spx-gui/src/components/navbar/NavbarProfile.vue index aa4a0001..e5b3db1d 100644 --- a/spx-gui/src/components/navbar/NavbarProfile.vue +++ b/spx-gui/src/components/navbar/NavbarProfile.vue @@ -24,6 +24,14 @@ {{ $t({ en: 'Projects', zh: '项目列表' }) }} + + + {{ $t({ en: 'Use default SPX', zh: '使用默认 SPX' }) }} + + + {{ $t({ en: 'Use new SPX (in beta)', zh: '启用新 SPX(测试中)' }) }} + + {{ $t({ en: 'Sign out', zh: '登出' }) }} @@ -32,12 +40,15 @@