diff --git a/Frontend/_sysSensor.html b/Frontend/_sysSensor.html new file mode 100644 index 0000000..4954ac4 --- /dev/null +++ b/Frontend/_sysSensor.html @@ -0,0 +1,555 @@ + + +
+
+ +
+
+ +
+
+ + + + + \ No newline at end of file diff --git a/Frontend/index.html b/Frontend/index.html index 95db2ec..63327e8 100644 --- a/Frontend/index.html +++ b/Frontend/index.html @@ -198,7 +198,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li `; } }); @@ -1626,6 +1626,10 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li if (subSysObj.sub_system_tag == "EL") { page = "sysElevator"; } + console.log(subSysObj.sub_system_tag) + if (subSysObj.sub_system_tag == "M12") { + page = "sysSensor"; + } let li = creEle("li"); let a = creA(subSysObj.full_name, { "href": "javascript:;" }, [], `subSysBtn${subSysObj.sub_system_tag}`, { page: page, tabname: "systemMonitor" }, "topFunBtn"); @@ -1668,10 +1672,10 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li } else { let datas = res.data; - + } - }, null, "POST",true).send(); + }, null, "POST", true).send(); } function getAlarm() { @@ -1696,7 +1700,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li datas[idx].full_name = allDevices.filter(x => x.device_number == data.devicePath)[0]?.full_name; let div1 = creDiv(["col-12"]); - let button = creBtn("確認", "noticeChkBtn", null, ["btn btn-sm btn-secondary ml-auto col-4"], {uuid:data.uuid}); + let button = creBtn("確認", "noticeChkBtn", null, ["btn btn-sm btn-secondary ml-auto col-4"], { uuid: data.uuid }); let btnDiv = creDiv(["d-flex m-0 gap-5 mt-2"]); btnDiv.append(button); // 繪製 每行告警資訊 @@ -1732,7 +1736,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li function getAllDevice() { let url = baseApiUrl + "/api/Device/GetAllDevice"; let result = []; - + ytAjax = new YourTeam.Ajax(url, null, function (res) { if (!res || res.code != "0000" || !res.data) { @@ -1783,7 +1787,7 @@ License: You must have a valid license purchased only from wrapbootstrap.com (li }) localStorage.setItem("noticeStatus", "hide"); } - + } diff --git a/Frontend/lib/skins/skin-master.css b/Frontend/lib/skins/skin-master.css index d8e6611..56b7f03 100644 --- a/Frontend/lib/skins/skin-master.css +++ b/Frontend/lib/skins/skin-master.css @@ -301,8 +301,9 @@ body:not(.mod-skin-light):not(.mod-skin-dark) #skin-default:before { color: #bdbdbd; } .mod-skin-dark:not(.mod-skin-light) .page-content-wrapper a:not(.btn):not(.badge):not(.dropdown-item):not(.nav-link):not(.navbar-brand):not(.card-title):not([class*="fc-"]):not([class*="text-"]):not(.btn-search-close), .mod-skin-dark:not(.mod-skin-light) .modal-body a:not(.btn):not(.badge):not(.dropdown-item):not(.nav-link):not(.page-link):not(.navbar-brand):not(.card-title) { - color: #ffffff; - /*color: var(--theme-primary-200);*/ } + /*color: #ffffff;*/ + color: var(--theme-primary-200); + } .mod-skin-dark:not(.mod-skin-light) .text-success { color: var(--theme-success-300) !important; } .mod-skin-dark:not(.mod-skin-light) .text-danger {