Sample: custom alerts

Three-Column layout with grouped tables and login/memberInfo widget. No description on tables

<?php

$d = new AppGiniHelper\UI\Dashboards\Dashboard();
$d->setBackgroundGradient("whitesmoke", "silver");

list($left, $center, $right) = $d->create([3, 7, 2]);

// left
$left->addTablesGroupedWidget();

// center
$center->addAlertWidget("Attention", "there will be maintenance work tomorrow. this application will be temporarily unavailable between 8am and 11am tomorrow.", "warning");

// right
if (getLoggedMemberID() != "guest")
    $right->addMemberInfoWidget("Benutzer");
else
    $right->addLoginWidget("Anmeldung");

echo $d;