{{define "dashboard"}} {{template "layout_start" .}}
{{.RunningCount}}
Futó alkalmazás
{{.StoppedCount}}
Leállítva
{{.TotalCount}}
Összes alkalmazás
{{if .SystemInfo.TotalMemMB}}
Memória {{fmtMB .SystemInfo.UsedMemMB}} / {{fmtMB .SystemInfo.TotalMemMB}} ({{printf "%.0f" .SystemInfo.MemPercent}}%)
CPU {{printf "%.0f" .SystemInfo.CPUPercent}}%
Load: {{fmtLoad .SystemInfo.LoadAvg1}} / {{fmtLoad .SystemInfo.LoadAvg5}} / {{fmtLoad .SystemInfo.LoadAvg15}}
{{if .SystemInfo.TemperatureCelsius}}
Hőmérséklet {{fmtTemp .SystemInfo.TemperatureCelsius}}
{{end}}
{{$duc := usageColor .SystemInfo.DiskPercent}}
Rendszer (/) {{fmtGB .SystemInfo.DiskUsedGB}} / {{fmtGB .SystemInfo.DiskTotalGB}} ({{printf "%.0f" .SystemInfo.DiskPercent}}%)
{{if eq $duc "warn"}}
Fogyóban a hely
{{else if eq $duc "crit"}}
Kritikusan kevés hely
{{end}}
{{range .StorageBars}} {{if .Disconnected}}
{{.Label}} Leválasztva
{{else}} {{$uc := usageColor .Percent}}
{{.Label}} {{fmtGB .UsedGB}} / {{fmtGB .TotalGB}} ({{printf "%.0f" .Percent}}%)
{{if eq $uc "warn"}}
Fogyóban a hely
{{else if eq $uc "crit"}}
Kritikusan kevés hely
{{end}}
{{end}} {{end}}
{{if .SettingsWarning}}
{{.SettingsWarning}}
{{end}} {{if .DiskWarnings}}
{{range .DiskWarnings}}
{{.Message}} {{if .Link}}{{.LinkText}} →{{end}}
{{end}}
{{end}}
{{end}} {{if .BackupEnabled}}

Biztonsági mentés

{{if .BackupStatus}}
Utolsó mentés: {{if .BackupStatus.Success}} {{.BackupStatus.LastRun.Format "2006-01-02 15:04"}} {{else}} Sikertelen {{end}}
{{else}}
Utolsó mentés: Még nem futott
{{end}} {{if .DBDumpStatus}}
Adatbázisok: {{len .DBDumpStatus.Results}} mentve
{{end}} {{/* Cross-drive ("2. mentés") moved to the host agent in slice 8C — the dashboard handler no longer provides CrossDrive* fields, so the old block was a dead reference that 500'd the dashboard (gt 0). Removed in v0.41.2. */}}
{{end}}

Telepített alkalmazások

{{range .Stacks}} {{$im := infraMeta .Name}} {{if $im}} {{template "app_list_row" dict "Slug" .Meta.Slug "Name" $im.DisplayName "Secondary" $im.Description "RowClass" (printf "stack-state-%s" (stateColor .State)) "Href" (appHref .Meta.Slug) "FallbackIcon" "/static/infra-logo.svg"}} {{else}} {{template "app_list_row" dict "Slug" .Meta.Slug "Name" .Meta.DisplayName "Secondary" .Meta.Description "RowClass" (printf "stack-state-%s" (stateColor .State)) "Href" (appHref .Meta.Slug)}} {{end}} {{stateLabel .State}} {{if .Orphaned}}Elavult{{end}} {{template "meta_badge" (lifecycleBadge .Meta)}} {{$ms := index $.MissingStorage .Name}}{{if $ms}}Hiányzó tárhely: {{$ms}}{{end}} {{$ns := index $.NetworkStubs .Name}}{{if $ns}}Hálózati tárhely hibás — az alkalmazás nem a NAS-t látja{{end}} {{$nw := index $.NetworkWarnings .Name}}{{if $nw}}Hálózati tárhely nem elérhető: {{$nw}}{{end}} {{if and .Deployed (routeUnpublished .State)}}URL nem elérhető{{end}} {{if .Protected}} Védett {{/* Customer link ONLY for Linked infra (filebrowser → files.) — cloudflared/traefik have no customer UI (guarded by render test). */}} {{if and $im $im.Linked}} {{$subdomain := index $.Subdomains .Name}} {{if $subdomain}}Megnyitás {{end}} {{end}} {{if isOperational .State}} {{end}} {{else if not .Deployed}} Telepítés {{else}} {{if isOperational .State}} {{$subdomain := index $.Subdomains .Name}} {{if $subdomain}}Megnyitás {{end}} {{else}} {{if not .Orphaned}}{{end}} {{end}} Napló {{if .Orphaned}}{{end}} {{end}} {{template "app_list_row_end"}} {{else}}

Nincs elérhető alkalmazás.

{{end}}
{{template "layout_end" .}} {{end}}