tabulator css include on moitor
This commit is contained in:
1 parent
461dc178d1
commit
98928ca2ef
10 files changed
+54
-3
No files matched your search
@@ -0,0 +1,22 @@
|
||||
<?php
|
||||
|
||||
namespace App\Filament\Pages;
|
||||
|
||||
use BackedEnum;
|
||||
use Filament\Pages\Page;
|
||||
use UnitEnum;
|
||||
|
||||
class Monitor extends Page
|
||||
{
|
||||
protected static string|BackedEnum|null $navigationIcon = 'lucide-monitor';
|
||||
|
||||
protected string $view = 'filament.pages.monitor';
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
protected static ?string $navigationLabel = 'Monitor';
|
||||
|
||||
protected static ?string $pluralLabel = 'Monitor';
|
||||
|
||||
// protected static string|UnitEnum|null $navigationGroup = 'Administration';
|
||||
}
|
||||
@@ -2,6 +2,8 @@
|
||||
|
||||
namespace App\Providers;
|
||||
|
||||
use Filament\Support\Assets\Css;
|
||||
use Filament\Support\Facades\FilamentAsset;
|
||||
use Illuminate\Support\ServiceProvider;
|
||||
|
||||
class AppServiceProvider extends ServiceProvider
|
||||
@@ -19,6 +21,8 @@ class AppServiceProvider extends ServiceProvider
|
||||
*/
|
||||
public function boot(): void
|
||||
{
|
||||
//
|
||||
FilamentAsset::register([
|
||||
Css::make('tabulator-stylesheet', __DIR__.'/../../node_modules/tabulator-tables/dist/css/tabulator.min.css')->loadedOnRequest(),
|
||||
]);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user