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} - + + + + + {/each} @@ -646,7 +650,7 @@
Тип ПодтипВиджет Вкладка НазваниеОстальноеУдалить +
{element.type}{element.subtype}
- + @@ -654,13 +658,13 @@ - + {#each deviceList as device} - + {/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 {
Название устройства IP адресСостояние
{device.name} {device.ip} {device.id}{device.status ? "online" : "offline"}{device.status ? "online" : "offline"}