From ce41e7a2e088caea0674a6d472fb0fcb29359f60 Mon Sep 17 00:00:00 2001 From: jabahum Date: Thu, 31 Oct 2024 11:28:40 +0300 Subject: [PATCH 1/5] updat frontend config and add banner image --- .../frontendconfigs/assets/banner.svg | 24 +++++++++++++++++++ .../frontendconfigs/assets/logo-white.svg | 19 ++++++++++++++- 2 files changed, 42 insertions(+), 1 deletion(-) create mode 100644 tools/src/main/resources/frontendconfigs/assets/banner.svg diff --git a/tools/src/main/resources/frontendconfigs/assets/banner.svg b/tools/src/main/resources/frontendconfigs/assets/banner.svg new file mode 100644 index 00000000..a659e9d5 --- /dev/null +++ b/tools/src/main/resources/frontendconfigs/assets/banner.svg @@ -0,0 +1,24 @@ + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/tools/src/main/resources/frontendconfigs/assets/logo-white.svg b/tools/src/main/resources/frontendconfigs/assets/logo-white.svg index 285c13d1..8eec8ed6 100644 --- a/tools/src/main/resources/frontendconfigs/assets/logo-white.svg +++ b/tools/src/main/resources/frontendconfigs/assets/logo-white.svg @@ -1 +1,18 @@ - \ No newline at end of file + + + + + + + + + + + + + + + + + + \ No newline at end of file From 07a35acbcf9b9a1abaaf9042fef776ce0495ca52 Mon Sep 17 00:00:00 2001 From: jabahum Date: Thu, 31 Oct 2024 11:31:19 +0300 Subject: [PATCH 2/5] update config --- .../configuration/frontend-config.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/tools/src/main/resources/frontendconfigs/configuration/frontend-config.json b/tools/src/main/resources/frontendconfigs/configuration/frontend-config.json index 1f7b5e32..bf20d5e1 100644 --- a/tools/src/main/resources/frontendconfigs/configuration/frontend-config.json +++ b/tools/src/main/resources/frontendconfigs/configuration/frontend-config.json @@ -13,7 +13,6 @@ ] } }, - "@openmrs/esm-appointments-app": { "Display conditions": { "privileges": [ @@ -33,7 +32,10 @@ }, "extensionSlots": { "visit-header-right-slot": { - "remove" :["start-visit-button",""] + "remove": [ + "start-visit-button", + "" + ] }, "patient-highlights-bar-slot": { "remove": [ @@ -246,7 +248,6 @@ ] } }, - "@openmrs/esm-patient-programs-app": { "Display conditions": { "privileges": [ @@ -612,6 +613,14 @@ "logo": { "src": "/openmrs/spa/logo.svg", "alt": "UgandaEMR+ logo" + }, + "loginBackground": { + "src": "/openmrs/spa/background.png", + "alt": "UgandaEMR+ logo" + }, + "loginBanner": { + "src": "/openmrs/spa/logo-white.svg", + "alt": "UgandaEMR+ logo" } }, "@openmrs/esm-primary-navigation-app": { From 883a87795207d12eddadbc32f8bce204be7b4569 Mon Sep 17 00:00:00 2001 From: jabahum Date: Thu, 31 Oct 2024 12:22:47 +0300 Subject: [PATCH 3/5] update banner --- .../frontendconfigs/configuration/frontend-config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/src/main/resources/frontendconfigs/configuration/frontend-config.json b/tools/src/main/resources/frontendconfigs/configuration/frontend-config.json index bf20d5e1..938083c9 100644 --- a/tools/src/main/resources/frontendconfigs/configuration/frontend-config.json +++ b/tools/src/main/resources/frontendconfigs/configuration/frontend-config.json @@ -619,7 +619,7 @@ "alt": "UgandaEMR+ logo" }, "loginBanner": { - "src": "/openmrs/spa/logo-white.svg", + "src": "/openmrs/spa/banner.svg", "alt": "UgandaEMR+ logo" } }, From b260986bc06ec5217c5762297cda2cab90ae7a67 Mon Sep 17 00:00:00 2001 From: jabahum Date: Thu, 31 Oct 2024 13:33:05 +0300 Subject: [PATCH 4/5] fix svg --- .../frontendconfigs/assets/banner.svg | 158 +++++++++++++++--- .../frontendconfigs/assets/logo-white.svg | 18 -- 2 files changed, 136 insertions(+), 40 deletions(-) delete mode 100644 tools/src/main/resources/frontendconfigs/assets/logo-white.svg diff --git a/tools/src/main/resources/frontendconfigs/assets/banner.svg b/tools/src/main/resources/frontendconfigs/assets/banner.svg index a659e9d5..ee51d1b8 100644 --- a/tools/src/main/resources/frontendconfigs/assets/banner.svg +++ b/tools/src/main/resources/frontendconfigs/assets/banner.svg @@ -1,24 +1,138 @@ - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + - - - - - - - \ No newline at end of file + diff --git a/tools/src/main/resources/frontendconfigs/assets/logo-white.svg b/tools/src/main/resources/frontendconfigs/assets/logo-white.svg deleted file mode 100644 index 8eec8ed6..00000000 --- a/tools/src/main/resources/frontendconfigs/assets/logo-white.svg +++ /dev/null @@ -1,18 +0,0 @@ - - - - - - - - - - - - - - - - - - \ No newline at end of file From 3af93ee28b64f64a9ed20ceb2afb408d42b49139 Mon Sep 17 00:00:00 2001 From: jabahum Date: Thu, 31 Oct 2024 13:40:04 +0300 Subject: [PATCH 5/5] update log svg --- .../resources/frontendconfigs/assets/logo.svg | 152 ++---------------- 1 file changed, 16 insertions(+), 136 deletions(-) diff --git a/tools/src/main/resources/frontendconfigs/assets/logo.svg b/tools/src/main/resources/frontendconfigs/assets/logo.svg index ee51d1b8..431fb544 100644 --- a/tools/src/main/resources/frontendconfigs/assets/logo.svg +++ b/tools/src/main/resources/frontendconfigs/assets/logo.svg @@ -1,138 +1,18 @@ - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + \ No newline at end of file