configuration en petit écran bannière masquée
This commit is contained in:
parent
9984542d3b
commit
c4de4716a7
|
@ -4,9 +4,10 @@
|
||||||
- Modifications :
|
- Modifications :
|
||||||
- Thème / Gestion : possibilité de saisir un nom lors de la sauvegarde ou de l'export d'un thème,
|
- Thème / Gestion : possibilité de saisir un nom lors de la sauvegarde ou de l'export d'un thème,
|
||||||
- Masquage des commentaires dans le layout,
|
- Masquage des commentaires dans le layout,
|
||||||
|
- Thème / bannière : sur petit écran possibilité de configurer la bannière même quand elle est masquée en petit écran,
|
||||||
- Corrections :
|
- Corrections :
|
||||||
- Thème / menu : problème de défilement du menu sur petit écran quand il était hors du site et fixe,
|
- Thème / menu : problème de défilement du menu sur petit écran quand il était hors du site et fixe,
|
||||||
- Thème / menu : erreur qui modifiait l'order des blocs en petit écran,
|
- Thème / menu / configuration : erreur qui modifiait l'ordre d'affichage des blocs en petit écran,
|
||||||
|
|
||||||
## Version 4.4.06 de Deltacms
|
## Version 4.4.06 de Deltacms
|
||||||
- Modifications :
|
- Modifications :
|
||||||
|
|
|
@ -52,11 +52,15 @@ $("<a>")
|
||||||
* Affiche les zones cachées
|
* Affiche les zones cachées
|
||||||
*/
|
*/
|
||||||
$("#themeShowAll").on("click", function() {
|
$("#themeShowAll").on("click", function() {
|
||||||
$("header.displayNone, nav.displayNone, footer.displayNone").slideToggle();
|
if( $(window).width() >= 800 ){
|
||||||
|
$("header.displayNone, nav.displayNone, footer.displayNone").slideToggle();
|
||||||
|
} else {
|
||||||
|
$("header.displayNone, nav.displayNone, footer.displayNone, header.bannerDisplay").slideToggle();
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Simule un survole du site lors du survole de la section
|
* Simule un survol du site lors du survol de la section
|
||||||
*/
|
*/
|
||||||
$("section")
|
$("section")
|
||||||
.on("mouseover", function() {
|
.on("mouseover", function() {
|
||||||
|
@ -65,3 +69,24 @@ $("section")
|
||||||
.on("mouseleave", function() {
|
.on("mouseleave", function() {
|
||||||
$("#themeOverlaySite.themeOverlayTriggerHover").removeClass("themeOverlayTriggerHover");
|
$("#themeOverlaySite.themeOverlayTriggerHover").removeClass("themeOverlayTriggerHover");
|
||||||
});
|
});
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Affiche le bouton zones cachées en grand écran et en petit écran
|
||||||
|
*/
|
||||||
|
var tinyHidden = <?php echo $this->getData(['theme', 'header', 'tinyHidden']); ?> ;
|
||||||
|
<?php
|
||||||
|
include('./core/module/theme/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . '/lex_theme.php');
|
||||||
|
if( $this->getData(['theme', 'header', 'position']) === 'hide'
|
||||||
|
OR $this->getData(['theme', 'menu', 'position']) === 'hide'
|
||||||
|
OR $this->getData(['theme', 'footer', 'position']) === 'hide' ) { ?>
|
||||||
|
$(".showAll").css("display","block");
|
||||||
|
$(".speechBubble").text(" <?php echo $text['core_theme_view']['index'][0]; ?> ");
|
||||||
|
<?php } else { ?>
|
||||||
|
if( $(window).width() >= 800 || !tinyHidden){
|
||||||
|
$(".showAll").css("display","none");
|
||||||
|
$(".speechBubble").text(" <?php echo $text['core_theme_view']['index'][8]; ?> ");
|
||||||
|
} else {
|
||||||
|
$(".showAll").css("display","block");
|
||||||
|
$(".speechBubble").text(" <?php echo $text['core_theme_view']['index'][0]; ?> ");
|
||||||
|
}
|
||||||
|
<?php } ?>
|
|
@ -2,122 +2,65 @@
|
||||||
// Lexique
|
// Lexique
|
||||||
include('./core/module/theme/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . '/lex_theme.php');
|
include('./core/module/theme/lang/'. $this->getData(['config', 'i18n', 'langAdmin']) . '/lex_theme.php');
|
||||||
|
|
||||||
if(
|
echo template::speech($text['core_theme_view']['index'][8]); ?>
|
||||||
$this->getData(['theme', 'header', 'position']) === 'hide'
|
<div class="row">
|
||||||
OR $this->getData(['theme', 'menu', 'position']) === 'hide'
|
<div class="col2 offset4">
|
||||||
OR $this->getData(['theme', 'footer', 'position']) === 'hide'
|
<?php echo template::button('themeBack', [
|
||||||
): ?>
|
'class' => 'buttonGrey',
|
||||||
<?php echo template::speech($text['core_theme_view']['index'][0]); ?>
|
'href' => helper::baseUrl(false),
|
||||||
<div class="row">
|
'ico' => 'home',
|
||||||
<div class="col2 offset3">
|
'value' => $text['core_theme_view']['index'][1]
|
||||||
<?php echo template::button('themeBack', [
|
]); ?>
|
||||||
'class' => 'buttonGrey',
|
|
||||||
'href' => helper::baseUrl(false),
|
|
||||||
'ico' => 'home',
|
|
||||||
'value' => $text['core_theme_view']['index'][1]
|
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
<div class="col2">
|
|
||||||
<?php echo template::button('themeHelp', [
|
|
||||||
'href' => 'https://doc.deltacms.fr/theme-2',
|
|
||||||
'target' => '_blank',
|
|
||||||
'ico' => 'help',
|
|
||||||
'value' => $text['core_theme_view']['index'][2],
|
|
||||||
'class' => 'buttonHelp'
|
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
<div class="col2">
|
|
||||||
<?php echo template::button('themeShowAll', [
|
|
||||||
'ico' => 'eye',
|
|
||||||
'value' => $text['core_theme_view']['index'][3]
|
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="col2">
|
||||||
<div class="col2 offset3">
|
<?php echo template::button('themeHelp', [
|
||||||
<?php echo template::button('themeManage', [
|
'href' => 'https://doc.deltacms.fr/theme-2',
|
||||||
'ico' => 'cogs',
|
'target' => '_blank',
|
||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
|
'ico' => 'help',
|
||||||
'value' => $text['core_theme_view']['index'][4]
|
'value' => $text['core_theme_view']['index'][2],
|
||||||
]); ?>
|
'class' => 'buttonHelp'
|
||||||
</div>
|
]); ?>
|
||||||
<div class="col2">
|
</div>
|
||||||
<?php echo template::button('themeAdmin', [
|
</div>
|
||||||
'ico' => 'brush',
|
<div class="row showAll">
|
||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/admin',
|
<div class="col2 offset5">
|
||||||
'value' => $text['core_theme_view']['index'][5]
|
<?php echo template::button('themeShowAll', [
|
||||||
]); ?>
|
'ico' => 'eye',
|
||||||
|
'value' => $text['core_theme_view']['index'][3]
|
||||||
|
]); ?>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="row">
|
||||||
|
<div class="col2 offset3">
|
||||||
|
<?php echo template::button('themeManage', [
|
||||||
|
'ico' => 'cogs',
|
||||||
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
|
||||||
|
'value' => $text['core_theme_view']['index'][4]
|
||||||
|
]); ?>
|
||||||
|
</div>
|
||||||
|
<div class="col2">
|
||||||
|
<?php echo template::button('themeAdmin', [
|
||||||
|
'ico' => 'brush',
|
||||||
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/admin',
|
||||||
|
'value' => $text['core_theme_view']['index'][5]
|
||||||
|
]); ?>
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="col2">
|
|
||||||
<?php echo template::button('themeAdvanced', [
|
|
||||||
'ico' => 'code',
|
|
||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced',
|
|
||||||
'value' => $text['core_theme_view']['index'][6]
|
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
<div class="col2">
|
||||||
<div class="col2 offset5">
|
<?php echo template::button('themeAdvanced', [
|
||||||
<?php echo template::button('themeFonts', [
|
'ico' => 'code',
|
||||||
'ico' => 'pencil',
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced',
|
||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/fonts',
|
'value' => $text['core_theme_view']['index'][6]
|
||||||
'value' => $text['core_theme_view']['index'][7]
|
]); ?>
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<?php else: ?>
|
</div>
|
||||||
<?php echo template::speech($text['core_theme_view']['index'][8]); ?>
|
<div class="row">
|
||||||
<div class="row">
|
<div class="col2 offset5">
|
||||||
<div class="col2 offset4">
|
<?php echo template::button('themeFonts', [
|
||||||
<?php echo template::button('themeBack', [
|
'ico' => 'pencil',
|
||||||
'class' => 'buttonGrey',
|
'href' => helper::baseUrl() . $this->getUrl(0) . '/fonts',
|
||||||
'href' => helper::baseUrl(false),
|
'value' => $text['core_theme_view']['index'][7]
|
||||||
'ico' => 'home',
|
]); ?>
|
||||||
'value' => $text['core_theme_view']['index'][1]
|
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
<div class="col2">
|
|
||||||
<?php echo template::button('themeHelp', [
|
|
||||||
'href' => 'https://doc.deltacms.fr/theme-2',
|
|
||||||
'target' => '_blank',
|
|
||||||
'ico' => 'help',
|
|
||||||
'value' => $text['core_theme_view']['index'][2],
|
|
||||||
'class' => 'buttonHelp'
|
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="row">
|
</div>
|
||||||
<div class="col2 offset3">
|
|
||||||
<?php echo template::button('themeManage', [
|
|
||||||
'ico' => 'cogs',
|
|
||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/manage',
|
|
||||||
'value' => $text['core_theme_view']['index'][4]
|
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
<div class="col2">
|
|
||||||
<?php echo template::button('themeAdmin', [
|
|
||||||
'ico' => 'brush',
|
|
||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/admin',
|
|
||||||
'value' => $text['core_theme_view']['index'][5]
|
|
||||||
]); ?>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
<div class="col2">
|
|
||||||
<?php echo template::button('themeAdvanced', [
|
|
||||||
'ico' => 'code',
|
|
||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/advanced',
|
|
||||||
'value' => $text['core_theme_view']['index'][6]
|
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="row">
|
|
||||||
<div class="col2 offset5">
|
|
||||||
<?php echo template::button('themeFonts', [
|
|
||||||
'ico' => 'pencil',
|
|
||||||
'href' => helper::baseUrl() . $this->getUrl(0) . '/fonts',
|
|
||||||
'value' => $text['core_theme_view']['index'][7]
|
|
||||||
]); ?>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<?php endif; ?>
|
|
||||||
|
|
Loading…
Reference in New Issue