first work on dashboard template (admin and customer)

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-02-17 12:01:54 +01:00
parent 96b2b2e065
commit 181fa96431
8 changed files with 197 additions and 58 deletions

View File

@@ -185,7 +185,8 @@ if ($page == 'overview') {
}
// @fixme add all the overview/dashboard data from above
UI::TwigBuffer('admin/index.html.twig');
UI::Twig()->addGlobal('userinfo', $userinfo);
UI::TwigBuffer('user/index.html.twig');
UI::TwigOutputBuffer();
} elseif ($page == 'change_password') {