mirror of
https://github.com/woodchen-ink/nezha-dash-v1.git
synced 2025-07-18 09:31:55 +08:00
feat: load info
This commit is contained in:
parent
a2aaacb348
commit
90b87ee0b4
@ -189,6 +189,19 @@ export default function ServerDetailOverview({
|
||||
</Card>
|
||||
</section>
|
||||
<section className="flex flex-wrap gap-2 mt-1">
|
||||
<Card className="rounded-[10px] bg-transparent border-none shadow-none">
|
||||
<CardContent className="px-1.5 py-1">
|
||||
<section className="flex flex-col items-start gap-0.5">
|
||||
<p className="text-xs text-muted-foreground">{"Load"}</p>
|
||||
{server.state.load_1 ? (
|
||||
<div className="text-xs">
|
||||
{server.state.load_1} / {server.state.load_5} /{" "}
|
||||
{server.state.load_15}
|
||||
</div>
|
||||
) : null}
|
||||
</section>
|
||||
</CardContent>
|
||||
</Card>
|
||||
<Card className="rounded-[10px] bg-transparent border-none shadow-none">
|
||||
<CardContent className="px-1.5 py-1">
|
||||
<section className="flex flex-col items-start gap-0.5">
|
||||
|
Loading…
x
Reference in New Issue
Block a user