From b8279e3c43ae88db6cb0b7be62d57a7d2a66f3a7 Mon Sep 17 00:00:00 2001 From: Yuri Tatishchev Date: Wed, 25 Dec 2024 02:05:05 -0800 Subject: [PATCH] clients page: add required to new client input --- src/routes/clients/+page.svelte | 25 ++++++++++++++----------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/src/routes/clients/+page.svelte b/src/routes/clients/+page.svelte index 9e6f3f2..8c939e4 100644 --- a/src/routes/clients/+page.svelte +++ b/src/routes/clients/+page.svelte @@ -3,8 +3,8 @@ import { Badge } from '$lib/components/ui/badge'; import { Button } from '$lib/components/ui/button'; import { Input } from '$lib/components/ui/input'; - import type { PageData } from './$types'; import { LucidePlus } from 'lucide-svelte'; + import type { PageData } from './$types'; const { data }: { data: PageData } = $props(); @@ -13,30 +13,33 @@ Clients - + Name Public Key - - + + IP Allocation {#each data.clients as client} - + - + {client.name} {client.publicKey} - - + + {#each client.ips as ip} - {ip} + {ip} {/each} @@ -46,8 +49,8 @@ -
- + +