forked from ZwiiCMS-Team/ZwiiCampus
v54 intégre les rows
This commit is contained in:
parent
e218d8abc7
commit
4bec714850
@ -50,7 +50,7 @@ class common
|
|||||||
const ACCESS_TIMER = 1800;
|
const ACCESS_TIMER = 1800;
|
||||||
|
|
||||||
// Numéro de version
|
// Numéro de version
|
||||||
const ZWII_VERSION = '1.0.53';
|
const ZWII_VERSION = '1.0.54';
|
||||||
|
|
||||||
// URL autoupdate
|
// URL autoupdate
|
||||||
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/lms/';
|
const ZWII_UPDATE_URL = 'https://forge.chapril.org/ZwiiCMS-Team/update/raw/branch/master/lms/';
|
||||||
|
@ -97,7 +97,7 @@
|
|||||||
<div class="col12">
|
<div class="col12">
|
||||||
<?php echo template::checkbox('coursesConfigTemplate', true, 'Mise en évidence', [
|
<?php echo template::checkbox('coursesConfigTemplate', true, 'Mise en évidence', [
|
||||||
'checked' => $this->getData(['module', $this->getUrl(0), 'config', 'template']),
|
'checked' => $this->getData(['module', $this->getUrl(0), 'config', 'template']),
|
||||||
'help' => 'Template identique à TinyMCE avec une bordure et le titre en évidence. Classe de la division : workshopContainer'
|
'help' => 'Template identique à TinyMCE avec une bordure et le titre en évidence. Classe de la division : workshopItemContainer'
|
||||||
]); ?>
|
]); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
13
module/workshop/view/index/index.css
Normal file
13
module/workshop/view/index/index.css
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
/**
|
||||||
|
* This file is part of Zwii.
|
||||||
|
*
|
||||||
|
* For full copyright and license information, please see the LICENSE
|
||||||
|
* file that was distributed with this source code.
|
||||||
|
*
|
||||||
|
* @author Rémi Jean <remi.jean@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2008-2018, Rémi Jean
|
||||||
|
* @author Frédéric Tempez <frederic.tempez@outlook.com>
|
||||||
|
* @copyright Copyright (C) 2018-2023, Frédéric Tempez
|
||||||
|
* @license CC Attribution-NonCommercial-NoDerivatives 4.0 International
|
||||||
|
* @link http://zwiicms.fr/
|
||||||
|
*/
|
@ -1,8 +1,10 @@
|
|||||||
<div class="row">
|
<?php $startRow = 0; ?>
|
||||||
<?php foreach ($this->getData(['course']) as $courseId => $courseValue): ?>
|
<?php foreach ($this->getData(['course']) as $courseId => $courseValue): ?>
|
||||||
|
<?php if ($startRow === 0): ?>
|
||||||
|
<div class="row workshopRowContainer">
|
||||||
|
<?php endif; ?>
|
||||||
<!-- Layout en colonnes -->
|
<!-- Layout en colonnes -->
|
||||||
<div class="workshopContainer col<?php echo $this->getData(['module', $this->getUrl(0), 'config', 'layout']); ?>">
|
<div class="workshopItemContainer col<?php echo $this->getData(['module', $this->getUrl(0), 'config', 'layout']); ?>">
|
||||||
|
|
||||||
<!-- Affchage par bloc et bordure -->
|
<!-- Affchage par bloc et bordure -->
|
||||||
<?php if ($this->getData(['module', $this->getUrl(0), 'config', 'template']) === true): ?>
|
<?php if ($this->getData(['module', $this->getUrl(0), 'config', 'template']) === true): ?>
|
||||||
<div class="block">
|
<div class="block">
|
||||||
@ -106,5 +108,9 @@
|
|||||||
</div>
|
</div>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
<?php endforeach; ?>
|
<?php $startRow = $startRow + $this->getData(['module', $this->getUrl(0), 'config', 'layout']); ?>
|
||||||
|
<?php if ($startRow === 12): ?>
|
||||||
</div>
|
</div>
|
||||||
|
<?php $startRow = 0; ?>
|
||||||
|
<?php endif; ?>
|
||||||
|
<?php endforeach; ?>
|
Loading…
Reference in New Issue
Block a user