From 56ab181fb0855c681acf759188c61eb75be099c8 Mon Sep 17 00:00:00 2001 From: SergioLangaritaBenitez Date: Wed, 12 Jul 2023 08:41:28 +0200 Subject: [PATCH] added an ai4eosc landing page --- src/env.js | 2 +- src/views/Foot.vue | 9 +++++---- src/views/Login.vue | 25 +++++++++++++++++-------- 3 files changed, 23 insertions(+), 13 deletions(-) diff --git a/src/env.js b/src/env.js index 04ab4ef..3da75f0 100644 --- a/src/env.js +++ b/src/env.js @@ -6,7 +6,7 @@ module.exports = { "url_user_info": "https://aai.egi.eu/auth/realms/egi/protocol/openid-connect/userinfo", "token_endpoint": "https://aai.egi.eu/auth/realms/egi/protocol/openid-connect/token", "api" : "", - "deploy_container" : "false", + "deploy_container" : "true", "minio_local_endpoint" :"localhost", "minio_local_port": "30300", "minio_local_ssl": false , diff --git a/src/views/Foot.vue b/src/views/Foot.vue index e64ed7d..dc9e3ba 100644 --- a/src/views/Foot.vue +++ b/src/views/Foot.vue @@ -4,10 +4,11 @@
-
© 2022, GRyCAP-I3M-UPV, Universitat Politècnica de València, Spain.
+
Powered by OSCAR © 2023, + GRyCAP-I3M-UPV, Universitat Politècnica de València, Spain.
- +
Terms of Use @@ -40,9 +41,9 @@ export default { }, getClass(){ console.log(this.$route.name) - if(env.deploy_container=='true' && env.ai4eosc_servers.includes(env.api) && this.$route.name==="Login"){ + if(env.deploy_container=='true' && env.ai4eosc_servers.includes(window.location.origin) && this.$route.name==="Login"){ return "ai4eosc" - }else return "teal darken-1" + }else return "teal darken-1" }, privacy(){ let routeData = this.$router.resolve({name: 'Privacy', }); diff --git a/src/views/Login.vue b/src/views/Login.vue index 76ed4bd..315229a 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -10,7 +10,7 @@ Vue Material Admin - Vue Material Admin + Vue Material Admin

OSCAR UI

@@ -61,7 +61,6 @@