Skip to content

Commit

Permalink
Merge pull request #483 from andreapollastri/4.x
Browse files Browse the repository at this point in the history
Dashboard Fix
  • Loading branch information
andreapollastri authored Mar 17, 2024
2 parents a430bc8 + 22d227e commit 0d7aae1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/Filament/Widgets/StatsOverview.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@ protected function getStats(): array
->description('Server IP')
->descriptionIcon('heroicon-m-globe-alt'),
Stat::make('Name', config('panel.serverName'))
->description('Server Name')
->descriptionIcon('heroicon-m-rocket-launch'),
->description('Server name')
->descriptionIcon('heroicon-m-server'),
Stat::make('CPU', (isset($stats->cpu)) ? $stats->cpu.'%' : '0'.'%')
->description('CPU usage')
->descriptionIcon('heroicon-m-cpu-chip')
Expand All @@ -38,10 +38,10 @@ protected function getStats(): array
->chart($chart->pluck('ram')->reverse()->toArray()),
Stat::make('HDD', (isset($stats->hdd)) ? $stats->hdd : '0%')
->description('HDD usage')
->descriptionIcon('heroicon-m-server'),
->descriptionIcon('heroicon-m-cloud'),
Stat::make('Sites', Site::count())
->description('Hosted sites')
->descriptionIcon('heroicon-m-computer-desktop'),
->descriptionIcon('heroicon-m-rocket-launch'),
];
}
}

0 comments on commit 0d7aae1

Please sign in to comment.