Oberfläche Mitarbeiter-App umschaltbar (0.52.0)
Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 14m38s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 14m13s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 11m56s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 11m44s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 56m9s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 1h2m6s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 10m30s
CI / Bekannte Sicherheitslücken in Paketen (pull_request) Successful in 47s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m16s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 9m13s

Einstellung interface (classic|app) im Erscheinungsbild; data-ui am Wurzelelement,
warme Tokens, Karten mit Schatten, Menüpunkte als Pillen; Startseite dreispaltig.

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
This commit is contained in:
Friederich Loheide 2026-09-29 19:17:23 +00:00
parent d79c6284e1
commit 38f47f98e2
145 changed files with 656 additions and 379 deletions

View file

@ -106,6 +106,12 @@ class Branding
return $covers !== [] ? $covers[array_rand($covers)] : ($theme['profile_cover'] ?? null);
}
/** Oberfläche: classic oder app (Mitarbeiter-App) */
public function interface(): string
{
return ($this->active()['interface'] ?? 'classic') === 'app' ? 'app' : 'classic';
}
public function url(?string $path): ?string
{
return $path ? Storage::disk('uploads')->url($path) : null;
@ -184,6 +190,7 @@ class Branding
'header_style' => $theme['header_style'],
'nav_style' => $theme['nav_style'] ?? 'bar',
'page_header' => $theme['page_header'] ?? 'band',
'interface' => $theme['interface'] ?? 'classic',
'color_mode' => $this->forcedColorMode(),
'login' => [
'layout' => $theme['login_layout'],