mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-12 02:06:37 +08:00
[重构] 前端改造v1
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
import { ModulePageSkeleton } from '@/features/shared/components/module-page-skeleton';
|
||||
|
||||
export default function ApplyLogsPage() {
|
||||
return (
|
||||
<ModulePageSkeleton
|
||||
title='应用记录'
|
||||
description='阶段 3 将在此接入过滤器、结果状态可视化与分页详情。'
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import { ModulePageSkeleton } from '@/features/shared/components/module-page-skeleton';
|
||||
|
||||
export default function ConfigVersionsPage() {
|
||||
return (
|
||||
<ModulePageSkeleton
|
||||
title='配置版本'
|
||||
description='阶段 3 将在此接入版本列表、diff 预览、激活与回滚流程。'
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import { ModulePageSkeleton } from '@/features/shared/components/module-page-skeleton';
|
||||
|
||||
export default function FilesPage() {
|
||||
return (
|
||||
<ModulePageSkeleton
|
||||
title='文件管理'
|
||||
description='阶段 4 将在此接入文件列表、下载与管理交互。'
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,11 @@
|
||||
import type { ReactNode } from 'react';
|
||||
|
||||
import { DashboardShell } from '@/components/layout/dashboard-shell';
|
||||
|
||||
interface DashboardLayoutProps {
|
||||
children: ReactNode;
|
||||
}
|
||||
|
||||
export default function DashboardLayout({ children }: DashboardLayoutProps) {
|
||||
return <DashboardShell>{children}</DashboardShell>;
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import { ModulePageSkeleton } from '@/features/shared/components/module-page-skeleton';
|
||||
|
||||
export default function ManagedDomainsPage() {
|
||||
return (
|
||||
<ModulePageSkeleton
|
||||
title='域名管理'
|
||||
description='阶段 3 将在此接入域名列表、证书绑定状态与启用切换。'
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import { ModulePageSkeleton } from '@/features/shared/components/module-page-skeleton';
|
||||
|
||||
export default function NodesPage() {
|
||||
return (
|
||||
<ModulePageSkeleton
|
||||
title='节点管理'
|
||||
description='阶段 3 将在此接入节点状态标签、部署命令、心跳与更新动作。'
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,14 @@
|
||||
import { DashboardOverview } from '@/features/dashboard/components/dashboard-overview';
|
||||
import { PageHeader } from '@/components/layout/page-header';
|
||||
|
||||
export default function DashboardPage() {
|
||||
return (
|
||||
<div className='space-y-6'>
|
||||
<PageHeader
|
||||
title='ATSFlare 管理端工程初始化'
|
||||
description='新版前端已切换到 Next.js 工程骨架,当前页面用于展示阶段 1 交付结果与模块入口。'
|
||||
/>
|
||||
<DashboardOverview />
|
||||
</div>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import { ModulePageSkeleton } from '@/features/shared/components/module-page-skeleton';
|
||||
|
||||
export default function ProxyRoutesPage() {
|
||||
return (
|
||||
<ModulePageSkeleton
|
||||
title='反代规则'
|
||||
description='阶段 3 将在此接入规则列表、创建编辑抽屉与发布动作。'
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import { ModulePageSkeleton } from '@/features/shared/components/module-page-skeleton';
|
||||
|
||||
export default function SettingsPage() {
|
||||
return (
|
||||
<ModulePageSkeleton
|
||||
title='设置'
|
||||
description='阶段 4 将在此接入系统设置、运维设置与个人设置重组。'
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import { ModulePageSkeleton } from '@/features/shared/components/module-page-skeleton';
|
||||
|
||||
export default function TlsCertificatesPage() {
|
||||
return (
|
||||
<ModulePageSkeleton
|
||||
title='TLS 证书'
|
||||
description='阶段 3 将在此接入证书上传、导入与有效期展示。'
|
||||
/>
|
||||
);
|
||||
}
|
||||
@@ -0,0 +1,10 @@
|
||||
import { ModulePageSkeleton } from '@/features/shared/components/module-page-skeleton';
|
||||
|
||||
export default function UsersPage() {
|
||||
return (
|
||||
<ModulePageSkeleton
|
||||
title='用户管理'
|
||||
description='阶段 4 将在此接入用户列表、角色管理与搜索体验。'
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user