fix(nubus): Remove b64 encoded files from CSS, instead use opendesk-static-files

This commit is contained in:
Thorsten Roßner
2024-12-27 12:00:08 +01:00
parent 6796f320f7
commit 2926e2c93a
9 changed files with 22 additions and 8 deletions

View File

@@ -521,7 +521,7 @@ nubusPortalFrontend:
favicon: {{ .Values.theme.imagery.portal.faviconIco | toJson }}
# The actual `logo` is set in customizing image, the logo down here is for for waiting spinner.
logo: {{ .Values.theme.imagery.portal.waitingSpinnerSvg | toJson }}
backgroundImage: {{ .Values.theme.imagery.portal.logoBackgroundSvg | toJson }}
backgroundImage: {{ .Values.theme.imagery.portal.backgroundSvg | toJson }}
nubusStackDataUms:
containerSecurityContext:

View File

@@ -25,7 +25,9 @@ assets:
subdomain: {{ .Values.global.hosts.keycloak }}
paths:
- path: "/resources/...../login/UCS/img/favicon.ico"
data: {{ .Values.theme.imagery.portal.faviconIco }}
data: {{ .Values.theme.imagery.login.faviconIco }}
- path: "/static-files/login/logo.svg"
data: {{ .Values.theme.imagery.login.logoSvg }}
nextcloud:
subdomain: {{ .Values.global.hosts.nextcloud }}
paths:
@@ -55,6 +57,13 @@ assets:
paths:
- path: "/favicon.ico"
data: {{ .Values.theme.imagery.portal.faviconIco }}
- path: "/static-files/portal/background.svg"
data: {{ .Values.theme.imagery.portal.backgroundSvg }}
- path: "/static-files/portal/waiting-spinner.svg"
data: {{ .Values.theme.imagery.portal.waitingSpinnerSvg }}
- path: "/static-files/login/background.jpg"
data: {{ .Values.theme.imagery.login.backgroundJpg }}
xwiki:
subdomain: {{ .Values.global.hosts.xwiki }}
paths:

View File

@@ -49,6 +49,11 @@ theme:
faviconIco: {{ readFile "./../../files/theme/files/favicon.ico" | b64enc | quote }}
faviconPng: {{ readFile "./../../files/theme/files/favicon.png" | b64enc | quote }}
login:
faviconIco: {{ readFile "./../../files/theme/login/favicon.ico" | b64enc | quote }}
backgroundJpg: {{ readFile "./../../files/theme/login/background.jpg" | b64enc | quote }}
logoSvg: {{ readFile "./../../files/theme/login/logo.svg" | b64enc | quote }}
groupware:
faviconIco: {{ readFile "./../../files/theme/groupware/favicon.ico" | b64enc | quote }}
faviconSvg: {{ readFile "./../../files/theme/groupware/favicon.svg" | b64enc | quote }}
@@ -62,8 +67,8 @@ theme:
portal:
faviconIco: {{ readFile "./../../files/theme/portal/favicon.ico" | b64enc | quote }}
waitingSpinnerSvg: {{ readFile "./../../files/theme/portal/waitingSpinner.svg" | b64enc }}
logoBackgroundSvg: {{ readFile "./../../files/theme/empty.svg" | b64enc | quote }}
waitingSpinnerSvg: {{ readFile "./../../files/theme/portal/waiting-spinner.svg" | b64enc }}
backgroundSvg: {{ readFile "./../../files/theme/portal/background.svg" | b64enc | quote }}
portalTiles:
adminAnnouncement: {{ readFile "./../../files/theme/portal-tiles/admin_announcement.svg" | b64enc | quote }}
adminContext: {{ readFile "./../../files/theme/portal-tiles/admin_context.svg" | b64enc | quote }}

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 49 KiB

View File

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.5 KiB

View File

Before

Width:  |  Height:  |  Size: 100 B

After

Width:  |  Height:  |  Size: 100 B

File diff suppressed because one or more lines are too long

View File

Before

Width:  |  Height:  |  Size: 707 B

After

Width:  |  Height:  |  Size: 707 B