mirror of
https://github.com/pelican-dev/panel.git
synced 2025-05-29 15:34:44 +02:00
Merge branch 'feature/filament' of github.com:pelican-dev/panel into feature/filament
This commit is contained in:
commit
0b1712f653
@ -72,7 +72,6 @@ class DatabaseHostResource extends Resource
|
||||
Tables\Columns\TextColumn::make('host')
|
||||
->searchable(),
|
||||
Tables\Columns\TextColumn::make('port')
|
||||
->numeric()
|
||||
->sortable(),
|
||||
Tables\Columns\TextColumn::make('username')
|
||||
->searchable(),
|
||||
|
@ -84,6 +84,7 @@ class UserResource extends Resource
|
||||
->columns([
|
||||
Tables\Columns\ImageColumn::make('picture')
|
||||
->label('')
|
||||
->extraImgAttributes(['class' => 'rounded-full'])
|
||||
->defaultImageUrl(fn (User $user) => 'https://gravatar.com/avatar/' . md5(strtolower($user->email))),
|
||||
Tables\Columns\TextColumn::make('external_id')
|
||||
->searchable()
|
||||
|
@ -65,6 +65,11 @@ class DatabaseHost extends Model
|
||||
];
|
||||
}
|
||||
|
||||
public function getRouteKeyName(): string
|
||||
{
|
||||
return 'id';
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets the node associated with a database host.
|
||||
*/
|
||||
|
@ -35,7 +35,7 @@ export default forwardRef<HTMLFormElement, Props>(({ title, ...props }, ref) =>
|
||||
<Form {...props} ref={ref}>
|
||||
<div css={tw`md:flex w-full bg-white shadow-lg rounded-lg p-6 md:pl-0 mx-1`}>
|
||||
<div css={tw`flex-none select-none mb-6 md:mb-0 self-center p-6`}>
|
||||
<img src={'/pelican.svg'} css={tw`block w-48 md:w-64 mx-auto`} />
|
||||
<img src={'/pelican.svg'} css={tw`block w-48 md:w-56 mx-auto`} />
|
||||
</div>
|
||||
<div css={tw`flex-1`}>{props.children}</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user