mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 16:44:44 +02:00
remove search bar
This commit is contained in:
parent
2f82229048
commit
426b82754d
@ -182,6 +182,7 @@ class EggResource extends Resource
|
|||||||
public static function table(Table $table): Table
|
public static function table(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
|
->searchable(false)
|
||||||
->defaultPaginationPageOption(25)
|
->defaultPaginationPageOption(25)
|
||||||
->checkIfRecordIsSelectableUsing(fn (Egg $egg) => $egg->servers_count <= 0)
|
->checkIfRecordIsSelectableUsing(fn (Egg $egg) => $egg->servers_count <= 0)
|
||||||
->columns([
|
->columns([
|
||||||
|
@ -194,7 +194,7 @@ class EditNode extends EditRecord
|
|||||||
->maxValue(65535)
|
->maxValue(65535)
|
||||||
->numeric(),
|
->numeric(),
|
||||||
Forms\Components\TextInput::make('ip_alias')
|
Forms\Components\TextInput::make('ip_alias')
|
||||||
->placeholder('mincraft.pelican.dev')
|
->placeholder('minecraft.pelican.dev')
|
||||||
->columnSpan([
|
->columnSpan([
|
||||||
'default' => 1,
|
'default' => 1,
|
||||||
'sm' => 2,
|
'sm' => 2,
|
||||||
|
@ -616,6 +616,7 @@ class ServerResource extends Resource
|
|||||||
public static function table(Table $table): Table
|
public static function table(Table $table): Table
|
||||||
{
|
{
|
||||||
return $table
|
return $table
|
||||||
|
->searchable(false)
|
||||||
->columns([
|
->columns([
|
||||||
Tables\Columns\TextColumn::make('status')
|
Tables\Columns\TextColumn::make('status')
|
||||||
->default('unknown')
|
->default('unknown')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user