torrents list show seedbox icon

This commit is contained in:
xiaomlove
2022-09-02 19:49:41 +08:00
parent 17b225424e
commit 875e8ea797
19 changed files with 180 additions and 39 deletions
@@ -44,7 +44,7 @@ class TagResource extends Resource
Forms\Components\TextInput::make('margin')->required()->label(__('label.tag.margin')),
Forms\Components\TextInput::make('padding')->required()->label(__('label.tag.padding')),
Forms\Components\TextInput::make('border_radius')->required()->label(__('label.tag.border_radius')),
Forms\Components\TextInput::make('priority')->integer()->label(__('label.priority')),
Forms\Components\TextInput::make('priority')->integer()->required()->label(__('label.priority'))->default(0),
]);
}
@@ -10,4 +10,8 @@ class CreateTag extends CreateRecord
{
protected static string $resource = TagResource::class;
protected function getRedirectUrl(): string
{
return $this->getResource()::getUrl('index');
}
}