remove lucide
This commit is contained in:
1 parent
d2caac4bcc
commit
208ef96178
46 files changed
+174
-337
No files matched your search
@@ -7,7 +7,7 @@ use Filament\Clusters\Cluster;
|
||||
|
||||
class AdministratorCluster extends Cluster
|
||||
{
|
||||
protected static string|BackedEnum|null $navigationIcon = 'phosphor-user';
|
||||
protected static string|BackedEnum|null $navigationIcon = 'phosphor-atom';
|
||||
|
||||
protected static ?int $navigationSort = 3;
|
||||
}
|
||||
@@ -10,14 +10,13 @@ use App\Models\Bettype;
|
||||
use BackedEnum;
|
||||
use Filament\Resources\Resource;
|
||||
use Filament\Schemas\Schema;
|
||||
use Filament\Support\Icons\Heroicon;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
class BettypeResource extends Resource
|
||||
{
|
||||
protected static ?string $model = Bettype::class;
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = Heroicon::AdjustmentsHorizontal;
|
||||
protected static string|BackedEnum|null $navigationIcon = 'phosphor-sliders';
|
||||
|
||||
protected static ?string $cluster = AdministratorCluster::class;
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ class BookmakerResource extends Resource
|
||||
|
||||
protected static ?int $navigationSort = 21;
|
||||
|
||||
protected static string|\BackedEnum|null $navigationIcon = 'lucide-notebook-pen';
|
||||
protected static string|\BackedEnum|null $navigationIcon = 'phosphor-bookmarks-simple';
|
||||
|
||||
protected static ?string $cluster = AdministratorCluster::class;
|
||||
|
||||
|
||||
@@ -24,7 +24,7 @@ class CountryResource extends Resource
|
||||
|
||||
protected static ?int $navigationSort = 22;
|
||||
|
||||
protected static string|\BackedEnum|null $navigationIcon = 'lucide-flag';
|
||||
protected static string|\BackedEnum|null $navigationIcon = 'phosphor-flag';
|
||||
|
||||
protected static ?string $cluster = AdministratorCluster::class;
|
||||
|
||||
|
||||
@@ -317,12 +317,11 @@ class EventsTable
|
||||
Action::make('txodds_odds')
|
||||
->label('TxOdds')
|
||||
->disabled(fn () => ! auth()->user()->hasRole('super_admin'))
|
||||
->icon('heroicon-o-arrow-top-right-on-square')
|
||||
->icon('phosphor-arrow-square-out')
|
||||
->url(fn ($record): string => route('txodds_odds', ['sportid' => $record->sport_id, 'txoddsid' => $record->id]))
|
||||
->openUrlInNewTab(),
|
||||
])->iconButton()
|
||||
->icon('heroicon-m-ellipsis-vertical')
|
||||
->color('primary'),
|
||||
->icon('phosphor-dots-three-vertical'),
|
||||
])->toolbarActions([
|
||||
BulkActionGroup::make([
|
||||
DeleteBulkAction::make()->visible(fn () => auth()->user()->hasRole('super_admin')),
|
||||
|
||||
@@ -19,7 +19,7 @@ class ProviderResource extends Resource
|
||||
|
||||
protected static ?int $navigationSort = 23;
|
||||
|
||||
protected static string|BackedEnum|null $navigationIcon = 'lucide-arrow-down-up';
|
||||
protected static string|BackedEnum|null $navigationIcon = 'phosphor-books';
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ class SportResource extends Resource
|
||||
|
||||
protected static ?int $navigationSort = 24;
|
||||
|
||||
protected static string|\BackedEnum|null $navigationIcon = 'lucide-volleyball';
|
||||
protected static string|\BackedEnum|null $navigationIcon = 'phosphor-volleyball';
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
|
||||
@@ -15,7 +15,7 @@ class SupervisorResource extends Resource
|
||||
{
|
||||
protected static ?string $model = Supervisor::class;
|
||||
|
||||
protected static string|\BackedEnum|null $navigationIcon = 'lucide-sliders-vertical';
|
||||
protected static string|\BackedEnum|null $navigationIcon = 'phosphor-network';
|
||||
|
||||
protected static ?string $cluster = AdministratorCluster::class;
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Columns\ToggleColumn;
|
||||
use Filament\Tables\Enums\FiltersLayout;
|
||||
use Filament\Tables\Filters\SelectFilter;
|
||||
use Filament\Tables\Filters\TernaryFilter;
|
||||
use Filament\Tables\Table;
|
||||
|
||||
class SupervisorsTable
|
||||
@@ -41,8 +42,9 @@ class SupervisorsTable
|
||||
TextColumn::make('days_to')->label('To'),
|
||||
TextColumn::make('sleep')->numeric(),
|
||||
TextColumn::make('runtime')->label('Run Time'),
|
||||
TextColumn::make('maxsconds')->label('Max Time'),
|
||||
IconColumn::make('is_cron')->boolean()->label('Cron')->falseColor('gray'),
|
||||
// TextColumn::make('maxsconds')->label('Max Time'),
|
||||
// IconColumn::make('is_cron')->boolean()->label('Cron')->falseColor('gray'),
|
||||
ToggleColumn::make('is_cron')->label('Cron'),
|
||||
ToggleColumn::make('is_active')->label('Active'),
|
||||
])
|
||||
->filters([
|
||||
@@ -50,6 +52,8 @@ class SupervisorsTable
|
||||
->default(1)
|
||||
->relationship('provider', 'name')
|
||||
->label('Provider'),
|
||||
TernaryFilter::make('is_cron'),
|
||||
TernaryFilter::make('is_active'),
|
||||
], layout: FiltersLayout::AboveContent)
|
||||
->deferFilters(false)
|
||||
->recordActions([
|
||||
|
||||
@@ -17,7 +17,7 @@ class UserResource extends Resource
|
||||
|
||||
protected static ?int $navigationSort = 31;
|
||||
|
||||
protected static string|\BackedEnum|null $navigationIcon = 'lucide-user';
|
||||
protected static string|\BackedEnum|null $navigationIcon = 'phosphor-user';
|
||||
|
||||
protected static ?string $recordTitleAttribute = 'name';
|
||||
|
||||
|
||||
Reference in new issue
Block a user