diff --git a/app/resources/views/livewire/pages/sites/show.blade.php b/app/resources/views/livewire/pages/sites/show.blade.php index 75dc357..38e977a 100644 --- a/app/resources/views/livewire/pages/sites/show.blade.php +++ b/app/resources/views/livewire/pages/sites/show.blade.php @@ -37,6 +37,23 @@ new #[Layout('layouts.app')] class extends Component { /** UI-state for password reveal. */ public bool $showDbPassword = false; + /** Flash banner (notify). */ + public ?string $flash = null; + + public function notify(string $msg): void + { + $this->flash = $msg; + } + + public function dismissFlash(): void { $this->flash = null; } + + /** Redirect form state. */ + public string $redirectStatus = '301'; // 301 | 302 | 307 | 410 + public string $redirectMatch = 'Exact'; // Exact | Prefix | Regex | Wildcard + + public function setRedirectStatus(string $s): void { $this->redirectStatus = $s; } + public function setRedirectMatch(string $m): void { $this->redirectMatch = $m; } + /** Generic settings bag for all toggle-rows across tabs. */ public array $settings = [ // vHost @@ -407,6 +424,19 @@ new #[Layout('layouts.app')] class extends Component { @endphp