@php $svcLabel = ['online' => 'aktiv', 'warning' => 'degradiert', 'offline' => 'gestoppt']; // dual-series chart paths (CPU + MEM) — static seed; live wiring via Reverb is a follow-up $chart = function (array $s) { $w = 300; $h = 100; $pad = 6; $n = count($s); $pts = []; foreach ($s as $i => $v) { $x = $n > 1 ? round($i / ($n - 1) * $w, 2) : 0; $y = round($h - $pad - ($v / 100) * ($h - 2 * $pad), 2); $pts[] = "$x,$y"; } $line = implode(' ', $pts); return ['line' => $line, 'area' => "0,$h ".$line." $w,$h"]; }; $cpuP = $chart($cpuSeries); $memP = $chart($memSeries); @endphp
{{ $active?->name ?? '—' }}
| Unit | Status | Zustand | Boot |
|---|---|---|---|
|
{{ $svc['name'] }} {{ $svc['desc'] }} |
{{ $svc['sub'] }} | {{ $svc['enabled'] ? 'enabled' : 'disabled' }} | |
| Keine Dienstdaten — Server nicht verbunden. | |||
{{ $e->actor }} · {{ $e->action }}
{{ $e->target }}
Keine Ereignisse.
@endforelse