wip
This commit is contained in:
1 parent
0afb7944bc
commit
01e22c4c6b
11 files changed
+19
-13
No files matched your search
@@ -21,7 +21,7 @@ class ListPlayers extends ListRecords
|
||||
ImportAction::make('importPlayer')
|
||||
->icon('phosphor-upload')
|
||||
->label('Import')
|
||||
->modalDescription('Separator comma ",", First line: "name,player_id"')
|
||||
->modalDescription('Separator comma ",", First line: "name,tm_player_id"')
|
||||
->importer(PlayerImporter::class),
|
||||
];
|
||||
}
|
||||
|
||||
@@ -12,7 +12,8 @@ class PlayerForm
|
||||
return $schema
|
||||
->components([
|
||||
TextInput::make('name'),
|
||||
TextInput::make('player_id')->afterLabel(['Must be unique']),
|
||||
TextInput::make('tm_player_id')->afterLabel(['Must be unique']),
|
||||
TextInput::make('ss_player_id')->afterLabel(['Must be unique']),
|
||||
]);
|
||||
}
|
||||
}
|
||||
@@ -18,7 +18,7 @@ class PlayersTable
|
||||
Stack::make([
|
||||
TextColumn::make('name')
|
||||
->searchable(),
|
||||
TextColumn::make('id')
|
||||
TextColumn::make('tm_player_id')
|
||||
->badge()
|
||||
->searchable(),
|
||||
]),
|
||||
|
||||
Reference in new issue
Block a user