wip
This commit is contained in:
1 parent
8370836efd
commit
7ad439258c
2 files changed
+204
-217
No files matched your search
@@ -33,22 +33,22 @@ class ListUbPlayers extends ListRecords
|
||||
->chunkSize(250)
|
||||
->icon('phosphor-upload')
|
||||
->label('Import')
|
||||
->modalDescription('Separator comma ","; Field content "content"')
|
||||
->importer(UbPlayerImporter::class)
|
||||
->extraModalFooterActions([
|
||||
Action::make('copy')
|
||||
->tooltip('Copy header line')
|
||||
->color('success')
|
||||
->label('Copy')
|
||||
->action(function ($livewire) {
|
||||
$livewire->js('window.navigator.clipboard.writeText(\'"id giocatore", "giocatore", "data di nascita", "altezza", "nazionalita", "posizione", "sport radar id", "id squadra tm", "nome completo", "giocatore senza caratteri speciali", "rigorista", "national team id", "data aggiornamento", "league_code", "team_code", "team_name"\');');
|
||||
->modalDescription('Max 20k rows per import, separator comma ","')
|
||||
->importer(UbPlayerImporter::class),
|
||||
// ->extraModalFooterActions([
|
||||
// Action::make('copy')
|
||||
// ->tooltip('Copy header line')
|
||||
// ->color('success')
|
||||
// ->label('Copy')
|
||||
// ->action(function ($livewire) {
|
||||
// $livewire->js('window.navigator.clipboard.writeText(\'"id giocatore", "giocatore", "data di nascita", "altezza", "nazionalita", "posizione", "sport radar id", "id squadra tm", "nome completo", "giocatore senza caratteri speciali", "rigorista", "national team id", "data aggiornamento", "league_code", "team_code", "team_name"\');');
|
||||
|
||||
Notification::make()
|
||||
->title('Header copied successfully')
|
||||
->success()
|
||||
->send();
|
||||
}),
|
||||
]),
|
||||
// Notification::make()
|
||||
// ->title('Header copied successfully')
|
||||
// ->success()
|
||||
// ->send();
|
||||
// }),
|
||||
// ]),
|
||||
|
||||
];
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user