mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-06 15:46:37 +08:00
[优化] 添加 .gitignore 文件,忽略 data 目录;调整仪表盘组件布局
This commit is contained in:
@@ -0,0 +1 @@
|
|||||||
|
data
|
||||||
@@ -313,7 +313,7 @@ export function DashboardOverview() {
|
|||||||
title="Top 节点榜单"
|
title="Top 节点榜单"
|
||||||
description="把流量、错误与容量压力节点并排展示,保留快速定位热点与瓶颈的入口。"
|
description="把流量、错误与容量压力节点并排展示,保留快速定位热点与瓶颈的入口。"
|
||||||
>
|
>
|
||||||
<div className="grid gap-6 xl:grid-cols-3">
|
<div className="grid gap-6 xl:grid-cols-1">
|
||||||
<div>
|
<div>
|
||||||
<p className="mb-3 text-xs tracking-[0.22em] text-[var(--foreground-muted)] uppercase">
|
<p className="mb-3 text-xs tracking-[0.22em] text-[var(--foreground-muted)] uppercase">
|
||||||
流量最高节点
|
流量最高节点
|
||||||
@@ -327,19 +327,6 @@ export function DashboardOverview() {
|
|||||||
emptyMessage="暂无流量榜单"
|
emptyMessage="暂无流量榜单"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
<div>
|
|
||||||
<p className="mb-3 text-xs tracking-[0.22em] text-[var(--foreground-muted)] uppercase">
|
|
||||||
错误热点节点
|
|
||||||
</p>
|
|
||||||
<RankChart
|
|
||||||
items={buildNodeRankItems(
|
|
||||||
overview.nodes,
|
|
||||||
(node) => node.error_count,
|
|
||||||
)}
|
|
||||||
color="#f97316"
|
|
||||||
emptyMessage="暂无错误热点"
|
|
||||||
/>
|
|
||||||
</div>
|
|
||||||
<div>
|
<div>
|
||||||
<p className="mb-3 text-xs tracking-[0.22em] text-[var(--foreground-muted)] uppercase">
|
<p className="mb-3 text-xs tracking-[0.22em] text-[var(--foreground-muted)] uppercase">
|
||||||
容量压力节点
|
容量压力节点
|
||||||
|
|||||||
Reference in New Issue
Block a user