mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-03-26 15:02:21 +03:00
last
This commit is contained in:
@@ -171,7 +171,7 @@
|
||||
@apply text-center text-lg text-gray-500 font-bold pb-6;
|
||||
}
|
||||
.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 {
|
||||
@apply content-center pr-4 block text-gray-500 font-bold md:text-left;
|
||||
|
||||
@@ -13,14 +13,14 @@
|
||||
|
||||
<div class="container">
|
||||
<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 -->
|
||||
<label class="widget-descr-gray-left">{!descr ? "" : descr}</label>
|
||||
</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)} -->
|
||||
{#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 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" />
|
||||
{/if}
|
||||
{#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}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user