последний веб

This commit is contained in:
Dmitry Borisenko
2022-09-15 12:22:39 +02:00
parent 27f5647e35
commit 6d49e7181e
6 changed files with 9 additions and 7 deletions

View File

@@ -4,7 +4,7 @@
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>IoT Manager 4.2.8</title>
<title>IoT Manager 4.2.9</title>
<link rel="icon" type="image/png" href="/favicon.ico" />
<link rel="stylesheet" href="/build/bundle.css" />

View File

@@ -44,7 +44,7 @@
//****************************************************variable section**********************************************************/
//******************************************************************************************************************************/
let myip = document.location.hostname;
if (devMode) myip = "192.168.1.117";
if (devMode) myip = "192.168.1.116";
//Flags
let firstDevListRequest = true;
@@ -611,7 +611,7 @@
}
function cleanLogs() {
wsSendMsg(selectedWs, "/clean1|");
wsSendMsg(selectedWs, "/clean|");
}
function saveMqtt() {

View File

@@ -22,7 +22,7 @@
@apply w-full mt-4 p-2 sm:p-2 md:p-2 lg:p-2 xl:px-4 xl:py-4 2xl:px-4 2xl:py-4 bg-white shadow-md lg:shadow-lg border border-gray-200 rounded-lg;
}
.crd-hdr {
@apply text-center text-lg text-gray-500 font-bold pb-4;
@apply text-center text-lg text-gray-500 font-bold pb-2;
}
}
</style>

View File

@@ -17,7 +17,7 @@
{#if show}
<div class="grd-3col1">
{#if !layoutJson}
{#if layoutJson === []}
<Card title={"Ваша панель управления пуста, вначале добавьте новые элементы в конфигураторе!"} />
{/if}
{#each pages as pagesName, p}

View File

@@ -318,7 +318,7 @@
<Card title="Лог" class="z-50">
<div class="h-80 overflow-y-auto">
{#each coreMessages as message, i}
<div class={message.msg.toString().includes("[E]") ? "text-xs text-red-500" : "text-xs text-black"}>{message.msg}</div>
<div class={message.msg.toString().includes("[E]") || message.msg.toString().includes("[!]") ? "text-xs text-red-500" : "text-xs text-black"}>{message.msg}</div>
{/each}
</div>
</Card>

View File

@@ -100,4 +100,6 @@
<!-- svelte-ignore a11y-label-has-associated-control -->
<label class="inline-block italic align-top text-center text-gray-500 txt-sz">{!widget.descr ? "" : widget.descr}</label>
</div>
<Chart data={datachart} type="line" lineOptions={lineOptions} axisOptions={axisOptions} />
<div hight="200">
<Chart data={datachart} type="line" lineOptions={lineOptions} axisOptions={axisOptions} />
</div>