make dashboard elements portlets

This commit is contained in:
Dennis Eichhorn 2020-04-05 18:58:00 +02:00
parent eb1a7e2979
commit 68751903ea
2 changed files with 3 additions and 3 deletions

View File

@ -4,11 +4,10 @@ use Modules\Tasks\Models\TaskStatus;
?>
<table class="default">
<caption><?= $this->getHtml('Tasks', 'Tasks') ?><i class="fa fa-download floatRight download btn"></i></caption>
<thead>
<td><?= $this->getHtml('Status', 'Tasks') ?>
<td><?= $this->getHtml('Due/Priority', 'Tasks') ?>
<td class="full"><?= $this->getHtml('Title', 'Tasks') ?>
<td class="wf-100"><?= $this->getHtml('Title', 'Tasks') ?>
<tfoot>
<tbody>
<?php $c = 0; foreach ($this->tasks as $key => $task) : ++$c;

View File

@ -14,7 +14,8 @@ declare(strict_types=1);
?>
<div id="task-dashboard" class="col-xs-12 col-md-6" draggable="true">
<div class="box wf-100">
<div class="portlet">
<div class="portlet-head"><?= $this->getHtml('Tasks', 'Tasks') ?></div>
<?= $this->getData('tasklist')->render($this->getData('tasks')); ?>
</div>
</div>