diff --git a/src/app.html b/src/app.html index 77a5ff5..660c7e1 100644 --- a/src/app.html +++ b/src/app.html @@ -1,12 +1,15 @@ - - - - - %sveltekit.head% - - -
%sveltekit.body%
- + + + + + + %sveltekit.head% + + + +
%sveltekit.body%
+ + diff --git a/src/lib/components/Attribute.svelte b/src/lib/components/Attribute.svelte index 73f248b..fe8faa7 100644 --- a/src/lib/components/Attribute.svelte +++ b/src/lib/components/Attribute.svelte @@ -8,12 +8,14 @@
-
+
{key}
{#if copyable} {:else}
diff --git a/src/routes/machines/+page.svelte b/src/routes/machines/+page.svelte index 3e73dcb..368a354 100644 --- a/src/routes/machines/+page.svelte +++ b/src/routes/machines/+page.svelte @@ -32,23 +32,26 @@ Last Seen - + {#each $query.data as machine} - +

{machine.givenName}

- {machine.name}
- + {#each machine.ipAddresses as ip, i} 0 && "text-sm text-gray-400", + i > 0 && "text-sm text-gray-500", )} > {ip} @@ -62,7 +65,7 @@ @@ -70,7 +73,7 @@

diff --git a/src/routes/machines/[id]/+page.svelte b/src/routes/machines/[id]/+page.svelte index 2cb32e8..4e46669 100644 --- a/src/routes/machines/[id]/+page.svelte +++ b/src/routes/machines/[id]/+page.svelte @@ -3,7 +3,7 @@ import { createQuery } from "@tanstack/svelte-query"; import { pull } from "$lib/api"; import type { Machine } from "$lib/types"; - import { IconCircleFilled, IconCopy } from "@tabler/icons-svelte"; + import { IconCircleFilled } from "@tabler/icons-svelte"; import Attribute from "$lib/components/Attribute.svelte"; import clsx from "clsx"; @@ -44,9 +44,7 @@ )} /> -

+