From 8636f6d6b8e4d05e31d0ef5ae2ab8b68773d1a07 Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Mon, 5 Sep 2022 20:08:48 +0200 Subject: [PATCH] refactor UI --- .../themes/booty/css/bludit.bootstrap.css | 4 -- bl-kernel/admin/themes/booty/html/sidebar.php | 14 +++--- bl-kernel/admin/views/dashboard.php | 44 ++++++++++++++++--- 3 files changed, 44 insertions(+), 18 deletions(-) diff --git a/bl-kernel/admin/themes/booty/css/bludit.bootstrap.css b/bl-kernel/admin/themes/booty/css/bludit.bootstrap.css index e99a96ae..7ccce8f3 100644 --- a/bl-kernel/admin/themes/booty/css/bludit.bootstrap.css +++ b/bl-kernel/admin/themes/booty/css/bludit.bootstrap.css @@ -24,10 +24,6 @@ a.text-danger:hover { } /* Buttons */ -.btn { - border-radius: 2px; -} - .btn-primary { background-color: #0078D4; border-color: #0078D4; diff --git a/bl-kernel/admin/themes/booty/html/sidebar.php b/bl-kernel/admin/themes/booty/html/sidebar.php index 5a2508b5..36835d03 100644 --- a/bl-kernel/admin/themes/booty/html/sidebar.php +++ b/bl-kernel/admin/themes/booty/html/sidebar.php @@ -31,30 +31,30 @@

p('Manage') ?>

diff --git a/bl-kernel/admin/views/dashboard.php b/bl-kernel/admin/views/dashboard.php index c1606fd5..a9d4269c 100644 --- a/bl-kernel/admin/views/dashboard.php +++ b/bl-kernel/admin/views/dashboard.php @@ -5,11 +5,21 @@

- g('hello') ?> + username(); + $user = new User($username); + $name = ''; + if ($user->nickname()) { + $name = $user->nickname(); + } elseif ($user->firstName()) { + $name = $user->firstName(); + } + ?> + g('hello').' '.$name ?>

-
+ @@ -122,7 +152,7 @@