From dca4d1cdcc4af5d27fa00f4ca61fed484d0c4c26 Mon Sep 17 00:00:00 2001 From: Daniela <69676022+bobicloudvision@users.noreply.github.com> Date: Mon, 20 May 2024 00:18:09 +0300 Subject: [PATCH] update --- web/app/Filament/Pages/CustomerDashboard.php | 203 ++++++++++++++++++ .../pages/customer-dashboard.blade.php | 29 ++- 2 files changed, 223 insertions(+), 9 deletions(-) diff --git a/web/app/Filament/Pages/CustomerDashboard.php b/web/app/Filament/Pages/CustomerDashboard.php index 40445ff..f178c04 100644 --- a/web/app/Filament/Pages/CustomerDashboard.php +++ b/web/app/Filament/Pages/CustomerDashboard.php @@ -21,6 +21,7 @@ class CustomerDashboard extends Page { return [ 'menu' => [ + 'email'=>[ 'title'=>'Email', 'icon'=>'phyre_customer-php', @@ -34,6 +35,86 @@ class CustomerDashboard extends Page 'title'=>'Forwarders', 'icon'=>'heroicon-o-star', 'link'=>'#' + ], + [ + 'title'=>'Email Routing', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Autoresponders', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Default Address', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Mailing Lists', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Track Delivery', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Global Email Filters', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Email Filters', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Email Deliverability', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Address Importer', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Spam Filters', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Encryption', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'BoxTrapper', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Calendars and Contacts Configuration', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Calendars and Contacts Sharing', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Calendars and Contacts Management', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Email Disk Usage', + 'icon'=>'heroicon-o-star', + 'link'=>'#' ] ] ], @@ -51,8 +132,130 @@ class CustomerDashboard extends Page 'title'=>'Manage Biling Information', 'icon'=>'heroicon-o-star', 'link'=>'#' + ], + [ + 'title'=>'Download Resources', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'View Email History', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'View Invoice History', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Search our Knowledgebase', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Check Network Status', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'View Billing Information', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Manage Profile', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Register New Domain', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Transfer a Domain', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Open Ticket', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'View Support Tickets', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Upgrade/Downgrade', + 'icon'=>'heroicon-o-star', + 'link'=>'#' ] ] + ], + + 'files'=>[ + 'title'=>'Files', + 'icon'=>'heroicon-o-star', + 'menu'=>[ + [ + 'title'=>'File Manager', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Images', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Directory Privacy', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Disk Usage', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Web Disk', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'FTP Accounts', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'FTP Connections', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Backup', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Backup Wizard', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'Git Version Control', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + [ + 'title'=>'File and Directory Restoration', + 'icon'=>'heroicon-o-star', + 'link'=>'#' + ], + ] ] diff --git a/web/resources/views/filament/pages/customer-dashboard.blade.php b/web/resources/views/filament/pages/customer-dashboard.blade.php index 0594e41..b770098 100644 --- a/web/resources/views/filament/pages/customer-dashboard.blade.php +++ b/web/resources/views/filament/pages/customer-dashboard.blade.php @@ -1,5 +1,9 @@
+ + + +

Tools

@@ -7,23 +11,30 @@
@foreach($menu as $menuItem) -
-
- - {{$menuItem['title']}} +
+
+
+
+
{{$menuItem['title']}}
+
+
+ + + +
-
+
+
@foreach($menuItem['menu'] as $menuItemLink) -