clupilot/app/resources/views
Boban Blaskovic d1917852f4 Buttons: 28 save/action buttons wired via notify() flash + redirect Status-Code/Match-Typ functional
User: 'alle buttons müssen funktionieren'.

Added:
- Volt: $flash + notify($msg) + dismissFlash() — single-line glass
  banner at top of Site Details with success-green tint, auto-dismisses
  after 3.5s via Alpine setTimeout + close button.
- Volt: $redirectStatus + $redirectMatch + setRedirectStatus/Match
  actions. Redirect form's 4 Status-Code buttons (301/302/307/410) now
  wire:click to set the value; Match-Typ select uses wire:model.live.

Bug fix: PHP auto-casts numeric string array keys to int in foreach.
'[301 => ..., 302 => ...]' as $code => ... gave $code as int.
Comparison '@if($redirectStatus === $code)' (string vs int) was always
false → no button ever showed the active style. Fixed with
'@if((string)$code === $redirectStatus)'.

Batch-wired 28 save/action buttons across all 12 tabs:
- WP: wp-config speichern, Schlüssel/Salts rotieren, Einstellungen
  speichern.
- PHP: php.ini speichern, PHP-FPM neu starten, OPcache leeren.
- vHost: nginx -t Syntax-Check, vHost speichern + reload.
- SSL: Cert herunterladen, Jetzt erneuern, Speichern + reload.
- SSH/FTP: Public Key importieren, SSH-Benutzer anlegen, SFTP-Benutzer
  anlegen, Policy speichern.
- Files: Neue Datei, Upload, Verwerfen, Speichern.
- Cron: Cronjob anlegen.
- Plugins: Plugin/Theme hochladen, Aus Repo, Alle aktualisieren.
- Redirects: Aus CSV importieren, Regel hinzufügen.
- Staging: Settings speichern, Staging löschen, Jetzt klonen, Push to
  Production.

Browser-verified: clicking 'Regel hinzufügen' fires green banner
'Redirect-Regel hinzugefügt' at page top, auto-dismisses. Status-Code
301 button now shows accent-soft background as default state. 0
console errors. 5/5 SiteDetailsTest still green.
2026-06-01 00:52:48 +02:00
..
components UI: sidebar fixed-header/scroll-mid/fixed-foot + mobile drawer + ChartJS 2026-05-31 23:17:29 +02:00
layouts Sidebar position:fixed (never scrolls) + main bottom padding + mobile responsive 2026-06-01 00:06:46 +02:00
livewire Buttons: 28 save/action buttons wired via notify() flash + redirect Status-Code/Match-Typ functional 2026-06-01 00:52:48 +02:00
dashboard.blade.php Portainer-ready compose stack + app changes 2026-05-31 17:04:03 +02:00
placeholder.blade.php Sidebar position:fixed (never scrolls) + main bottom padding + mobile responsive 2026-06-01 00:06:46 +02:00
profile.blade.php Initial CluPilot stack setup 2026-05-27 23:00:14 +02:00
welcome.blade.php Initial CluPilot stack setup 2026-05-27 23:00:14 +02:00