forked from ZwiiCMS-Team/ZwiiCMS
Theme header bug présentation
This commit is contained in:
parent
9c6c0d664b
commit
96b06cc19b
@ -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");
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user