diff --git a/composer.json b/composer.json index 715ca02..1d35eb3 100644 --- a/composer.json +++ b/composer.json @@ -1,6 +1,6 @@ { - "name": "aglipanci/laravel-dashboard-forge-tile1", - "description": "1.1.0", + "name": "aglipanci/laravel-dashboard-forge-tile", + "description": "2.2.0", "license": "MIT", "authors": [ { @@ -13,7 +13,7 @@ "require": { "php": "^7.4", "spatie/laravel-dashboard": "^2.0", - "themsaid/forge-sdk": "^2.1" + "laravel/forge-sdk": "^3.1" }, "require-dev": { "phpunit/phpunit": "^9.0" diff --git a/resources/views/recent-events.blade.php b/resources/views/recent-events.blade.php index 1285428..9b46fc4 100644 --- a/resources/views/recent-events.blade.php +++ b/resources/views/recent-events.blade.php @@ -5,21 +5,30 @@
- - @endforeach + + @endforeach + @else +
+ +
!
+
+ Currently there are no events. Make sure you have configured the background command. +
+ @endif diff --git a/resources/views/servers.blade.php b/resources/views/servers.blade.php index ef53de8..7f80608 100644 --- a/resources/views/servers.blade.php +++ b/resources/views/servers.blade.php @@ -6,23 +6,32 @@
- - @endforeach + + @endforeach + @else +
+ +
!
+
+ Currently there are no servers. Make sure you have configured the background command. +
+ @endif diff --git a/src/Commands/FetchForgeRecentEventsCommand.php b/src/Commands/FetchForgeRecentEventsCommand.php index 5d03fd6..614da53 100644 --- a/src/Commands/FetchForgeRecentEventsCommand.php +++ b/src/Commands/FetchForgeRecentEventsCommand.php @@ -4,7 +4,7 @@ use aglipanci\ForgeTile\ForgeStore; use Illuminate\Console\Command; -use Themsaid\Forge\Forge; +use Laravel\Forge\Forge; class FetchForgeRecentEventsCommand extends Command { diff --git a/src/Commands/FetchForgeServersCommand.php b/src/Commands/FetchForgeServersCommand.php index 29c2ff4..c1927bf 100644 --- a/src/Commands/FetchForgeServersCommand.php +++ b/src/Commands/FetchForgeServersCommand.php @@ -4,7 +4,7 @@ use aglipanci\ForgeTile\ForgeStore; use Illuminate\Console\Command; -use Themsaid\Forge\Forge; +use Laravel\Forge\Forge; class FetchForgeServersCommand extends Command { diff --git a/src/ForgeTileServiceProvider.php b/src/ForgeTileServiceProvider.php index 639f007..d25933a 100644 --- a/src/ForgeTileServiceProvider.php +++ b/src/ForgeTileServiceProvider.php @@ -8,7 +8,7 @@ use aglipanci\ForgeTile\Components\ForgeServersComponent; use Illuminate\Support\ServiceProvider; use Livewire\Livewire; -use Themsaid\Forge\Forge; +use Laravel\Forge\Forge; class ForgeTileServiceProvider extends ServiceProvider {