mirror of
https://github.com/Karaka-Management/oms-Dashboard.git
synced 2026-02-17 18:58:40 +00:00
Went through todos
This commit is contained in:
parent
b4b9a9e777
commit
2271efe0ad
|
|
@ -41,6 +41,12 @@ final class BackendController extends Controller
|
||||||
*
|
*
|
||||||
* @return RenderableInterface
|
* @return RenderableInterface
|
||||||
*
|
*
|
||||||
|
* @todo Create default dashboard templates which can be used by users, changing them copies it for this user
|
||||||
|
* https://github.com/Karaka-Management/oms-Dashboard/issues/7
|
||||||
|
*
|
||||||
|
* @feature Allow people to modify a dashboard and automatically save it / reload it
|
||||||
|
* https://github.com/Karaka-Management/oms-Dashboard/issues/6
|
||||||
|
*
|
||||||
* @since 1.0.0
|
* @since 1.0.0
|
||||||
* @codeCoverageIgnore
|
* @codeCoverageIgnore
|
||||||
*/
|
*/
|
||||||
|
|
|
||||||
|
|
@ -1,9 +1,29 @@
|
||||||
|
<?php
|
||||||
|
/**
|
||||||
|
* Jingga
|
||||||
|
*
|
||||||
|
* PHP Version 8.2
|
||||||
|
*
|
||||||
|
* @package Modules\Dashboard
|
||||||
|
* @copyright Dennis Eichhorn
|
||||||
|
* @license OMS License 2.0
|
||||||
|
* @version 1.0.0
|
||||||
|
* @link https://jingga.app
|
||||||
|
*/
|
||||||
|
declare(strict_types=1);
|
||||||
|
|
||||||
|
// @bug Drag&Drop element sometimes disappear on drop
|
||||||
|
// For that reason drag&drop got removed temporarily
|
||||||
|
// https://github.com/Karaka-Management/oms-Dashboard/issues/8
|
||||||
|
?>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<?php
|
<?php
|
||||||
$panels = $this->data['panels'];
|
$panels = $this->data['panels'];
|
||||||
if (empty($panels)) : ?>
|
if (empty($panels)) : ?>
|
||||||
<div class="emptyPage"></div>
|
<div class="emptyPage"></div>
|
||||||
<?php else: foreach ($panels as $panel) : ?>
|
<?php else:
|
||||||
|
foreach ($panels as $panel) : ?>
|
||||||
<?= $panel->render(); ?>
|
<?= $panel->render(); ?>
|
||||||
<?php endforeach; endif; ?>
|
<?php endforeach;
|
||||||
|
endif; ?>
|
||||||
</div>
|
</div>
|
||||||
Loading…
Reference in New Issue
Block a user