UI-Verbesserungen, PWA-Icons, Branding und Settings-Erweiterung
Invertiertes Logo für Admin-Navbar, neue PWA-Icons, Manifest-Updates, Tailwind-Config-Extraktion, Farb-/Namenseinstellungen im Admin-Bereich und diverse Layout-Optimierungen. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<title>{{ __('ui.admin') }} - {{ $title ?? \App\Models\Setting::get('app_name', config('app.name')) }}</title>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
@include('components.tailwind-config')
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.14.9/dist/cdn.min.js" integrity="sha384-9Ax3MmS9AClxJyd5/zafcXXjxmwFhZCdsT6HJoJjarvCaAkJlk5QDzjLJm+Wdx5F" crossorigin="anonymous"></script>
|
||||
@php $favicon = \App\Models\Setting::get('app_favicon'); @endphp
|
||||
@if ($favicon)
|
||||
@@ -18,7 +19,7 @@
|
||||
<meta name="theme-color" content="#1f2937">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<meta name="apple-mobile-web-app-title" content="SG Wölfe">
|
||||
<meta name="apple-mobile-web-app-title" content="{{ \App\Models\Setting::get('app_name', 'VereinsOS') }}">
|
||||
<link rel="apple-touch-icon" href="/images/apple-touch-icon.png">
|
||||
@stack('styles')
|
||||
</head>
|
||||
@@ -29,7 +30,8 @@
|
||||
<div class="flex justify-between h-14">
|
||||
<div class="flex items-center space-x-6 rtl:space-x-reverse">
|
||||
<a href="{{ route('admin.dashboard') }}" class="flex items-center gap-2 font-bold">
|
||||
<img src="/images/logo_woelfe.png" alt="Logo" class="h-8 w-8 object-contain">
|
||||
@php $logoApp = \App\Models\Setting::get('app_logo_app'); @endphp
|
||||
<img src="{{ $logoApp ? asset('storage/' . $logoApp) : asset('images/vereinos_logo_white.png') }}" alt="Logo" class="h-8 w-8 object-contain">
|
||||
{{ __('ui.admin') }}
|
||||
</a>
|
||||
{{-- Desktop nav links (ab lg sichtbar) --}}
|
||||
@@ -38,6 +40,9 @@
|
||||
@if (\App\Models\Setting::isFeatureVisibleFor('statistics', auth()->user()))
|
||||
<a href="{{ route('admin.statistics.index') }}" class="text-sm text-gray-300 hover:text-white {{ request()->routeIs('admin.statistics.*') ? 'text-white font-semibold' : '' }}">{{ __('admin.nav_statistics') }}</a>
|
||||
@endif
|
||||
@if (\App\Models\Setting::isFeatureVisibleFor('finances', auth()->user()))
|
||||
<a href="{{ route('admin.finances.index') }}" class="text-sm text-gray-300 hover:text-white {{ request()->routeIs('admin.finances.*') ? 'text-white font-semibold' : '' }}">{{ __('admin.nav_finances') }}</a>
|
||||
@endif
|
||||
@if (auth()->user()->isStaff())
|
||||
<a href="{{ route('admin.teams.index') }}" class="text-sm text-gray-300 hover:text-white {{ request()->routeIs('admin.teams.*') ? 'text-white font-semibold' : '' }}">{{ __('admin.nav_teams') }}</a>
|
||||
<a href="{{ route('admin.players.index') }}" class="text-sm text-gray-300 hover:text-white {{ request()->routeIs('admin.players.*') ? 'text-white font-semibold' : '' }}">{{ __('admin.nav_players') }}</a>
|
||||
@@ -104,6 +109,9 @@
|
||||
@if (\App\Models\Setting::isFeatureVisibleFor('statistics', auth()->user()))
|
||||
<a href="{{ route('admin.statistics.index') }}" class="block py-2 text-sm text-gray-300">{{ __('admin.nav_statistics') }}</a>
|
||||
@endif
|
||||
@if (\App\Models\Setting::isFeatureVisibleFor('finances', auth()->user()))
|
||||
<a href="{{ route('admin.finances.index') }}" class="block py-2 text-sm text-gray-300">{{ __('admin.nav_finances') }}</a>
|
||||
@endif
|
||||
@if (auth()->user()->isStaff())
|
||||
<a href="{{ route('admin.teams.index') }}" class="block py-2 text-sm text-gray-300">{{ __('admin.nav_teams') }}</a>
|
||||
<a href="{{ route('admin.players.index') }}" class="block py-2 text-sm text-gray-300">{{ __('admin.nav_players') }}</a>
|
||||
|
||||
@@ -6,6 +6,7 @@
|
||||
<meta name="csrf-token" content="{{ csrf_token() }}">
|
||||
<title>{{ $title ?? \App\Models\Setting::get('app_name', config('app.name')) }}</title>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
@include('components.tailwind-config')
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.14.9/dist/cdn.min.js" integrity="sha384-9Ax3MmS9AClxJyd5/zafcXXjxmwFhZCdsT6HJoJjarvCaAkJlk5QDzjLJm+Wdx5F" crossorigin="anonymous"></script>
|
||||
@php $favicon = \App\Models\Setting::get('app_favicon'); @endphp
|
||||
@if ($favicon)
|
||||
@@ -18,7 +19,7 @@
|
||||
<meta name="theme-color" content="#1f2937">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<meta name="apple-mobile-web-app-title" content="SG Wölfe">
|
||||
<meta name="apple-mobile-web-app-title" content="{{ \App\Models\Setting::get('app_name', 'VereinsOS') }}">
|
||||
<link rel="apple-touch-icon" href="/images/apple-touch-icon.png">
|
||||
@stack('styles')
|
||||
</head>
|
||||
@@ -30,7 +31,7 @@
|
||||
<div class="flex items-center space-x-6 rtl:space-x-reverse">
|
||||
@php $logoApp = \App\Models\Setting::get('app_logo_app'); @endphp
|
||||
<a href="{{ route('dashboard') }}" class="flex items-center gap-2 font-bold text-gray-900">
|
||||
<img src="{{ $logoApp ? asset('storage/' . $logoApp) : asset('images/logo_woelfe.png') }}" alt="Logo" class="h-8 w-8 object-contain">
|
||||
<img src="{{ $logoApp ? asset('storage/' . $logoApp) : asset('images/vereinos_logo.png') }}" alt="Logo" class="h-8 w-8 object-contain">
|
||||
{{ \App\Models\Setting::get('app_name', config('app.name')) }}
|
||||
</a>
|
||||
<div class="hidden sm:flex items-center space-x-6 rtl:space-x-reverse">
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
|
||||
<title>{{ $title ?? \App\Models\Setting::get('app_name', config('app.name')) }}</title>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
@include('components.tailwind-config')
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.14.9/dist/cdn.min.js" integrity="sha384-9Ax3MmS9AClxJyd5/zafcXXjxmwFhZCdsT6HJoJjarvCaAkJlk5QDzjLJm+Wdx5F" crossorigin="anonymous"></script>
|
||||
@php $favicon = \App\Models\Setting::get('app_favicon'); @endphp
|
||||
@if ($favicon)
|
||||
@@ -17,7 +18,7 @@
|
||||
<meta name="theme-color" content="#1f2937">
|
||||
<meta name="apple-mobile-web-app-capable" content="yes">
|
||||
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
|
||||
<meta name="apple-mobile-web-app-title" content="SG Wölfe">
|
||||
<meta name="apple-mobile-web-app-title" content="{{ \App\Models\Setting::get('app_name', 'VereinsOS') }}">
|
||||
<link rel="apple-touch-icon" href="/images/apple-touch-icon.png">
|
||||
</head>
|
||||
<body class="min-h-screen bg-gray-100 flex flex-col">
|
||||
@@ -26,7 +27,7 @@
|
||||
<div class="text-center mb-8">
|
||||
@php $logoLogin = \App\Models\Setting::get('app_logo_login'); @endphp
|
||||
<a href="{{ auth()->check() ? route('dashboard') : route('login') }}">
|
||||
<img src="{{ $logoLogin ? asset('storage/' . $logoLogin) : asset('images/logo_sg_woelfe.png') }}" alt="Logo" class="mx-auto h-24 mb-3 object-contain">
|
||||
<img src="{{ $logoLogin ? asset('storage/' . $logoLogin) : asset('images/vereinos_logo.png') }}" alt="Logo" class="mx-auto h-24 mb-3 object-contain">
|
||||
</a>
|
||||
<h1 class="text-2xl font-bold text-gray-900">{{ \App\Models\Setting::get('app_name', config('app.name')) }}</h1>
|
||||
@php $slogan = \App\Models\Setting::get('app_slogan'); @endphp
|
||||
|
||||
@@ -3,8 +3,9 @@
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Installation — Handball WebApp</title>
|
||||
<title>Installation — VereinsOS</title>
|
||||
<script src="https://cdn.tailwindcss.com"></script>
|
||||
@include('components.tailwind-config')
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.14.9/dist/cdn.min.js" integrity="sha384-9Ax3MmS9AClxJyd5/zafcXXjxmwFhZCdsT6HJoJjarvCaAkJlk5QDzjLJm+Wdx5F" crossorigin="anonymous"></script>
|
||||
<link rel="icon" href="{{ asset('favicon.ico') }}">
|
||||
</head>
|
||||
@@ -13,7 +14,7 @@
|
||||
<div class="w-full max-w-2xl">
|
||||
{{-- Logo --}}
|
||||
<div class="text-center mb-6">
|
||||
<img src="/images/logo_sg_woelfe.png" alt="Logo" class="mx-auto h-20 mb-3">
|
||||
<img src="/images/vereinos_logo.png" alt="VereinsOS" class="mx-auto h-20 mb-3">
|
||||
<h1 class="text-xl font-bold text-gray-900">Installation</h1>
|
||||
</div>
|
||||
|
||||
@@ -63,7 +64,7 @@
|
||||
</div>
|
||||
</main>
|
||||
<footer class="text-center py-3 text-xs text-gray-400">
|
||||
Handball WebApp — Installation
|
||||
VereinsOS — Installation
|
||||
</footer>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
115
resources/views/components/tailwind-config.blade.php
Normal file
115
resources/views/components/tailwind-config.blade.php
Normal file
@@ -0,0 +1,115 @@
|
||||
{{-- Zentrale Tailwind-Farbkonfiguration – VereinsOS --}}
|
||||
<script>
|
||||
tailwind.config = {
|
||||
theme: {
|
||||
extend: {
|
||||
colors: {
|
||||
blue: {
|
||||
50: '#eef1f5',
|
||||
100: '#d9dfe8',
|
||||
200: '#b7c1d1',
|
||||
300: '#8e9db3',
|
||||
400: '#677a95',
|
||||
500: '#4a5e7a',
|
||||
600: '#2D3441',
|
||||
700: '#252b36',
|
||||
800: '#1e222b',
|
||||
900: '#161a21',
|
||||
950: '#0e1117',
|
||||
},
|
||||
green: {
|
||||
50: '#eef4f0',
|
||||
100: '#d6e7da',
|
||||
200: '#afd0b8',
|
||||
300: '#7fb38e',
|
||||
400: '#579469',
|
||||
500: '#3e7750',
|
||||
600: '#305f3f',
|
||||
700: '#284d34',
|
||||
800: '#223e2b',
|
||||
900: '#1c3324',
|
||||
950: '#0e1c13',
|
||||
},
|
||||
red: {
|
||||
50: '#f6f0f0',
|
||||
100: '#eddddc',
|
||||
200: '#dbbcba',
|
||||
300: '#c3918e',
|
||||
400: '#a86b67',
|
||||
500: '#8f504b',
|
||||
600: '#76403b',
|
||||
700: '#613532',
|
||||
800: '#502d2a',
|
||||
900: '#432725',
|
||||
950: '#241413',
|
||||
},
|
||||
yellow: {
|
||||
50: '#f6f3ec',
|
||||
100: '#ebe4d0',
|
||||
200: '#d8c9a2',
|
||||
300: '#c2a86e',
|
||||
400: '#ae8e49',
|
||||
500: '#99783a',
|
||||
600: '#806130',
|
||||
700: '#674c29',
|
||||
800: '#553f26',
|
||||
900: '#483523',
|
||||
950: '#271c11',
|
||||
},
|
||||
amber: {
|
||||
50: '#f7f3ec',
|
||||
100: '#ede3cf',
|
||||
200: '#dbc7a0',
|
||||
300: '#c6a46a',
|
||||
400: '#b58a43',
|
||||
500: '#a07537',
|
||||
600: '#875e2e',
|
||||
700: '#6e4a28',
|
||||
800: '#5b3d25',
|
||||
900: '#4d3321',
|
||||
950: '#2a1b10',
|
||||
},
|
||||
purple: {
|
||||
50: '#f2f0f5',
|
||||
100: '#e2dde9',
|
||||
200: '#c7bed5',
|
||||
300: '#a596ba',
|
||||
400: '#84729e',
|
||||
500: '#6b5a84',
|
||||
600: '#57486c',
|
||||
700: '#483c59',
|
||||
800: '#3c334a',
|
||||
900: '#332b3e',
|
||||
950: '#1e1824',
|
||||
},
|
||||
indigo: {
|
||||
50: '#eff1f6',
|
||||
100: '#dbdfec',
|
||||
200: '#bac2da',
|
||||
300: '#939fc1',
|
||||
400: '#717ea6',
|
||||
500: '#57638d',
|
||||
600: '#465073',
|
||||
700: '#3a4260',
|
||||
800: '#31394f',
|
||||
900: '#2b3143',
|
||||
950: '#191d28',
|
||||
},
|
||||
teal: {
|
||||
50: '#eef3f3',
|
||||
100: '#d5e5e3',
|
||||
200: '#adccc8',
|
||||
300: '#7eada8',
|
||||
400: '#578e88',
|
||||
500: '#41746e',
|
||||
600: '#345d58',
|
||||
700: '#2c4c48',
|
||||
800: '#263f3c',
|
||||
900: '#213433',
|
||||
950: '#111e1d',
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
}
|
||||
</script>
|
||||
Reference in New Issue
Block a user