mirror of
https://github.com/anna-sara/filament_inventory
synced 2025-10-26 23:27:13 +01:00
Test cdn
This commit is contained in:
parent
bf30fb6af1
commit
f6b8ae7104
3 changed files with 3 additions and 7 deletions
|
|
@ -58,11 +58,11 @@ class Reserve extends BasePage implements HasTable
|
||||||
ImageColumn::make('image')
|
ImageColumn::make('image')
|
||||||
->label('Bild')
|
->label('Bild')
|
||||||
->size('100%')
|
->size('100%')
|
||||||
->disk('public')
|
|
||||||
->extraImgAttributes([
|
->extraImgAttributes([
|
||||||
'class' => 'rounded-md',
|
'class' => 'rounded-md',
|
||||||
'loading' => 'lazy'
|
'loading' => 'lazy'
|
||||||
]),
|
]),
|
||||||
|
//->visibility('private'),
|
||||||
TextColumn::make('desc')
|
TextColumn::make('desc')
|
||||||
->label('Beskrivning')
|
->label('Beskrivning')
|
||||||
->sortable()
|
->sortable()
|
||||||
|
|
|
||||||
|
|
@ -75,12 +75,10 @@ class ItemResource extends Resource
|
||||||
FileUpload::make('image')
|
FileUpload::make('image')
|
||||||
->label('Image')
|
->label('Image')
|
||||||
->disk('public')
|
->disk('public')
|
||||||
->directory('images')
|
|
||||||
->translateLabel()
|
->translateLabel()
|
||||||
->minSize(25)
|
->minSize(25)
|
||||||
->maxSize(5500)
|
->maxSize(5500)
|
||||||
->columnSpan('full')
|
->columnSpan('full')
|
||||||
//->visibility('private')
|
|
||||||
->image(),
|
->image(),
|
||||||
TextInput::make('desc')
|
TextInput::make('desc')
|
||||||
->label('Description')
|
->label('Description')
|
||||||
|
|
@ -148,8 +146,6 @@ class ItemResource extends Resource
|
||||||
ImageColumn::make('image')
|
ImageColumn::make('image')
|
||||||
->label('Image')
|
->label('Image')
|
||||||
->translateLabel()
|
->translateLabel()
|
||||||
->disk('public')
|
|
||||||
//->visibility('private')
|
|
||||||
->extraImgAttributes([
|
->extraImgAttributes([
|
||||||
'class' => 'rounded-md',
|
'class' => 'rounded-md',
|
||||||
'loading' => 'lazy'
|
'loading' => 'lazy'
|
||||||
|
|
|
||||||
|
|
@ -40,8 +40,8 @@ return [
|
||||||
'public' => [
|
'public' => [
|
||||||
'driver' => 'local',
|
'driver' => 'local',
|
||||||
'root' => storage_path('app/public'),
|
'root' => storage_path('app/public'),
|
||||||
'url' => env('APP_URL').'/storage',
|
//'url' => env('APP_URL').'/storage',
|
||||||
//'url' => 'media.boka.vbytes.se',
|
'url' => 'media.boka.vbytes.se/storage',
|
||||||
'visibility' => 'public',
|
'visibility' => 'public',
|
||||||
'throw' => false,
|
'throw' => false,
|
||||||
],
|
],
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue