diff --git a/src/assets/logo/ai4eosc-logo.png b/src/assets/logo/ai4eosc-logo.png new file mode 100644 index 0000000..6ac2694 Binary files /dev/null and b/src/assets/logo/ai4eosc-logo.png differ diff --git a/src/assets/logo/imagine-logo.png b/src/assets/logo/imagine-logo.png new file mode 100644 index 0000000..833f3a3 Binary files /dev/null and b/src/assets/logo/imagine-logo.png differ diff --git a/src/components/services.js b/src/components/services.js index dac6f37..352b2a1 100644 --- a/src/components/services.js +++ b/src/components/services.js @@ -378,7 +378,8 @@ export default { }, bucketExistCall(params,callBackHandler){ - this.minioClient.bucketExists(params.name, function(err, exists) { + callBackHandler('success') + /*this.minioClient.bucketExists(params.name, function(err, exists) { if (err){ callBackHandler(err) window.getApp.$emit('APP_SHOW_SNACKBAR', { @@ -389,7 +390,7 @@ export default { callBackHandler('success') } - }) + })*/ }, getBucketFilesCall(params, callBackHandler){ diff --git a/src/env.js b/src/env.js index d31873d..529f255 100644 --- a/src/env.js +++ b/src/env.js @@ -13,4 +13,5 @@ module.exports = { "response_default_minio": "minio.minio", "external_ui": "https://ui.oscar.grycap.net/?endpoint=", "ai4eosc_servers": ["https://inference.cloud.ai4eosc.eu"], + "imagine_servers": ["https://inference.cloud.imagine-ai.eu"], } diff --git a/src/views/Foot.vue b/src/views/Foot.vue index dc9e3ba..6f9346c 100644 --- a/src/views/Foot.vue +++ b/src/views/Foot.vue @@ -40,10 +40,11 @@ export default { window.open(routeData.href, '_blank'); }, getClass(){ - console.log(this.$route.name) - if(env.deploy_container=='true' && env.ai4eosc_servers.includes(window.location.origin) && this.$route.name==="Login"){ - return "ai4eosc" - }else return "teal darken-1" + if(env.deploy_container=='true' && env.ai4eosc_servers.includes(window.location.origin) && this.$route.name==="Login"){ + return "ai4eosc" + }else if(env.deploy_container=='true' && env.imagine_servers.includes(window.location.origin) && this.$route.name==="Login"){ + return "imagine" + }else return "teal darken-1" }, privacy(){ let routeData = this.$router.resolve({name: 'Privacy', }); @@ -64,5 +65,7 @@ table, th, td { .ai4eosc{ background-color: #09837e; } - +.imagine{ + background-color: #1561aa; + } diff --git a/src/views/Login.vue b/src/views/Login.vue index 7db6719..0270064 100644 --- a/src/views/Login.vue +++ b/src/views/Login.vue @@ -7,17 +7,15 @@
- Vue Material Admin - - Vue Material Admin - + Vue Material Admin + Vue Material Admin

OSCAR

-
Required @@ -114,9 +112,15 @@ export default { if(env.deploy_container=='true' && env.ai4eosc_servers.includes(window.location.origin)) return true else return false }, + imagineServer(){ + if(env.deploy_container=='true' && env.imagine_servers.includes(window.location.origin)) return true + else return false + }, getClass(){ if(this.ai4eoscServer()){ return "ai4eosc" + }else if(this.imagineServer()){ + return "imagine" }else return "teal darken-1" }, oscar_ui_egi(){ @@ -256,4 +260,7 @@ export default { background-color: #09837e; } + .imagine{ + background-color: #1561aa; + }