mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-03-26 15:02:21 +03:00
последний веб
This commit is contained in:
@@ -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" />
|
||||
|
||||
@@ -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() {
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
{#if show}
|
||||
<div class="grd-3col1">
|
||||
{#if !layoutJson}
|
||||
{#if layoutJson === []}
|
||||
<Card title={"Ваша панель управления пуста, вначале добавьте новые элементы в конфигураторе!"} />
|
||||
{/if}
|
||||
{#each pages as pagesName, p}
|
||||
|
||||
@@ -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>
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user