From 96b06cc19bbd28214622532c7df6a14f1db757c7 Mon Sep 17 00:00:00 2001 From: Fred Tempez Date: Fri, 18 Sep 2020 20:51:40 +0200 Subject: [PATCH] =?UTF-8?q?Theme=20header=20bug=20pr=C3=A9sentation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- core/module/theme/view/header/header.js.php | 2 +- core/module/theme/view/header/header.php | 14 ++++++-------- 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/core/module/theme/view/header/header.js.php b/core/module/theme/view/header/header.js.php index b7d05593..87a89cf2 100644 --- a/core/module/theme/view/header/header.js.php +++ b/core/module/theme/view/header/header.js.php @@ -25,7 +25,7 @@ $("input, select").on("change", function() { // Récupérer la taille de l'image var tmpImg = new Image(); - + tmpImg.onload = function() { // Informations affichées $("#themeHeaderImageHeight").html(tmpImg.height + "px"); diff --git a/core/module/theme/view/header/header.php b/core/module/theme/view/header/header.php index e88b7af4..1d9e0d2c 100644 --- a/core/module/theme/view/header/header.php +++ b/core/module/theme/view/header/header.php @@ -13,11 +13,11 @@
-
+

Couleurs

-
+
'colorPicker', 'help' => 'Le curseur horizontal règle le niveau de transparence.', @@ -25,9 +25,7 @@ 'value' => $this->getData(['theme', 'header', 'backgroundColor']) ]); ?>
-
-
-
+
'colorPicker', 'help' => 'Le curseur horizontal règle le niveau de transparence.', @@ -38,11 +36,11 @@
-
+

Image

-
+
getData(['theme', 'header', 'image'])) ? $this->getData(['theme', 'header', 'image']) : ""; @@ -84,7 +82,7 @@
- Dimensions de l'image : largeur - hauteur - ratio + Largeur : | Hauteur : | ratio :