mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-03-26 15:02:21 +03:00
working version
This commit is contained in:
@@ -12,7 +12,7 @@
|
|||||||
//router.mode.memory(); // enables in-memory navigation method
|
//router.mode.memory(); // enables in-memory navigation method
|
||||||
import Card from "./Card.svelte";
|
import Card from "./Card.svelte";
|
||||||
import Input from "./Input.svelte";
|
import Input from "./Input.svelte";
|
||||||
import wInput from "./wInput.svelte";
|
import Myinput from "./Myinput.svelte";
|
||||||
|
|
||||||
onMount(async () => {
|
onMount(async () => {
|
||||||
WSpush("mounted");
|
WSpush("mounted");
|
||||||
@@ -113,7 +113,7 @@
|
|||||||
<Card title="Dashboard">
|
<Card title="Dashboard">
|
||||||
{#each wigets as widget, i}
|
{#each wigets as widget, i}
|
||||||
{#if widget.widget === "input"}
|
{#if widget.widget === "input"}
|
||||||
<Input title={widget.descr} bind:value={widget.status} />
|
<Myinput title={widget.descr} bind:value={widget.status} />
|
||||||
{/if}
|
{/if}
|
||||||
{/each}
|
{/each}
|
||||||
</Card>
|
</Card>
|
||||||
|
|||||||
Reference in New Issue
Block a user