mirror of
https://github.com/henrygd/beszel.git
synced 2026-03-22 05:36:15 +01:00
- Add new /containers route with virtualized table showing all containers across systems - Implement container stats collection (CPU, memory, network usage) with health status tracking - Add container logs and info API endpoints with syntax highlighting using Shiki - Create detailed container views with fullscreen logs/info dialogs and refresh functionality - Add container table to individual system pages with lazy loading - Implement container record storage with automatic cleanup and historical averaging - Update navbar with container navigation icon - Extract reusable ActiveAlerts component from home page - Add FooterRepoLink component for consistent GitHub/version display - Enhance filtering and search capabilities across container tables
27 lines
602 B
Go
27 lines
602 B
Go
import { useLingui } from "@lingui/react/macro"
|
|
import { memo, useEffect, useMemo } from "react"
|
|
import ContainersTable from "@/components/containers-table/containers-table"
|
|
import { ActiveAlerts } from "@/components/active-alerts"
|
|
import { FooterRepoLink } from "@/components/footer-repo-link"
|
|
|
|
export default memo(() => {
|
|
const { t } = useLingui()
|
|
|
|
useEffect(() => {
|
|
document.title = `${t`All Containers`} / Beszel`
|
|
}, [t])
|
|
|
|
return useMemo(
|
|
() => (
|
|
<>
|
|
<div className="grid gap-4">
|
|
<ActiveAlerts />
|
|
<ContainersTable />
|
|
</div>
|
|
<FooterRepoLink />
|
|
</>
|
|
),
|
|
[]
|
|
)
|
|
})
|