import { Activity, MoreHorizontal, Search, SlidersHorizontal } from 'lucide-react';
import { Badge, Button, Card, CardHeader } from '../../components/ui';
import { PageTitle } from '../../layout/AppLayout';
import { agentDevices } from '../../data/mock';
function getTone(status: string) {
if (['정상', '활성', '성공', '운영', 'Running'].includes(status)) return 'green';
if (['주의', '예약됨', '대기', '준비중', '카나리', 'Pending'].includes(status)) return 'amber';
if (['오류', '실패', '비활성', '만료', 'Error', 'Failed'].includes(status)) return 'red';
if (['검수', '동기화'].includes(status)) return 'blue';
return 'neutral';
}
export function RuntimeDeviceControlPage() {
return (
<>
}
/>
| 장비 |
계정 |
Workspace |
SSH 키 |
Last Seen |
상태 |
명령 |
{agentDevices.map((device) => (
| {device.name} |
{device.account} |
{device.workspace} |
{device.sshKey} |
{device.lastSeen} |
{device.status}
|
|
))}
>
);
}