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
+ {{-- Flash banner --}} + @if ($flash) +
+
+ + {{ $flash }} + +
+
+ @endif + {{-- ── Topbar ── --}}
@@ -431,7 +461,7 @@ new #[Layout('layouts.app')] class extends Component { Besuchen - @@ -506,15 +536,15 @@ new #[Layout('layouts.app')] class extends Component {

Datei-Manager

- - + +
/var/www/bergmann - +
{!! clu_render_tree($this->fileTree, $activeFile, $openDirs) !!}
@@ -533,8 +563,8 @@ new #[Layout('layouts.app')] class extends Component {
✓ geladen · {{ $lines }} Zeilen
- - + +
@@ -547,7 +577,7 @@ new #[Layout('layouts.app')] class extends Component {

Cronjobs

- @@ -673,7 +703,7 @@ new #[Layout('layouts.app')] class extends Component { Plugins
- + +
@endif
@@ -736,7 +766,7 @@ new #[Layout('layouts.app')] class extends Component {

Themes

- +
@@ -827,20 +857,23 @@ new #[Layout('layouts.app')] class extends Component {
-
- - - - +
+ @foreach (['301' => '301 (Permanent)', '302' => '302 (Temporär)', '307' => '307 (Strict)', '410' => '410 (Gone)'] as $code => $lbl) + + @endforeach
- + + + +
@@ -856,8 +889,8 @@ new #[Layout('layouts.app')] class extends Component {
- - + +
@@ -962,9 +995,9 @@ new #[Layout('layouts.app')] class extends Component {
@if ($stagingActive) - + @endif - +
@@ -1094,8 +1127,8 @@ new #[Layout('layouts.app')] class extends Component {
- - + +
@@ -1199,9 +1232,9 @@ new #[Layout('layouts.app')] class extends Component {
- - - + + +
@@ -1257,7 +1290,7 @@ new #[Layout('layouts.app')] class extends Component {
- +
- +
@@ -1350,8 +1383,8 @@ new #[Layout('layouts.app')] class extends Component {
- - + +
@@ -1383,7 +1416,7 @@ new #[Layout('layouts.app')] class extends Component {
Statusstark
- +
@@ -1404,7 +1437,7 @@ new #[Layout('layouts.app')] class extends Component {
- +
@@ -1440,8 +1473,8 @@ new #[Layout('layouts.app')] class extends Component {
- - + +
@@ -1456,7 +1489,7 @@ new #[Layout('layouts.app')] class extends Component {
opcache.revalidate_freq60 s
- +