make dashboard elements portlets

This commit is contained in:
Dennis Eichhorn 2020-04-05 18:57:59 +02:00
parent 1a298b2127
commit 4ecb4781f2
3 changed files with 3 additions and 1 deletions

View File

@ -5,7 +5,6 @@
]
}
]'>
<section class="box wf-100">
<ul class="weekdays green">
<li><?= $this->getHtml('Sunday', 'Calendar'); ?>
<li><?= $this->getHtml('Monday', 'Calendar'); ?>

View File

@ -14,6 +14,7 @@ declare(strict_types=1);
return ['Calendar' => [
'Blocks' => 'Blocks',
'Calendar' => 'Calendar',
'Close' => 'Close',
'Day' => 'Day',
'Event' => 'Event',

View File

@ -19,5 +19,7 @@ declare(strict_types=1);
?>
<div id="calendar-dashboard" class="col-xs-12 col-md-6" draggable="true">
<div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Calendar', 'Calendar') ?></div>
<?= $this->getData('calendar')->render($this->getData('cal')); ?>
</div>