mirror of
https://github.com/lc-soft/LCUI.git
synced 2026-11-30 16:48:21 +01:00
54 lines
1.6 KiB
TypeScript
54 lines
1.6 KiB
TypeScript
import {
|
|
Field,
|
|
FieldContent,
|
|
FieldDescription,
|
|
FieldGroup,
|
|
FieldLabel,
|
|
FieldSet,
|
|
FieldTitle,
|
|
RadioGroup,
|
|
RadioGroupItem,
|
|
Widget,
|
|
} from "@lcui/react";
|
|
|
|
export default function App() {
|
|
return (
|
|
<Widget className="flex flex-col gap-2 max-w-[400px]">
|
|
<FieldGroup>
|
|
<FieldSet>
|
|
<FieldLabel htmlFor="compute-environment">
|
|
Compute Environment
|
|
</FieldLabel>
|
|
<FieldDescription>
|
|
Select the compute environment for your cluster.
|
|
</FieldDescription>
|
|
<RadioGroup defaultValue="kubernetes">
|
|
<FieldLabel htmlFor="kubernetes-r2h">
|
|
<Field orientation="horizontal">
|
|
<FieldContent>
|
|
<FieldTitle>Kubernetes</FieldTitle>
|
|
<FieldDescription>
|
|
Run GPU workloads on a K8s configured cluster.
|
|
</FieldDescription>
|
|
</FieldContent>
|
|
<RadioGroupItem value="kubernetes" id="kubernetes-r2h" />
|
|
</Field>
|
|
</FieldLabel>
|
|
<FieldLabel htmlFor="vm-z4k">
|
|
<Field orientation="horizontal">
|
|
<FieldContent>
|
|
<FieldTitle>Virtual Machine</FieldTitle>
|
|
<FieldDescription>
|
|
Access a VM configured cluster to run GPU workloads.
|
|
</FieldDescription>
|
|
</FieldContent>
|
|
<RadioGroupItem value="vm" id="vm-z4k" />
|
|
</Field>
|
|
</FieldLabel>
|
|
</RadioGroup>
|
|
</FieldSet>
|
|
</FieldGroup>
|
|
</Widget>
|
|
);
|
|
}
|