From e4c54df362d208ea6c0a58f514cb770b887acd2f Mon Sep 17 00:00:00 2001 From: Christopher Bisset Date: Sat, 16 Jul 2022 17:41:07 +1000 Subject: [PATCH] formatted additional details as table --- src/lib/devices/CreateDevice.svelte | 22 +++++++++++----------- src/lib/devices/DeviceCard.svelte | 29 +++++++++++++++++++++++++---- src/lib/index/UserCard.svelte | 11 ++++++++++- 3 files changed, 46 insertions(+), 16 deletions(-) diff --git a/src/lib/devices/CreateDevice.svelte b/src/lib/devices/CreateDevice.svelte index d85e03d..47eecfe 100644 --- a/src/lib/devices/CreateDevice.svelte +++ b/src/lib/devices/CreateDevice.svelte @@ -2,7 +2,7 @@ import { fade } from 'svelte/transition'; import { headscaleUserStore, headscaleDeviceStore } from '$lib/common/stores'; import { getDevices, newDevice } from '$lib/common/apiFunctions.svelte'; - import { alertStore } from '$lib/common/stores.js' + import { alertStore } from '$lib/common/stores.js'; // whether the new card html element is visible let newDeviceCardVisible = false; @@ -35,7 +35,6 @@ $alertStore = 'provide a valid key'; } } - @@ -49,7 +48,6 @@ {#if newDeviceCardVisible == true} -
{#each tabs as tab, index} @@ -59,19 +57,16 @@ {#if activeTab == 0}
-

Install Tailscale with the client pointing to your domain (see headscale client documentation). Log in using the tray icon, and your browser should give you instructions with a key. Copy the key below:

-
-
headscale -n NAMESPACE nodes register --key <your device key>
-
+

Install Tailscale with the client pointing to your domain (see headscale client documentation). Log in using the tray icon, and your browser should give you instructions with a key.

+
headscale -n NAMESPACE nodes register --key <your device key>
+

Copy the key below:

- +