mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-03-31 04:19:29 +03:00
последний веб
This commit is contained in:
@@ -4,7 +4,7 @@
|
|||||||
<meta charset="utf-8" />
|
<meta charset="utf-8" />
|
||||||
<meta name="viewport" content="width=device-width,initial-scale=1" />
|
<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="icon" type="image/png" href="/favicon.ico" />
|
||||||
<link rel="stylesheet" href="/build/bundle.css" />
|
<link rel="stylesheet" href="/build/bundle.css" />
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
//****************************************************variable section**********************************************************/
|
//****************************************************variable section**********************************************************/
|
||||||
//******************************************************************************************************************************/
|
//******************************************************************************************************************************/
|
||||||
let myip = document.location.hostname;
|
let myip = document.location.hostname;
|
||||||
if (devMode) myip = "192.168.1.117";
|
if (devMode) myip = "192.168.1.116";
|
||||||
|
|
||||||
//Flags
|
//Flags
|
||||||
let firstDevListRequest = true;
|
let firstDevListRequest = true;
|
||||||
@@ -611,7 +611,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
function cleanLogs() {
|
function cleanLogs() {
|
||||||
wsSendMsg(selectedWs, "/clean1|");
|
wsSendMsg(selectedWs, "/clean|");
|
||||||
}
|
}
|
||||||
|
|
||||||
function saveMqtt() {
|
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;
|
@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 {
|
.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>
|
</style>
|
||||||
|
|||||||
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
{#if show}
|
{#if show}
|
||||||
<div class="grd-3col1">
|
<div class="grd-3col1">
|
||||||
{#if !layoutJson}
|
{#if layoutJson === []}
|
||||||
<Card title={"Ваша панель управления пуста, вначале добавьте новые элементы в конфигураторе!"} />
|
<Card title={"Ваша панель управления пуста, вначале добавьте новые элементы в конфигураторе!"} />
|
||||||
{/if}
|
{/if}
|
||||||
{#each pages as pagesName, p}
|
{#each pages as pagesName, p}
|
||||||
|
|||||||
@@ -318,7 +318,7 @@
|
|||||||
<Card title="Лог" class="z-50">
|
<Card title="Лог" class="z-50">
|
||||||
<div class="h-80 overflow-y-auto">
|
<div class="h-80 overflow-y-auto">
|
||||||
{#each coreMessages as message, i}
|
{#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}
|
{/each}
|
||||||
</div>
|
</div>
|
||||||
</Card>
|
</Card>
|
||||||
|
|||||||
@@ -100,4 +100,6 @@
|
|||||||
<!-- svelte-ignore a11y-label-has-associated-control -->
|
<!-- 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>
|
<label class="inline-block italic align-top text-center text-gray-500 txt-sz">{!widget.descr ? "" : widget.descr}</label>
|
||||||
</div>
|
</div>
|
||||||
|
<div hight="200">
|
||||||
<Chart data={datachart} type="line" lineOptions={lineOptions} axisOptions={axisOptions} />
|
<Chart data={datachart} type="line" lineOptions={lineOptions} axisOptions={axisOptions} />
|
||||||
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user