system-dashboard-frontend 1.37.2 → 1.37.4
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
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
let ts = "";
|
|
7
7
|
if (entry.__REALTIME_TIMESTAMP !== undefined) {
|
|
8
8
|
const timestamp = new Date(parseInt(entry.__REALTIME_TIMESTAMP) / 1000);
|
|
9
|
-
ts += timestamp.toISOString();
|
|
9
|
+
ts += timestamp.toISOString().substring(0, 23);
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
const pid =
|
|
@@ -25,6 +25,14 @@
|
|
|
25
25
|
if (!message) message = "";
|
|
26
26
|
</script>
|
|
27
27
|
|
|
28
|
+
<div
|
|
29
|
+
class={highlight ? (follow ? "follow entry" : "highlight entry") : "entry"}
|
|
30
|
+
>
|
|
31
|
+
<span class="timestamp">{ts}</span>
|
|
32
|
+
<span class="pid">{pid}</span>
|
|
33
|
+
<span class="message {priority}">{message}</span>
|
|
34
|
+
</div>
|
|
35
|
+
|
|
28
36
|
<style>
|
|
29
37
|
.entry {
|
|
30
38
|
white-space: nowrap;
|
|
@@ -73,7 +81,7 @@
|
|
|
73
81
|
|
|
74
82
|
.timestamp {
|
|
75
83
|
display: inline-block;
|
|
76
|
-
width:
|
|
84
|
+
width: 23ch;
|
|
77
85
|
}
|
|
78
86
|
|
|
79
87
|
.pid {
|
|
@@ -85,9 +93,3 @@
|
|
|
85
93
|
display: inline-block;
|
|
86
94
|
}
|
|
87
95
|
</style>
|
|
88
|
-
|
|
89
|
-
<div class={highlight ? (follow ? 'follow entry' : 'highlight entry') : 'entry'}>
|
|
90
|
-
<span class="timestamp">{ts}</span>
|
|
91
|
-
<span class="pid">{pid}</span>
|
|
92
|
-
<span class="message {priority}">{message}</span>
|
|
93
|
-
</div>
|