You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: app/base/controllers/Admin/Dashboard.php
+18-10Lines changed: 18 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -145,22 +145,30 @@ public function getTemplateData(): array
145
145
publicfunctiongetUiTourSteps(): array
146
146
{
147
147
return [
148
-
/*
149
148
[
150
-
'element' => '#sidebar',
151
-
'popover' => [
152
-
'title' => __('Menu Sidebar'),
153
-
'description' => __('Use the sidebar to navigate through different sections of the admin panel. Click on the icons to expand and access various features and settings.'),
149
+
'title' => __('Menu Sidebar'),
150
+
'text' => __('Use the sidebar to navigate through different sections of the admin panel. Click on the icons to expand and access various features and settings.'), // popover['description'] diventa text
151
+
'attachTo' => [
152
+
'element' => '#sidebar',
153
+
'on' => 'right',
154
154
],
155
155
],
156
156
[
157
-
'element' => 'main',
158
-
'popover' => [
159
-
'title' => __('Quick Access Links'),
160
-
'description' => __('Use these links to quickly navigate to different sections of the admin panel for managing content, users, settings, and more.'),
157
+
'title' => __('Logout'),
158
+
'text' => __('This is the logout button.'),
159
+
'attachTo' => [
160
+
'element' => '#logout-btn',
161
+
'on' => 'bottom',
162
+
],
163
+
],
164
+
[
165
+
'title' => __('Dark theme switcher'),
166
+
'text' => __('This switches between dark and light theme.'),
0 commit comments