wip change bettype in events monitor
This commit is contained in:
1 parent
245255756c
commit
c6fd66189b
15 files changed
+255
-279
No files matched your search
@@ -2,7 +2,6 @@
|
||||
|
||||
namespace App\Filament\Resources\Bookmakers\Schemas;
|
||||
|
||||
use Filament\Forms\Components\FileUpload;
|
||||
use Filament\Forms\Components\TextInput;
|
||||
use Filament\Schemas\Schema;
|
||||
|
||||
@@ -16,10 +15,6 @@ class BookmakerForm
|
||||
->required(),
|
||||
TextInput::make('icon')
|
||||
->required(),
|
||||
FileUpload::make('image')
|
||||
->preserveFilenames()
|
||||
->columnSpan(2)
|
||||
->default(null),
|
||||
TextInput::make('baid')
|
||||
->numeric()
|
||||
->default(0),
|
||||
|
||||
@@ -2,9 +2,8 @@
|
||||
|
||||
namespace App\Filament\Resources\Bookmakers\Tables;
|
||||
|
||||
use App\Filament\Tables\Columns\BookmakerIcon;
|
||||
use Filament\Actions\EditAction;
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
use Filament\Tables\Columns\ImageColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Columns\ToggleColumn;
|
||||
use Filament\Tables\Filters\TernaryFilter;
|
||||
@@ -19,19 +18,13 @@ class BookmakersTable
|
||||
->columns([
|
||||
TextColumn::make('name')
|
||||
->searchable(),
|
||||
IconColumn::make('icon')
|
||||
->trueColor('black')
|
||||
->size('2xl')
|
||||
->icon(function ($record): string {
|
||||
return 'bkm-'.$record->icon;
|
||||
}),
|
||||
ImageColumn::make('image')
|
||||
->imageHeight(30)
|
||||
->imageWidth(110),
|
||||
BookmakerIcon::make('icon')->label('Icon'),
|
||||
TextColumn::make('baid')
|
||||
->label('BAID')
|
||||
->numeric()
|
||||
->sortable(),
|
||||
TextColumn::make('txid')
|
||||
->label('TXID')
|
||||
->numeric()
|
||||
->sortable(),
|
||||
ToggleColumn::make('txso')->offColor('gray'),
|
||||
|
||||
Reference in new issue
Block a user