%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/vacivi36/intranet.vacivitta.com.br/protected/modules/calendar/views/view/
Upload File :
Create Path :
Current File : /home/vacivi36/intranet.vacivitta.com.br/protected/modules/calendar/views/view/index.php

<?php
use humhub\modules\calendar\widgets\CalendarFilterBar;
use humhub\modules\calendar\widgets\FullCalendar;
use humhub\modules\calendar\helpers\Url;
use humhub\modules\ui\view\helpers\ThemeHelper;

$loadAjaxUrl = Url::toAjaxLoad($contentContainer);

/* @var $filters array */
/* @var $canConfigure bool */
/* @var $canAddEntries bool */

?>
<div class="panel panel-default">
    <div class="panel-body" style="background-color:<?= $this->theme->variable('background-color-secondary') ?>">
        <?= CalendarFilterBar::widget([
            'filters' => $filters,
            'showSelectors' => false
            ]) ?>
    </div>
    <div class="panel-body">
        <?= FullCalendar::widget([
            'canWrite' => $canAddEntries,
            'loadUrl' => $loadAjaxUrl,
            'contentContainer' => $contentContainer,
            'aspectRatio' => ThemeHelper::isFluid() ? 2 : 1.7
        ]);
        ?>
    </div>
</div>

Zerion Mini Shell 1.0