Some checks failed
CI / PHP 8.3 / mariadb:10.6 (pull_request) Successful in 4m40s
CI / PHP 8.4 / mariadb:10.6 (pull_request) Successful in 4m27s
CI / PHP 8.3 / mariadb:11.4 (pull_request) Successful in 5m6s
CI / PHP 8.4 / mariadb:11.4 (pull_request) Successful in 5m14s
CI / PHP 8.3 / mysql:8.0 (pull_request) Failing after 6m55s
CI / PHP 8.4 / mysql:8.0 (pull_request) Failing after 6m54s
CI / PHP 8.3 / mysql:8.4 (pull_request) Failing after 6m59s
CI / PHP 8.4 / mysql:8.4 (pull_request) Failing after 6m57s
CI / Build-Artefakte aktuell (pull_request) Successful in 1m43s
Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>
63 lines
3.9 KiB
PHP
63 lines
3.9 KiB
PHP
<x-filament-panels::page>
|
||
<style>
|
||
.ih-list { display: grid; }
|
||
.ih-item { display: grid; grid-template-columns: 1.5rem 14rem 1fr; gap: .75rem; padding: .625rem 0; border-top: 1px solid rgb(243 244 246); font-size: .875rem; align-items: start; }
|
||
.ih-item:first-child { border-top: 0; }
|
||
.ih-dot { width: .75rem; height: .75rem; border-radius: 999px; margin-top: .3rem; }
|
||
.ih-ok { background: rgb(22 163 74); }
|
||
.ih-warning { background: rgb(217 119 6); }
|
||
.ih-error { background: rgb(220 38 38); }
|
||
.ih-label { font-weight: 500; }
|
||
.ih-code { font-family: ui-monospace, monospace; font-size: .8125rem; word-break: break-all; padding: .5rem .75rem; border-radius: .5rem; background: rgb(243 244 246); }
|
||
.ih-hint { font-size: .875rem; color: rgb(107 114 128); margin: .5rem 0; }
|
||
.dark .ih-item { border-color: rgb(55 65 81); }
|
||
.dark .ih-code { background: rgb(31 41 55); }
|
||
.dark .ih-hint { color: rgb(156 163 175); }
|
||
@media (max-width: 640px) { .ih-item { grid-template-columns: 1.5rem 1fr; } .ih-item > :last-child { grid-column: 2; } }
|
||
</style>
|
||
|
||
@foreach ($groups as $heading => $checks)
|
||
<x-filament::section :heading="$heading">
|
||
<div class="ih-list">
|
||
@foreach ($checks as $check)
|
||
<div class="ih-item">
|
||
<span class="ih-dot ih-{{ $check['status'] }}" title="{{ ['ok' => 'in Ordnung', 'warning' => 'Hinweis', 'error' => 'Problem'][$check['status']] }}"></span>
|
||
<span class="ih-label">{{ $check['label'] }}</span>
|
||
<span>{{ $check['message'] }}</span>
|
||
</div>
|
||
@endforeach
|
||
</div>
|
||
</x-filament::section>
|
||
@endforeach
|
||
|
||
<x-filament::section heading="Letzte Fehler" description="Aus dem Fehlerprotokoll (storage/logs). Bei Problemen hilft die Meldung samt Stelle – oder das ganze Protokoll über „Fehlerprotokoll herunterladen“." collapsible :collapsed="empty($logErrors)">
|
||
@if (empty($logErrors))
|
||
<p class="ih-hint">Keine Fehler im Protokoll.</p>
|
||
@else
|
||
<div class="ih-list">
|
||
@foreach ($logErrors as $error)
|
||
<div class="ih-item" style="grid-template-columns: 9.5rem 1fr;">
|
||
<span class="ih-hint" style="white-space: nowrap">{{ \Illuminate\Support\Carbon::parse($error['time'])->timezone(config('app.timezone'))->format('d.m. H:i:s') }}</span>
|
||
<span style="min-width: 0; overflow-wrap: anywhere">
|
||
<strong>{{ $error['exception'] ?? $error['level'] }}</strong>: {{ $error['message'] }}
|
||
@if ($error['where'] || $error['url'])
|
||
<span class="ih-hint" style="display: block; font-size: 12px">
|
||
@if ($error['url']){{ $error['url'] }}@endif
|
||
@if ($error['where']) · {{ $error['where'] }}@endif
|
||
@if ($error['user']) · Person #{{ $error['user'] }}@endif
|
||
</span>
|
||
@endif
|
||
</span>
|
||
</div>
|
||
@endforeach
|
||
</div>
|
||
@endif
|
||
</x-filament::section>
|
||
|
||
<x-filament::section heading="Hintergrundaufgaben einrichten" description="Für Rückmeldungen, geplante Inhalte und Aufräumarbeiten. Ohne Einrichtung laufen sie nur, wenn jemand das Portal aufruft.">
|
||
<p class="ih-hint">Am besten: ein Cronjob beim Hoster, der jede Minute läuft:</p>
|
||
<div class="ih-code">{{ $cronLine }}</div>
|
||
<p class="ih-hint">Ohne Cron-Zugang: diese Adresse jede Minute von einem Cron-Dienst aufrufen lassen (geheim halten):</p>
|
||
<div class="ih-code">{{ $webCronUrl }}</div>
|
||
</x-filament::section>
|
||
</x-filament-panels::page>
|