From 911c64de8c3197d1aeb22ef772c22011a078e05a Mon Sep 17 00:00:00 2001 From: Odei Maiz Date: Fri, 20 Sep 2024 09:15:40 +0200 Subject: [PATCH 1/4] override favicon in index.html --- .../static-webserver/client/scripts/apps_metadata.json | 9 +++++++++ services/static-webserver/client/source/boot/index.html | 2 +- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/services/static-webserver/client/scripts/apps_metadata.json b/services/static-webserver/client/scripts/apps_metadata.json index 6164b2a263f..8ad5f9f94bd 100644 --- a/services/static-webserver/client/scripts/apps_metadata.json +++ b/services/static-webserver/client/scripts/apps_metadata.json @@ -3,6 +3,7 @@ { "application": "osparc", "replacements": { + "replace_me_favicon_url": "/resource/osparc/osparc/icons/favicon-32x32.png", "replace_me_og_title": "oSPARC", "replace_me_og_description": "open online simulations for Stimulating Peripheral Activity to Relieve Conditions", "replace_me_og_image": "https://raw.githubusercontent.com/ITISFoundation/osparc-simcore/master/services/static-webserver/client/source/resource/osparc/favicon-osparc.png" @@ -10,6 +11,7 @@ }, { "application": "s4l", "replacements": { + "replace_me_favicon_url": "/resource/osparc/s4l/icons/favicon-32x32.png", "replace_me_og_title": "Sim4Life", "replace_me_og_description": "Computational life sciences platform that combines computable human phantoms, powerful physics solvers and advanced tissue models.", "replace_me_og_image": "https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/Sim4Life-head-default.png" @@ -17,6 +19,7 @@ }, { "application": "s4lacad", "replacements": { + "replace_me_favicon_url": "/resource/osparc/s4l/icons/favicon-32x32.png", "replace_me_og_title": "Sim4Life Science", "replace_me_og_description": "Sim4Life for Science - Computational life sciences platform that combines computable human phantoms, powerful physics solvers and advanced tissue models.", "replace_me_og_image": "https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/Sim4Life-head-academy.png" @@ -24,6 +27,7 @@ }, { "application": "s4lengine", "replacements": { + "replace_me_favicon_url": "/resource/osparc/s4l/icons/favicon-32x32.png", "replace_me_og_title": "Sim4Life Engineering", "replace_me_og_description": "Sim4Life for Engineers - Computational life sciences platform that combines computable human phantoms, powerful physics solvers and advanced tissue models.", "replace_me_og_image": "https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/Sim4Life-head-default.png" @@ -31,6 +35,7 @@ }, { "application": "s4ldesktop", "replacements": { + "replace_me_favicon_url": "/resource/osparc/s4l/icons/favicon-32x32.png", "replace_me_og_title": "Sim4Life (Desktop)", "replace_me_og_description": "Computational life sciences platform that combines computable human phantoms, powerful physics solvers and advanced tissue models.", "replace_me_og_image": "https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/Sim4Life-head-default.png" @@ -38,6 +43,7 @@ }, { "application": "s4ldesktopacad", "replacements": { + "replace_me_favicon_url": "/resource/osparc/s4l/icons/favicon-32x32.png", "replace_me_og_title": "Sim4Life Science (Desktop)", "replace_me_og_description": "Sim4Life for Science - Computational life sciences platform that combines computable human phantoms, powerful physics solvers and advanced tissue models.", "replace_me_og_image": "https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/Sim4Life-head-academy.png" @@ -45,6 +51,7 @@ }, { "application": "s4llite", "replacements": { + "replace_me_favicon_url": "/resource/osparc/s4l/icons/favicon-32x32.png", "replace_me_og_title": "S4L Lite", "replace_me_og_description": "Sim4Life for Students - Computational life sciences platform that combines computable human phantoms, powerful physics solvers and advanced tissue models.", "replace_me_og_image": "https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/Sim4Life-head-lite.png" @@ -52,6 +59,7 @@ }, { "application": "tis", "replacements": { + "replace_me_favicon_url": "/resource/osparc/tis/icons/favicon-32x32.png", "replace_me_og_title": "TI Plan - IT'IS", "replace_me_og_description": "A tool powered by o²S²PARC technology that reduces optimization of targeted neurostimulation protocols.", "replace_me_og_image": "https://raw.githubusercontent.com/ITISFoundation/osparc-simcore/master/services/static-webserver/client/source/resource/osparc/tip_splitimage.png" @@ -59,6 +67,7 @@ }, { "application": "tiplite", "replacements": { + "replace_me_favicon_url": "/resource/osparc/tis/icons/favicon-32x32.png", "replace_me_og_title": "TI Plan lite - IT'IS", "replace_me_og_description": "A tool powered by o²S²PARC technology that reduces optimization of targeted neurostimulation protocols.", "replace_me_og_image": "https://raw.githubusercontent.com/ITISFoundation/osparc-simcore/master/services/static-webserver/client/source/resource/osparc/tip_splitimage.png" diff --git a/services/static-webserver/client/source/boot/index.html b/services/static-webserver/client/source/boot/index.html index 48b35c48db9..20dd82a33d7 100644 --- a/services/static-webserver/client/source/boot/index.html +++ b/services/static-webserver/client/source/boot/index.html @@ -24,7 +24,7 @@ - + From ad8c1ceffaa252e4f13d1131daa05cd9b29c2552 Mon Sep 17 00:00:00 2001 From: Odei Maiz Date: Fri, 20 Sep 2024 09:33:33 +0200 Subject: [PATCH 2/4] two more replacements --- services/static-webserver/client/source/boot/index.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/static-webserver/client/source/boot/index.html b/services/static-webserver/client/source/boot/index.html index 20dd82a33d7..e710406fee7 100644 --- a/services/static-webserver/client/source/boot/index.html +++ b/services/static-webserver/client/source/boot/index.html @@ -24,10 +24,10 @@ - + - + @@ -35,7 +35,7 @@ - + From 64f798c82d5a544227c376f4ff3eae98a7d445f6 Mon Sep 17 00:00:00 2001 From: Odei Maiz Date: Fri, 20 Sep 2024 09:34:25 +0200 Subject: [PATCH 3/4] complete metadata --- .../client/scripts/apps_metadata.json | 36 ++++++++++++++----- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/services/static-webserver/client/scripts/apps_metadata.json b/services/static-webserver/client/scripts/apps_metadata.json index 8ad5f9f94bd..38959e46090 100644 --- a/services/static-webserver/client/scripts/apps_metadata.json +++ b/services/static-webserver/client/scripts/apps_metadata.json @@ -3,7 +3,9 @@ { "application": "osparc", "replacements": { - "replace_me_favicon_url": "/resource/osparc/osparc/icons/favicon-32x32.png", + "replace_me_favicon_uri": "/resource/osparc/osparc/icons/favicon-32x32.png", + "replace_me_manifest_uri": "/resource/osparc/osparc/manifest.json", + "replace_me_browserconfig_uri": "/resource/osparc/osparc/browserconfig.xml", "replace_me_og_title": "oSPARC", "replace_me_og_description": "open online simulations for Stimulating Peripheral Activity to Relieve Conditions", "replace_me_og_image": "https://raw.githubusercontent.com/ITISFoundation/osparc-simcore/master/services/static-webserver/client/source/resource/osparc/favicon-osparc.png" @@ -11,7 +13,9 @@ }, { "application": "s4l", "replacements": { - "replace_me_favicon_url": "/resource/osparc/s4l/icons/favicon-32x32.png", + "replace_me_favicon_uri": "/resource/osparc/s4l/icons/favicon-32x32.png", + "replace_me_manifest_uri": "/resource/osparc/s4l/manifest.json", + "replace_me_browserconfig_uri": "/resource/osparc/s4l/browserconfig.xml", "replace_me_og_title": "Sim4Life", "replace_me_og_description": "Computational life sciences platform that combines computable human phantoms, powerful physics solvers and advanced tissue models.", "replace_me_og_image": "https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/Sim4Life-head-default.png" @@ -19,7 +23,9 @@ }, { "application": "s4lacad", "replacements": { - "replace_me_favicon_url": "/resource/osparc/s4l/icons/favicon-32x32.png", + "replace_me_favicon_uri": "/resource/osparc/s4l/icons/favicon-32x32.png", + "replace_me_manifest_uri": "/resource/osparc/s4l/manifest.json", + "replace_me_browserconfig_uri": "/resource/osparc/s4l/browserconfig.xml", "replace_me_og_title": "Sim4Life Science", "replace_me_og_description": "Sim4Life for Science - Computational life sciences platform that combines computable human phantoms, powerful physics solvers and advanced tissue models.", "replace_me_og_image": "https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/Sim4Life-head-academy.png" @@ -27,7 +33,9 @@ }, { "application": "s4lengine", "replacements": { - "replace_me_favicon_url": "/resource/osparc/s4l/icons/favicon-32x32.png", + "replace_me_favicon_uri": "/resource/osparc/s4l/icons/favicon-32x32.png", + "replace_me_manifest_uri": "/resource/osparc/s4l/manifest.json", + "replace_me_browserconfig_uri": "/resource/osparc/s4l/browserconfig.xml", "replace_me_og_title": "Sim4Life Engineering", "replace_me_og_description": "Sim4Life for Engineers - Computational life sciences platform that combines computable human phantoms, powerful physics solvers and advanced tissue models.", "replace_me_og_image": "https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/Sim4Life-head-default.png" @@ -35,7 +43,9 @@ }, { "application": "s4ldesktop", "replacements": { - "replace_me_favicon_url": "/resource/osparc/s4l/icons/favicon-32x32.png", + "replace_me_favicon_uri": "/resource/osparc/s4l/icons/favicon-32x32.png", + "replace_me_manifest_uri": "/resource/osparc/s4l/manifest.json", + "replace_me_browserconfig_uri": "/resource/osparc/s4l/browserconfig.xml", "replace_me_og_title": "Sim4Life (Desktop)", "replace_me_og_description": "Computational life sciences platform that combines computable human phantoms, powerful physics solvers and advanced tissue models.", "replace_me_og_image": "https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/Sim4Life-head-default.png" @@ -43,7 +53,9 @@ }, { "application": "s4ldesktopacad", "replacements": { - "replace_me_favicon_url": "/resource/osparc/s4l/icons/favicon-32x32.png", + "replace_me_favicon_uri": "/resource/osparc/s4l/icons/favicon-32x32.png", + "replace_me_manifest_uri": "/resource/osparc/s4l/manifest.json", + "replace_me_browserconfig_uri": "/resource/osparc/s4l/browserconfig.xml", "replace_me_og_title": "Sim4Life Science (Desktop)", "replace_me_og_description": "Sim4Life for Science - Computational life sciences platform that combines computable human phantoms, powerful physics solvers and advanced tissue models.", "replace_me_og_image": "https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/Sim4Life-head-academy.png" @@ -51,7 +63,9 @@ }, { "application": "s4llite", "replacements": { - "replace_me_favicon_url": "/resource/osparc/s4l/icons/favicon-32x32.png", + "replace_me_favicon_uri": "/resource/osparc/s4l/icons/favicon-32x32.png", + "replace_me_manifest_uri": "/resource/osparc/s4l/manifest.json", + "replace_me_browserconfig_uri": "/resource/osparc/s4l/browserconfig.xml", "replace_me_og_title": "S4L Lite", "replace_me_og_description": "Sim4Life for Students - Computational life sciences platform that combines computable human phantoms, powerful physics solvers and advanced tissue models.", "replace_me_og_image": "https://raw.githubusercontent.com/ZurichMedTech/s4l-assets/main/app/full/background-images/S4L/Sim4Life-head-lite.png" @@ -59,7 +73,9 @@ }, { "application": "tis", "replacements": { - "replace_me_favicon_url": "/resource/osparc/tis/icons/favicon-32x32.png", + "replace_me_favicon_uri": "/resource/osparc/tis/icons/favicon-32x32.png", + "replace_me_manifest_uri": "/resource/osparc/tis/manifest.json", + "replace_me_browserconfig_uri": "/resource/osparc/tis/browserconfig.xml", "replace_me_og_title": "TI Plan - IT'IS", "replace_me_og_description": "A tool powered by o²S²PARC technology that reduces optimization of targeted neurostimulation protocols.", "replace_me_og_image": "https://raw.githubusercontent.com/ITISFoundation/osparc-simcore/master/services/static-webserver/client/source/resource/osparc/tip_splitimage.png" @@ -67,7 +83,9 @@ }, { "application": "tiplite", "replacements": { - "replace_me_favicon_url": "/resource/osparc/tis/icons/favicon-32x32.png", + "replace_me_favicon_uri": "/resource/osparc/tis/icons/favicon-32x32.png", + "replace_me_manifest_uri": "/resource/osparc/tis/manifest.json", + "replace_me_browserconfig_uri": "/resource/osparc/tis/browserconfig.xml", "replace_me_og_title": "TI Plan lite - IT'IS", "replace_me_og_description": "A tool powered by o²S²PARC technology that reduces optimization of targeted neurostimulation protocols.", "replace_me_og_image": "https://raw.githubusercontent.com/ITISFoundation/osparc-simcore/master/services/static-webserver/client/source/resource/osparc/tip_splitimage.png" From 764857d3697fcc017abc2be2f6f0118e894da85c Mon Sep 17 00:00:00 2001 From: Odei Maiz Date: Fri, 20 Sep 2024 09:37:13 +0200 Subject: [PATCH 4/4] minor --- .../static-webserver/client/source/boot/index.html | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/services/static-webserver/client/source/boot/index.html b/services/static-webserver/client/source/boot/index.html index e710406fee7..e4a6038495f 100644 --- a/services/static-webserver/client/source/boot/index.html +++ b/services/static-webserver/client/source/boot/index.html @@ -24,10 +24,10 @@ - + - + @@ -41,10 +41,10 @@ - - - - + + + +