5 $f = $DIC->ui()->factory();
6 $renderer = $DIC->ui()->renderer();
9 return $renderer->render($mainbar);
14 $tools_btn =
$f->button()->bulky(
15 $f->symbol()->icon()->custom(
'./src/UI/examples/Layout/Page/Standard/grid.svg',
''),
19 $more_btn =
$f->button()->bulky(
20 $f->symbol()->icon()->standard(
'',
''),
25 $mainbar =
$f->mainControls()->mainbar()
26 ->withToolsButton($tools_btn)
27 ->withMoreButton($more_btn);
37 foreach ($entries as $id => $entry) {
38 $mainbar = $mainbar->withAdditionalEntry($id, $entry);
41 foreach ($tools as $id => $entry) {
42 $mainbar = $mainbar->withAdditionalToolEntry($id, $entry);
50 $symbol =
$f->symbol()->icon()->custom(
'./src/UI/examples/Layout/Page/Standard/layers.svg',
'')->withSize(
'small');
51 $slate =
$f->maincontrols()->slate()->combined(
'Repository', $symbol,
'');
57 $symbol =
$f->symbol()->icon()->custom(
'./src/UI/examples/Layout/Page/Standard/user.svg',
'')->withSize(
'small');
58 $slate =
$f->maincontrols()->slate()->combined(
'Personal Workspace', $symbol,
'');
64 $symbol =
$f->symbol()->icon()->custom(
'./src/UI/examples/Layout/Page/Standard/achievements.svg',
'')->withSize(
'small');
65 $slate =
$f->maincontrols()->slate()->legacy(
'Achievements', $symbol,
$f->legacy(
'content: Achievements'));
71 $symbol =
$f->symbol()->icon()->custom(
'./src/UI/examples/Layout/Page/Standard/communication.svg',
'')->withSize(
'small');
72 $slate =
$f->maincontrols()->slate()->legacy(
'Communication', $symbol,
$f->legacy(
'content: Communication'));
78 $symbol =
$f->symbol()->icon()->custom(
'./src/UI/examples/Layout/Page/Standard/organisation.svg',
'')->withSize(
'small');
79 $slate =
$f->maincontrols()->slate()->legacy(
'Organisation', $symbol,
$f->legacy(
'content: Organisation'));
85 $symbol =
$f->symbol()->icon()->custom(
'./src/UI/examples/Layout/Page/Standard/administration.svg',
'')->withSize(
'small');
86 $slate =
$f->maincontrols()->slate()->legacy(
'Administration', $symbol,
$f->legacy(
'content: Administration'));
92 $symbol =
$f->symbol()->icon()->custom(
'./src/UI/examples/Layout/Page/Standard/question.svg',
'')->withSize(
'small');
93 $slate =
$f->maincontrols()->slate()->legacy(
'Help', $symbol,
$f->legacy(
'<h2>tool 1</h2><p>Some Text for Tool 1 entry</p>'));
94 $tools = [
'tool1' => $slate];
getDemoEntryAchievements($f)
getDemoEntryAdministration($f)
getDemoEntryOrganisation($f)
getDemoEntryRepository($f)
getDemoEntryPersonalWorkspace($f)
getDemoEntryCommunication($f)