first 11 point from list made

This commit is contained in:
salam committed 2025-11-27 12:41:26 +01:00
1 parent 3ed7d7adff
commit 096c8cf091
17 files changed
+299 -186

No files matched your search

@@ -31,6 +31,7 @@ class ProjekteForm
->contained(false)
->tabs([
Tab::make('Benennung')
->icon('phosphor-article-medium')
->schema([
TextInput::make('offizieller_name')
->label('Offizieller Name')
@@ -60,6 +61,10 @@ class ProjekteForm
'Als Platzhalter "###INTERNER_NAME###"',
])
->required(),
])->columns(2),
Tab::make('Ort & Datum')
->icon('phosphor-calendar-check')
->schema([
TextInput::make('ort')->required()->suffix('am')
->belowContent([
'Als Platzhalter "###ORT###"',
@@ -70,9 +75,9 @@ class ProjekteForm
->belowContent([
'Als Platzhalter "###DATUM###"',
]),
ColorPicker::make('deckblatt_bg')->label('Deckblatt Hintegrund Farbe'),
])->columns(2),
Tab::make('Zuordnung')
Tab::make('Gutachter & Auftraggeber')
->icon('phosphor-identification-card')
->schema([
Select::make('gutachter_id')->relationship(name: 'gutachter', titleAttribute: 'company')->required(),
Select::make('auftraggeber_id')
@@ -82,9 +87,11 @@ class ProjekteForm
->required(),
Radio::make('status')->options(ProjektStatus::class)->required(),
]),
Tab::make('Beschreibung')
Tab::make('Notizen')
->icon('phosphor-notebook')
->schema([
RichEditor::make('beschreibung')
->label('Notizen')
->extraInputAttributes(['style' => 'min-height: 20rem; max-height: 50vh; overflow-y: auto;'])
->toolbarButtons([
['bold', 'italic', 'underline', 'strike', 'subscript', 'superscript', 'link', 'textColor', 'clearFormatting'],
@@ -102,6 +109,17 @@ class ProjekteForm
])
->columnSpan(2),
]),
Tab::make('Farben')
->icon('phosphor-palette')
->schema([
ColorPicker::make('deckblatt_bg')->label('Deckblatt')
->belowContent('Farbe des Hintergrundes am Deckblatt.'),
ColorPicker::make('schmuckfarbe_header')->label('Überschriften')
->belowContent('Farbe des Hintergrundes bei Überschriften.'),
ColorPicker::make('farbe_borders')->label('Rahmen')
->belowContent('Farbe von Rahmen und Rändern bei Tabellen und Boxen.'),
])->columns(3)
->columnSpanFull(),
]),
])->columnSpanFull(),