Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 3m47s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 3m41s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 4m8s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 4m6s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 5m25s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 5m23s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 4m39s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 4m40s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m8s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
39 lines
1.5 KiB
PHP
39 lines
1.5 KiB
PHP
<?php
|
|
|
|
namespace App\Filament\Pages\Appearance;
|
|
|
|
use BackedEnum;
|
|
use Filament\Forms\Components\Repeater;
|
|
use Filament\Forms\Components\Textarea;
|
|
use Filament\Forms\Components\TextInput;
|
|
use Filament\Support\Icons\Heroicon;
|
|
|
|
class AppearanceFooter extends AppearancePage
|
|
{
|
|
protected static string|BackedEnum|null $navigationIcon = Heroicon::OutlinedEnvelope;
|
|
|
|
protected static int $formColumns = 1;
|
|
|
|
protected static ?int $navigationSort = 6;
|
|
|
|
protected static ?string $navigationLabel = 'Fußzeile & E-Mails';
|
|
|
|
protected static ?string $title = 'Fußzeile & E-Mails';
|
|
|
|
protected static ?string $slug = 'fusszeile';
|
|
|
|
protected function fields(): array
|
|
{
|
|
return [
|
|
TextInput::make('footer_text')->label('Text in der Fußzeile')->placeholder('© 2027 Musterstift gGmbH')->maxLength(200),
|
|
Repeater::make('footer_links')->label('Links in der Fußzeile')->columns(2)->defaultItems(0)->reorderable()
|
|
->addActionLabel('Link hinzufügen')->maxItems(8)
|
|
->schema([
|
|
TextInput::make('label')->label('Bezeichnung')->required()->maxLength(60)->placeholder('Impressum'),
|
|
TextInput::make('url')->label('Adresse')->required()->maxLength(500)->placeholder('https://… oder /seiten/impressum'),
|
|
]),
|
|
Textarea::make('email_footer')->label('Fußzeile in E-Mails')->rows(3)->maxLength(500)
|
|
->helperText('Z. B. Anschrift und Hinweis. Logo und Markenfarbe übernehmen die E-Mails automatisch.'),
|
|
];
|
|
}
|
|
}
|