From f0f8eb6461d3ae1b13beba79b904c129d7636221 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Felix=20Baumg=C3=A4rtner?= Date: Tue, 16 Jan 2024 08:58:43 +0100 Subject: [PATCH] added device setup feature --- src/components/DeviceSetup.svelte | 103 ++++++++++++++++++++++++++++++ 1 file changed, 103 insertions(+) create mode 100644 src/components/DeviceSetup.svelte diff --git a/src/components/DeviceSetup.svelte b/src/components/DeviceSetup.svelte new file mode 100644 index 0000000..40bfe02 --- /dev/null +++ b/src/components/DeviceSetup.svelte @@ -0,0 +1,103 @@ + + +
+ + + +

Searching

+
+ {#if !loadFoundDevices} +

Searching for devices in network ...

+ {:else} +

Found devices:

+ + {#each foundDevicesObj as item} + + + + + + + + {item.title} + + {/each} + + {/if} + + + +
+ + +

Selected

+
+ +

{foundDevicesObj[selectedDevice - 1].title}

+

Stats of device

+
+ + +

Finish

+
+ +

{foundDevicesObj[selectedDevice - 1].title}

+

Click on 'Add device' to finish the setup

+
+
+
\ No newline at end of file