From 67df7ab164475ed90efe93be725e3bcfa0ac9d4a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9rome=20Perrin?= Date: Fri, 12 Apr 2024 14:21:17 +0900 Subject: [PATCH] ZMI: use /++resource++logo/ for public resources /++resource++zmi/logo/ and /++resource++logo/ is the same folder on disk, the former is protected by Manage portal and the later is public. Protected resources were problematic, because we want to serve them from the root, but the manager user might not have permission on the root. --- src/App/dtml/copyright.dtml | 14 +++++++------- src/App/dtml/manage.dtml | 14 +++++++------- src/App/dtml/manage_page_header.dtml | 14 +++++++------- .../resources/logo/favicon/browserconfig.xml | 8 ++++---- .../styles/resources/logo/favicon/site.webmanifest | 4 ++-- 5 files changed, 27 insertions(+), 27 deletions(-) diff --git a/src/App/dtml/copyright.dtml b/src/App/dtml/copyright.dtml index 7b1d544f08..f995a72ae4 100644 --- a/src/App/dtml/copyright.dtml +++ b/src/App/dtml/copyright.dtml @@ -9,13 +9,13 @@ - - - - - - - + + + + + + + diff --git a/src/App/dtml/manage.dtml b/src/App/dtml/manage.dtml index 89800b76bc..1d6f237f2c 100644 --- a/src/App/dtml/manage.dtml +++ b/src/App/dtml/manage.dtml @@ -2,13 +2,13 @@ Zope on &dtml-BASE0; - - - - - - - + + + + + + + diff --git a/src/App/dtml/manage_page_header.dtml b/src/App/dtml/manage_page_header.dtml index 4845d45d44..a70451a9c3 100644 --- a/src/App/dtml/manage_page_header.dtml +++ b/src/App/dtml/manage_page_header.dtml @@ -18,13 +18,13 @@ - - - - - - - + + + + + + + diff --git a/src/zmi/styles/resources/logo/favicon/browserconfig.xml b/src/zmi/styles/resources/logo/favicon/browserconfig.xml index 94b6a441b9..971d80bc6f 100644 --- a/src/zmi/styles/resources/logo/favicon/browserconfig.xml +++ b/src/zmi/styles/resources/logo/favicon/browserconfig.xml @@ -2,10 +2,10 @@ - - - - + + + + #00aad4 diff --git a/src/zmi/styles/resources/logo/favicon/site.webmanifest b/src/zmi/styles/resources/logo/favicon/site.webmanifest index 9f465e9bdb..a94ec47774 100644 --- a/src/zmi/styles/resources/logo/favicon/site.webmanifest +++ b/src/zmi/styles/resources/logo/favicon/site.webmanifest @@ -3,12 +3,12 @@ "short_name": "", "icons": [ { - "src": "/++resource++zmi/logo/favicon/android-chrome-192x192.png", + "src": "/++resource++logo/favicon/android-chrome-192x192.png", "sizes": "192x192", "type": "image/png" }, { - "src": "/++resource++zmi/logo/favicon/android-chrome-256x256.png", + "src": "/++resource++logo/favicon/android-chrome-256x256.png", "sizes": "256x256", "type": "image/png" }