mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-03-26 23:12:34 +03:00
last
This commit is contained in:
@@ -171,7 +171,7 @@
|
|||||||
@apply text-center text-lg text-gray-500 font-bold pb-6;
|
@apply text-center text-lg text-gray-500 font-bold pb-6;
|
||||||
}
|
}
|
||||||
.card-items {
|
.card-items {
|
||||||
@apply md:items-center md:flex mb-6;
|
@apply md:items-center lg:items-end 2xl:items-end md:flex mb-6;
|
||||||
}
|
}
|
||||||
.widget-descr-gray-left {
|
.widget-descr-gray-left {
|
||||||
@apply content-center pr-4 block text-gray-500 font-bold md:text-left;
|
@apply content-center pr-4 block text-gray-500 font-bold md:text-left;
|
||||||
|
|||||||
@@ -13,14 +13,14 @@
|
|||||||
|
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="card-items">
|
<div class="card-items">
|
||||||
<div class="w-full md:w-2/3 lg:w-2/3 2xl:w-2/3">
|
<div class="md:w-2/3 lg:w-2/3 2xl:w-2/3">
|
||||||
<!-- svelte-ignore a11y-label-has-associated-control -->
|
<!-- svelte-ignore a11y-label-has-associated-control -->
|
||||||
<label class="widget-descr-gray-left">{!descr ? "" : descr}</label>
|
<label class="widget-descr-gray-left">{!descr ? "" : descr}</label>
|
||||||
</div>
|
</div>
|
||||||
<div class="w-full md:w-1/3 lg:w-1/3 2xl:w-1/3">
|
<div class="md:w-1/3 lg:w-1/3 2xl:w-1/3">
|
||||||
<!-- on:change={WSpush(ws, topic, value)} -->
|
<!-- on:change={WSpush(ws, topic, value)} -->
|
||||||
{#if type == "number"}
|
{#if type == "number"}
|
||||||
<input class="widget-input-indigo text-right md:w-24 lg:w-24 2xl:w-24" step="0.1" on:change={WSpush(ws, topic, value)} bind:value type="number" />
|
<input class="widget-input-indigo text-right" step="0.1" on:change={WSpush(ws, topic, value)} bind:value type="number" />
|
||||||
{/if}
|
{/if}
|
||||||
{#if type == "text"}
|
{#if type == "text"}
|
||||||
<input class="widget-input-indigo text-right" on:change={WSpush(ws, topic, value)} bind:value type="text" />
|
<input class="widget-input-indigo text-right" on:change={WSpush(ws, topic, value)} bind:value type="text" />
|
||||||
@@ -29,7 +29,7 @@
|
|||||||
<input class="widget-input-indigo text-right" on:change={WSpush(ws, topic, value)} bind:value type="date" />
|
<input class="widget-input-indigo text-right" on:change={WSpush(ws, topic, value)} bind:value type="date" />
|
||||||
{/if}
|
{/if}
|
||||||
{#if type == "time"}
|
{#if type == "time"}
|
||||||
<input class="widget-input-indigo text-right md:w-24 lg:w-24 2xl:w-24" on:change={WSpush(ws, topic, value)} bind:value type="time" />
|
<input class="widget-input-indigo text-right" on:change={WSpush(ws, topic, value)} bind:value type="time" />
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user