mirror of
https://github.com/IoTManagerProject/IoTManagerWeb.git
synced 2026-03-26 23:12:34 +03:00
package update
This commit is contained in:
@@ -33,19 +33,19 @@
|
||||
//******************************************************************************************************************************/
|
||||
const debug = true;
|
||||
const LOG_MAX_MESSAGES = 100;
|
||||
const reconnectTimeout = 30000;
|
||||
const waitingAckTimeout = 6000;
|
||||
const reconnectTimeout = 120000; //период проверки соединения с устройством
|
||||
const waitingAckTimeout = 18000; //время ожидания ответа от устройства
|
||||
const rebootingTimeout = 20000;
|
||||
const updatingTimeout = 130000;
|
||||
let opened = false;
|
||||
let preventMove = false;
|
||||
const blobDebug = false;
|
||||
const devMode = false;
|
||||
const devMode = true;
|
||||
|
||||
//****************************************************variable section**********************************************************/
|
||||
//******************************************************************************************************************************/
|
||||
let myip = document.location.hostname;
|
||||
if (devMode) myip = "192.168.88.229";
|
||||
if (devMode) myip = "192.168.88.238";
|
||||
|
||||
//Flags
|
||||
let firstDevListRequest = true;
|
||||
@@ -53,7 +53,7 @@
|
||||
let showModalFlag = false;
|
||||
|
||||
let rebootingUpdatingInProgress = false;
|
||||
const myTimeout = undefined;
|
||||
let myTimeout = undefined;
|
||||
|
||||
//dashboard
|
||||
let pages = [];
|
||||
@@ -1372,9 +1372,12 @@
|
||||
.grd-3col1 {
|
||||
@apply grid gap-4 grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-3 2xl:grid-cols-3 justify-items-center;
|
||||
}
|
||||
.grd-4col1 {
|
||||
@apply grid gap-4 grid-cols-1 sm:grid-cols-2 lg:grid-cols-3 xl:grid-cols-4 2xl:grid-cols-4 justify-items-center;
|
||||
}
|
||||
/*=============================================card and items inside===============================================*/
|
||||
.crd-itm-psn {
|
||||
@apply flex mb-2 h-8 items-center;
|
||||
@apply flex mb-2 h-6 items-center;
|
||||
}
|
||||
.wgt-dscr-stl {
|
||||
@apply pr-4 text-gray-500 font-bold;
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
@layer components {
|
||||
.crd {
|
||||
@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 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-2;
|
||||
|
||||
@@ -40,6 +40,7 @@
|
||||
<Card title={"Ваша панель управления пуста, вначале добавьте новые элементы в конфигураторе!"} />
|
||||
{/if}
|
||||
</div>
|
||||
<div class="my-4">
|
||||
<div class="grd-3col1">
|
||||
{#each pages as pagesName, p}
|
||||
<Card title={pagesName.page}>
|
||||
@@ -65,6 +66,7 @@
|
||||
</Card>
|
||||
{/each}
|
||||
</div>
|
||||
</div>
|
||||
{:else}
|
||||
<Alarm title="Загрузка..." />
|
||||
{/if}
|
||||
|
||||
Reference in New Issue
Block a user