correction

This commit is contained in:
Dmitry Borisenko
2021-10-10 23:26:55 +08:00
parent 0639f918bb
commit 9301db5825

View File

@@ -52,7 +52,7 @@
type: "time", type: "time",
status: "12:00", status: "12:00",
page: "Inputs", page: "Inputs",
order: "3", order: "1",
descr: "Switch on boiler time", descr: "Switch on boiler time",
topic: "/prefix/00000-00003/temp3", topic: "/prefix/00000-00003/temp3",
}, },
@@ -62,7 +62,7 @@
status: "30.5", status: "30.5",
after: "°С", after: "°С",
page: "Inputs", page: "Inputs",
order: "1", order: "2",
descr: "Boiler temperature", descr: "Boiler temperature",
topic: "/prefix/00000-00001/temp1", topic: "/prefix/00000-00001/temp1",
}, },
@@ -72,7 +72,7 @@
status: "Hello", status: "Hello",
page: "Inputs", page: "Inputs",
order: "3", order: "3",
descr: "Massage to be send", descr: "Message to be send",
topic: "/prefix/00000-00003/temp3", topic: "/prefix/00000-00003/temp3",
}, },
{ {
@@ -80,7 +80,7 @@
type: "date", type: "date",
status: "2021.09.15", status: "2021.09.15",
page: "Inputs", page: "Inputs",
order: "2", order: "4",
descr: "Switch on boiler date", descr: "Switch on boiler date",
topic: "/prefix/00000-00002/temp2", topic: "/prefix/00000-00002/temp2",
}, },
@@ -128,21 +128,21 @@
{/each} {/each}
<div class="cards-grid"> <div class="cards-grid">
<Card title="Здесь будет конфигуратор"> <Card title="Corridor">
{#each wigets as widget, i} {#each wigets as widget, i}
{#if widget.widget === "input"} {#if widget.widget === "input"}
<Myinput bind:value={widget.status} descr={widget.descr} topic={widget.topic} ws={1} type={widget.type} /> <Myinput bind:value={widget.status} descr={widget.descr} topic={widget.topic} ws={1} type={widget.type} />
{/if} {/if}
{/each} {/each}
</Card> </Card>
<Card title="Здесь будет конфигуратор"> <Card title="Living room">
{#each wigets as widget, i} {#each wigets as widget, i}
{#if widget.widget === "input"} {#if widget.widget === "input"}
<Myinput bind:value={widget.status} descr={widget.descr} topic={widget.topic} ws={1} type={widget.type} /> <Myinput bind:value={widget.status} descr={widget.descr} topic={widget.topic} ws={1} type={widget.type} />
{/if} {/if}
{/each} {/each}
</Card> </Card>
<Card title="Здесь будет конфигуратор"> <Card title="Bedroom">
{#each wigets as widget, i} {#each wigets as widget, i}
{#if widget.widget === "input"} {#if widget.widget === "input"}
<Myinput bind:value={widget.status} descr={widget.descr} topic={widget.topic} ws={1} type={widget.type} /> <Myinput bind:value={widget.status} descr={widget.descr} topic={widget.topic} ws={1} type={widget.type} />