From 92e7b57e6b9f5572d4de84a4216018f6c1b7114f Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Tue, 5 May 2020 17:22:04 +0200 Subject: [PATCH] =?UTF-8?q?Aper=C3=A7u=20fond=20d'=C3=A9cran=20dans=20th?= =?UTF-8?q?=C3=A8me=20site?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/core.php | 2 +- core/module/theme/view/site/site.js.php | 5 ++++- core/module/theme/view/site/site.php | 30 +++++++++++++------------ 3 files changed, 21 insertions(+), 16 deletions(-) diff --git a/core/core.php b/core/core.php index 1a39065b..331d9709 100755 --- a/core/core.php +++ b/core/core.php @@ -36,7 +36,7 @@ class common { const THUMBS_WIDTH = 640; // Numéro de version - const ZWII_VERSION = '10.0.082'; + const ZWII_VERSION = '10.0.083'; const ZWII_UPDATE_CHANNEL = "v10"; public static $actions = []; diff --git a/core/module/theme/view/site/site.js.php b/core/module/theme/view/site/site.js.php index 26fe2924..a7768c70 100755 --- a/core/module/theme/view/site/site.js.php +++ b/core/module/theme/view/site/site.js.php @@ -77,7 +77,10 @@ function updateDOM() { } // Couleur du site, arrondi sur les coins du site et ombre sur les bords du site //css += "#site{background-color:" + $("#themeSiteBackgroundColor").val() + ";border-radius:" + $("#themeSiteRadius").val() + ";box-shadow:" + $("#themeSiteShadow").val() + " #212223}"; - css += "#site{border-radius:" + $("#themeSiteRadius").val() + ";box-shadow:" + $("#themeSiteShadow").val() + " #212223}"; + css += "#site{border-radius:" + $("#themeSiteRadius").val() + ";box-shadow:" + $("#themeSiteShadow").val() + " #212223}"; + var backgroundImage = getData(['theme','body','image'])); ?>; + var backgroundcolor = getdata(['theme','body','backgroundColor'])); ?>; + css += "div.bodybackground{background-color:" + backgroundcolor + "; background-image: url(" + backgroundImage + ");background-size:cover;}"; css += "div.bgPreview{background-color:" + $("#themeSiteBackgroundColor").val() + ";}"; /** diff --git a/core/module/theme/view/site/site.php b/core/module/theme/view/site/site.php index da8ea178..b8a0686a 100755 --- a/core/module/theme/view/site/site.php +++ b/core/module/theme/view/site/site.php @@ -65,21 +65,23 @@ -
-
-
-

Titre

-

Sous-Titre

-

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

-

Lorem ipsum dolor sit amet.

+
+
+
+
+

Titre

+

Sous-Titre

+

Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

+

Lorem ipsum dolor sit amet.

+
-
-
-
- 'buttonSubmitPreview', - 'value' => 'Bouton' - ]); ?> +
+
+ 'buttonSubmitPreview', + 'value' => 'Bouton' + ]); ?> +