From c0d7d2dd2c9e919deeed07afa25a08c9c374e927 Mon Sep 17 00:00:00 2001
From: Dmitry Borisenko <49808844+DmitryBorisenko33@users.noreply.github.com>
Date: Sat, 25 Dec 2021 23:13:15 +0100
Subject: [PATCH] =?UTF-8?q?=D0=B8=D0=B7=D0=BC=D0=B5=D0=BD=D0=B8=D0=BB=20?=
=?UTF-8?q?=D1=81=D1=82=D0=B8=D0=BB=D0=B8=20=D1=82=D0=B0=D0=B1=D0=BB=D0=B8?=
=?UTF-8?q?=D1=86=D1=8B?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/App.svelte | 33 +++++++++++++++++++++------------
1 file changed, 21 insertions(+), 12 deletions(-)
diff --git a/src/App.svelte b/src/App.svelte
index a2b8d77..fea8a69 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -594,7 +594,7 @@
-
+
| Тип |
Подтип |
@@ -602,15 +602,15 @@
Виджет |
Вкладка |
Название |
- Остальное |
- Удалить |
+ |
+ |
-
+
{#each config as element}
| {element.type} |
- |
+ {element.subtype} |
|
|
+ |
+ |
+ |
+ |
{/each}
@@ -646,7 +650,7 @@
-
+
| Название устройства |
IP адрес |
@@ -654,13 +658,13 @@
Состояние |
-
+
{#each deviceList as device}
| {device.name} |
{device.ip} |
{device.id} |
- {device.status ? "online" : "offline"} |
+ {device.status ? "online" : "offline"} |
{/each}
{#if showInput}
@@ -676,7 +680,9 @@
-
+
+
+
@@ -736,18 +742,21 @@
}
/*====================================================table=====================================================*/
.table-head-element {
- @apply border border-gray-300 text-center break-words w-1/4 text-gray-500 font-bold;
+ @apply px-2 py-2 text-center break-words text-gray-500 font-bold;
}
.table-body-element {
- @apply border border-gray-300 text-center break-words w-1/4;
+ @apply px-2 py-2 text-center break-words;
}
.table-input {
- @apply content-center bg-gray-100 appearance-none border-2 border-gray-200 w-full text-gray-700 leading-tight focus:outline-none focus:bg-white text-center focus:border-indigo-500;
+ @apply content-center h-8 bg-gray-50 focus:bg-white appearance-none border-2 border-gray-100 w-full text-gray-700 leading-tight focus:outline-none text-center focus:border-indigo-500;
}
/*====================================================buttons=====================================================*/
.long-button {
@apply flex justify-center break-words content-center bg-blue-100 hover:bg-blue-200 text-gray-500 font-bold h-8 w-full mt-4 border border-gray-300 rounded;
}
+ .table-button {
+ @apply flex justify-center content-center text-gray-500 font-bold w-10 h-8 border border-gray-300;
+ }
}
#menu__toggle {