Theme header bug présentation

This commit is contained in:
Fred Tempez 2020-09-18 20:51:40 +02:00
parent 9c6c0d664b
commit 96b06cc19b
2 changed files with 7 additions and 9 deletions

View File

@ -13,11 +13,11 @@
</div>
</div>
<div class="row">
<div class="col4">
<div class="col6">
<div class="block">
<h4>Couleurs</h4>
<div class="row">
<div class="col12">
<div class="col6">
<?php echo template::text('themeHeaderBackgroundColor', [
'class' => 'colorPicker',
'help' => 'Le curseur horizontal règle le niveau de transparence.',
@ -25,9 +25,7 @@
'value' => $this->getData(['theme', 'header', 'backgroundColor'])
]); ?>
</div>
</div>
<div class="row">
<div class="col12">
<div class="col6">
<?php echo template::text('themeHeaderTextColor', [
'class' => 'colorPicker',
'help' => 'Le curseur horizontal règle le niveau de transparence.',
@ -38,11 +36,11 @@
</div>
</div>
</div>
<div class="col8">
<div class="col6">
<div class="block">
<h4>Image</h4>
<div class="row">
<div class="col10 offset1">
<div class="col12">
<?php
$imageFile = file_exists(self::FILE_DIR.'source/'.$this->getData(['theme', 'header', 'image'])) ?
$this->getData(['theme', 'header', 'image']) : "";
@ -84,7 +82,7 @@
<div class="row">
<div class="col12 textAlignCenter">
<span id="themeHeaderImage">
Dimensions de l'image : largeur <span id="themeHeaderImageWidth"></span> - hauteur <span id="themeHeaderImageHeight"></span> - ratio <span id="themeHeaderImageRatio"></span>
Largeur : <span id="themeHeaderImageWidth"></span> | Hauteur : <span id="themeHeaderImageHeight"></span> | ratio : <span id="themeHeaderImageRatio"></span>
</span>
</div>
</div>