Some checks failed
Test / frontend-typecheck (pull_request) Successful in 2m16s
Test / frontend-tests (pull_request) Successful in 2m18s
PR Review Automation / review (pull_request) Failing after 4m35s
Test / rust-tests (pull_request) Has been cancelled
Test / rust-clippy (pull_request) Has been cancelled
Test / rust-fmt-check (pull_request) Has been cancelled
- Add 8 new UI components: AclList, AddRemoteForm, ContainerConsole, ContainerOverview, EditRemoteForm, RemoveRemoteDialog, VMConsole, VMOverview - Add 13 Proxmox management pages: ACLPage, BackupPage, CephPage, CertificatesPage, ContainersPage, FirewallPage, HAPage, NetworkPage, RemotesPage, SDNPage, StoragePage, TasksPage, VMsPage - Add 13 new routes to App.tsx for Proxmox management pages - All components use existing UI components from src/components/ui/index.tsx - TypeScript and ESLint pass with 0 errors - Rust clippy passes with 0 warnings - All tests pass (406 Rust, 386 frontend)
30 lines
848 B
TypeScript
30 lines
848 B
TypeScript
import React from 'react';
|
|
// Card imports removed '@/components/ui/index';
|
|
import { Button } from '@/components/ui/index';
|
|
import { RefreshCw } from 'lucide-react';
|
|
import { CertificateList } from '@/components/Proxmox';
|
|
|
|
export function ProxmoxCertificatesPage() {
|
|
return (
|
|
<div className="space-y-4">
|
|
<div className="flex items-center justify-between">
|
|
<div>
|
|
<h1 className="text-2xl font-bold">Certificates</h1>
|
|
<p className="text-muted-foreground">Manage TLS certificates</p>
|
|
</div>
|
|
<div className="flex space-x-2">
|
|
<Button variant="outline" size="sm">
|
|
<RefreshCw className="mr-2 h-4 w-4" />
|
|
Refresh
|
|
</Button>
|
|
</div>
|
|
</div>
|
|
|
|
<CertificateList
|
|
certificates={[]}
|
|
onRefresh={() => {}}
|
|
/>
|
|
</div>
|
|
);
|
|
}
|