]> git.ipfire.org Git - ipfire-2.x.git/commit - lfs/web-user-interface
embed background image in redirect template
authorPeter Müller <peter.mueller@link38.eu>
Mon, 10 Sep 2018 14:15:44 +0000 (16:15 +0200)
committerMichael Tremer <michael.tremer@ipfire.org>
Mon, 10 Sep 2018 15:30:09 +0000 (16:30 +0100)
commitb67e79a4f15bcb8f2e9d525169d9c51611fe6c7e
treeef3ef50673d58352bfc726dfffa35cdb246826b2
parenta0d612be7ac96cff5dc988f89054db49420c14b8
embed background image in redirect template

Embed the IPFire background image into the redirect template
directly via CSS instead of loading it from somewhere else.
This is necessary because of Content Security Policy (CSP).

This patch inserts the base64 encoded image during build so
nothing needs to be updated twice in case background image
changes.

It supersedes first to fourth version of this patch and has
been successfully tested during a clean build.

Fixes #11650

Signed-off-by: Peter Müller <peter.mueller@link38.eu>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
html/html/redirect-templates/legacy/template.html
lfs/web-user-interface