Beistrich bei Eingabe statt Punkt
This commit is contained in:
1 parent
096c8cf091
commit
ddbf171881
15 files changed
+407
-305
No files matched your search
@@ -4,6 +4,7 @@ namespace App\Filament\Resources\Gutachters\Schemas;
|
||||
|
||||
use App\Actions\Helper\ShowHelp;
|
||||
use Filament\Forms\Components\Checkbox;
|
||||
use Filament\Forms\Components\ColorPicker;
|
||||
use Filament\Forms\Components\FileUpload;
|
||||
use Filament\Forms\Components\Radio;
|
||||
use Filament\Forms\Components\RichEditor;
|
||||
@@ -83,10 +84,12 @@ class GutachterForm
|
||||
]),
|
||||
TextInput::make('logo_height')
|
||||
->hidden(fn (Get $get): bool => ! $get('logo_anzeigen'))
|
||||
->belowLabel('190mm ist die halbe Breite der Seite')
|
||||
->numeric()
|
||||
->default(70)
|
||||
->minValue(20)
|
||||
->maxValue(100)
|
||||
->label('Logo Höhe')
|
||||
->label('Logo Breite')
|
||||
->required()
|
||||
->suffix('mm'),
|
||||
])->columns(2),
|
||||
@@ -142,6 +145,16 @@ class GutachterForm
|
||||
->acceptedFileTypes(['image/jpeg', 'image/png', 'image/webp'])
|
||||
->visibility('public'),
|
||||
])->columns(2),
|
||||
Tab::make('Farben')
|
||||
->icon('phosphor-palette')
|
||||
->schema([
|
||||
ColorPicker::make('deckblatt_bg')->label('Deckblatt')
|
||||
->belowContent('Farbe des Hintergrundes'),
|
||||
ColorPicker::make('schmuckfarbe_header')->label('Überschriften')
|
||||
->belowContent('Farbe des Hintergrundes'),
|
||||
ColorPicker::make('farbe_borders')->label('Rahmen')
|
||||
->belowContent('Farbe von Rahmen und Begrenzungen'),
|
||||
])->columns(2),
|
||||
])->columnSpanFull(),
|
||||
]);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user