diff --git a/apps/front/src/lib/client/components/toggle.svelte b/apps/front/src/lib/client/components/toggle.svelte new file mode 100644 index 0000000..07ad27f --- /dev/null +++ b/apps/front/src/lib/client/components/toggle.svelte @@ -0,0 +1,26 @@ + + + diff --git a/apps/front/src/routes/device-groups/+page.svelte b/apps/front/src/routes/devices/+page.svelte similarity index 100% rename from apps/front/src/routes/device-groups/+page.svelte rename to apps/front/src/routes/devices/+page.svelte diff --git a/apps/front/src/routes/device-groups/[id]/+page.svelte b/apps/front/src/routes/devices/[id]/+page.svelte similarity index 100% rename from apps/front/src/routes/device-groups/[id]/+page.svelte rename to apps/front/src/routes/devices/[id]/+page.svelte diff --git a/apps/front/src/routes/device-groups/[id]/add/+page.svelte b/apps/front/src/routes/devices/[id]/add/+page.svelte similarity index 100% rename from apps/front/src/routes/device-groups/[id]/add/+page.svelte rename to apps/front/src/routes/devices/[id]/add/+page.svelte diff --git a/apps/front/src/routes/map/+page.svelte b/apps/front/src/routes/map/+page.svelte index 6a2d29a..a823ddc 100644 --- a/apps/front/src/routes/map/+page.svelte +++ b/apps/front/src/routes/map/+page.svelte @@ -1,6 +1,7 @@
@@ -56,6 +59,9 @@ Gateways Lamps Sensors + Schedule + On/Off + Actions @@ -67,6 +73,16 @@ 12 20 40 + View + + + + +
+ Edit + Delete +
+ {/each}