diff --git a/Frontend/_sysElevator.html b/Frontend/_sysElevator.html index 00fb4f1..5d206ab 100644 --- a/Frontend/_sysElevator.html +++ b/Frontend/_sysElevator.html @@ -981,7 +981,7 @@ subDeviceSetEleManNotSerFloor(master); }); myBaja.setSubscribeDeviceEndCallBack(function (data) { - + let devNumArr = data.map(x => { return { devNum: x.device_number_full, priority: allDevList.filter(y => y.device_number == x.device_number_full)[0]?.priority } }).DistinctBy("devNum"); devNumArr = devNumArr.oSort("priority"); $.each(devNumArr, (idx, devObj) => { @@ -1032,6 +1032,7 @@ }) reloadEleManTable(setEleManTabDataFromBaja()); + $(loadEle).Loading("close"); }) } diff --git a/Frontend/css/site.css b/Frontend/css/site.css index 223a160..974af21 100644 --- a/Frontend/css/site.css +++ b/Frontend/css/site.css @@ -103,6 +103,7 @@ input.toggle:checked { .loading-bg { background: #0000009c; background-repeat: no-repeat; + opacity:0; width: 100%; height: 100vh; position: fixed; diff --git a/Frontend/css/yourteam/plugins/yt-alert/ytpop-alert.css b/Frontend/css/yourteam/plugins/yt-alert/ytpop-alert.css new file mode 100644 index 0000000..4191e84 --- /dev/null +++ b/Frontend/css/yourteam/plugins/yt-alert/ytpop-alert.css @@ -0,0 +1,26 @@ +.alert[id^=success-alert] { + background-color: #3AB14D; +} + +.alert[id^=danger-alert] { + background-color: #dc3545; +} + +.alert[id^=tip-alert] { + background-color: #498ae5; +} + +.yt-alert { + display: none; + position: fixed; + z-index: 3000; + bottom: 2%; + right: 2%; + width: 300px; + background-color: #dc3545; + color: white; + border-radius:5px; + display: flex; + align-items: center; + gap: 7px; +} diff --git a/Frontend/index.html b/Frontend/index.html index a46863a..ebed679 100644 --- a/Frontend/index.html +++ b/Frontend/index.html @@ -33,10 +33,12 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li + + @@ -1496,7 +1498,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li