From e3f82e136a9612a719e4eae35e79cd9f6b0bc3a7 Mon Sep 17 00:00:00 2001 From: Donald Zou Date: Mon, 12 Aug 2024 18:04:41 -0400 Subject: [PATCH] Adjusted some UI --- .../peerShareLinkModal.vue | 6 + .../settingsComponent/accountSettingsMFA.vue | 2 +- .../dashboardAPIKey.vue | 14 ++- .../signInComponents/RemoteServer.vue | 54 ++++++++- src/static/app/src/views/signin.vue | 106 +++++++++--------- src/static/css/dashboard.css | 6 +- 6 files changed, 126 insertions(+), 62 deletions(-) diff --git a/src/static/app/src/components/configurationComponents/peerShareLinkModal.vue b/src/static/app/src/components/configurationComponents/peerShareLinkModal.vue index 7555acd..5904919 100644 --- a/src/static/app/src/components/configurationComponents/peerShareLinkModal.vue +++ b/src/static/app/src/components/configurationComponents/peerShareLinkModal.vue @@ -87,6 +87,12 @@ export default { }, computed: { getUrl(){ + const crossServer = this.store.getActiveCrossServer(); + if(crossServer){ + return `${crossServer.host}/${this.$router.resolve( + {path: "/share", query: {"ShareID": this.dataCopy.ShareID}}).href}` + } + return window.location.origin + window.location.pathname + this.$router.resolve( diff --git a/src/static/app/src/components/settingsComponent/accountSettingsMFA.vue b/src/static/app/src/components/settingsComponent/accountSettingsMFA.vue index b19749e..1a99b52 100644 --- a/src/static/app/src/components/settingsComponent/accountSettingsMFA.vue +++ b/src/static/app/src/components/settingsComponent/accountSettingsMFA.vue @@ -47,7 +47,7 @@ export default {
+ role="switch" id="allowMFAKeysSwitch">