Download ui/src/app/dashboard/page.tsx from michaelu0826/ai_toolkit_code: direct link, hf CLI and curl.
- Browser
- Download file 839 Bytes
-
https://huggingface.co/datasets/michaelu0826/ai_toolkit_code/resolve/main/ui/src/app/dashboard/page.tsx
- Command line
-
hf download hf://datasets/michaelu0826/ai_toolkit_code/ui/src/app/dashboard/page.tsx
-
curl -L -o page.tsx https://huggingface.co/datasets/michaelu0826/ai_toolkit_code/resolve/main/ui/src/app/dashboard/page.tsx
839 Bytes
| 'use client'; | |
| import GpuMonitor from '@/components/GPUMonitor'; | |
| import JobsTable from '@/components/JobsTable'; | |
| import { TopBar, MainContent } from '@/components/layout'; | |
| import Link from 'next/link'; | |
| export default function Dashboard() { | |
| return ( | |
| <> | |
| <TopBar> | |
| <div> | |
| <h1 className="text-base sm:text-lg">Dashboard</h1> | |
| </div> | |
| <div className="flex-1"></div> | |
| </TopBar> | |
| <MainContent> | |
| <GpuMonitor /> | |
| <div className="w-full mt-4"> | |
| <div className="flex justify-between items-center mb-2"> | |
| <h1 className="text-md">Queues</h1> | |
| <div className="text-xs text-gray-500"> | |
| <Link href="/jobs">View All</Link> | |
| </div> | |
| </div> | |
| <JobsTable onlyActive /> | |
| </div> | |
| </MainContent> | |
| </> | |
| ); | |
| } | |