diff --git a/src/components/HeaderLoginTemplate.vue b/src/components/HeaderLoginTemplate.vue index 213893c..83926d3 100644 --- a/src/components/HeaderLoginTemplate.vue +++ b/src/components/HeaderLoginTemplate.vue @@ -108,7 +108,7 @@ export default { height: 0 px; } 10% { - height: 27px; + height: 33px; } } diff --git a/src/components/app/Popouts/Popouts/GDriveLinkMenu.vue b/src/components/app/Popouts/Popouts/GDriveLinkMenu.vue index 56e3c73..8df6ea9 100644 --- a/src/components/app/Popouts/Popouts/GDriveLinkMenu.vue +++ b/src/components/app/Popouts/Popouts/GDriveLinkMenu.vue @@ -64,17 +64,7 @@ export default { const { ok, error, result } = await settingsService.GDriveURL(); if (ok) { const { url } = result.data; - //open a new window - const left = screen.width / 2 - 400 / 2; - const top = screen.height / 2 - 500 / 2; - const consentWindow = window.open( - url, - "", - "width=400,height=500,top=" + top + ", left=" + left - ); - window.onmessage = async e => { - consentWindow.close(); - }; + window.open(url,'_blank'); } }, donateButton() { diff --git a/src/views/GDriveCallback.vue b/src/views/GDriveCallback.vue index 673644e..7709c2b 100644 --- a/src/views/GDriveCallback.vue +++ b/src/views/GDriveCallback.vue @@ -1,20 +1,224 @@ - Redirecting... + + + + + + + + + Linking... + + + Google drive has been linked with Nertivia account! + You may close this tab. + + + Something went wrong while linking your Google Drive with Nertivia. + Please try again later. + + + + + + + + +