sbd-npm 1.5.42 → 1.5.43
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/status.js +5 -3
package/package.json
CHANGED
package/status.js
CHANGED
|
@@ -196,7 +196,9 @@ $(function () {
|
|
|
196
196
|
let html = [], ip_num = 0;
|
|
197
197
|
j.data.forEach(function (item) {
|
|
198
198
|
ip_num++;
|
|
199
|
-
if (item.
|
|
199
|
+
if (item.type === 1) {
|
|
200
|
+
html.push("<tr class='success'>");
|
|
201
|
+
} else if (item.type === 2) {
|
|
200
202
|
html.push("<tr class='danger'>");
|
|
201
203
|
} else {
|
|
202
204
|
html.push("<tr>");
|
|
@@ -849,7 +851,7 @@ $(function () {
|
|
|
849
851
|
{"name": "物理内存", "table_sort": 1, "title": "Resident Set Size(常驻内存,进程实际占用的物理内存)"},
|
|
850
852
|
{"name": "启动命令"},
|
|
851
853
|
{"name": "创建时间", "class": "info", "table_sort": 1},
|
|
852
|
-
{"name": "操作", "id": "machine_action_log", "
|
|
854
|
+
{"name": "操作", "id": "machine_action_log", "title": "操作日志记录"}
|
|
853
855
|
]
|
|
854
856
|
});
|
|
855
857
|
Status.handle_machine_action_log();
|
|
@@ -1055,7 +1057,7 @@ $(function () {
|
|
|
1055
1057
|
if (machine_id) {
|
|
1056
1058
|
let info_object = $(this).find('span.label.label-info');
|
|
1057
1059
|
if (info_object.length) {
|
|
1058
|
-
Util.show_tips("[操作日志记录]
|
|
1060
|
+
Util.show_tips("[操作日志记录] 获取中", 4567, "alert-success");
|
|
1059
1061
|
} else {
|
|
1060
1062
|
let instruction = "screen_1_machine_action_log";
|
|
1061
1063
|
let success_object = $(this).find('span.label.label-success');
|