diff --git a/status.html b/status.html index a17fde1..e9d4a1d 100644 --- a/status.html +++ b/status.html @@ -55,6 +55,11 @@ visibility: visible !important; transform: none !important; } + + canvas { + width: 100% !important; + height: 300px !important; + } @@ -139,9 +144,12 @@

0

-

Docker Network Traffic

- -

Minecraft Containers (Sorted by CPU)

+
+

Docker Network Traffic

+
+ +
+

Minecraft Containers (Sorted by CPU)

@@ -179,19 +187,19 @@

CPU Usage

- +

RAM Usage

- +

Network Traffic

- +

Disk I/O

- +
@@ -222,15 +230,15 @@

CPU Usage

- +

Network Traffic

- +

Disk I/O

- +
@@ -306,14 +314,15 @@ const commonOptions = { responsive: true, + maintainAspectRatio: false, animation: { duration: 500, easing: 'linear' }, scales: { - y: { beginAtZero: true, grid: { color: 'rgba(255,255,255,0.1)' } }, - x: { grid: { display: false } } + y: { beginAtZero: true, grid: { color: 'rgba(255,255,255,0.1)' }, ticks: { color: '#e5e7eb' } }, + x: { grid: { display: false }, ticks: { color: '#e5e7eb' } } }, plugins: { tooltip: { mode: 'index', intersect: false }, - legend: { labels: { color: '#e5e7eb' } } + legend: { display: true, position: 'top', labels: { color: '#e5e7eb' } } } }; @@ -347,8 +356,8 @@ data: { labels: [], datasets: [ - { label: 'User (%)', data: [], borderColor: '#38bdf8', fill: false, tension: 0.3 }, - { label: 'System (%)', data: [], borderColor: '#fb7185', fill: false, tension: 0.3 } + { label: 'User (%)', data: [], borderColor: '#38bdf8', borderWidth: 2, fill: false, tension: 0 }, + { label: 'System (%)', data: [], borderColor: '#fb7185', borderWidth: 2, fill: false, tension: 0 } ] }, options: { @@ -369,8 +378,8 @@ data: { labels: [], datasets: [ - { label: 'Used (MB)', data: [], borderColor: '#38bdf8', fill: false, tension: 0.3 }, - { label: 'Free (MB)', data: [], borderColor: '#fb7185', fill: false, tension: 0.3 } + { label: 'Used (MB)', data: [], borderColor: '#38bdf8', borderWidth: 2, fill: false, tension: 0 }, + { label: 'Free (MB)', data: [], borderColor: '#fb7185', borderWidth: 2, fill: false, tension: 0 } ] }, options: { @@ -415,8 +424,8 @@ data: { labels: [], datasets: [ - { label: 'Read', data: [], borderColor: '#38bdf8', fill: false, tension: 0.3 }, - { label: 'Write', data: [], borderColor: '#fb7185', fill: false, tension: 0.3 } + { label: 'Read', data: [], borderColor: '#38bdf8', borderWidth: 2, fill: false, tension: 0 }, + { label: 'Write', data: [], borderColor: '#fb7185', borderWidth: 2, fill: false, tension: 0 } ] }, options: { @@ -436,8 +445,8 @@ data: { labels: [], datasets: [ - { label: 'User (%)', data: [], borderColor: '#38bdf8', fill: false, tension: 0.3 }, - { label: 'System (%)', data: [], borderColor: '#fb7185', fill: false, tension: 0.3 } + { label: 'User (%)', data: [], borderColor: '#38bdf8', borderWidth: 2, fill: false, tension: 0 }, + { label: 'System (%)', data: [], borderColor: '#fb7185', borderWidth: 2, fill: false, tension: 0 } ] }, options: { @@ -483,8 +492,8 @@ data: { labels: [], datasets: [ - { label: 'Read', data: [], borderColor: '#38bdf8', fill: false, tension: 0.3 }, - { label: 'Write', data: [], borderColor: '#fb7185', fill: false, tension: 0.3 } + { label: 'Read', data: [], borderColor: '#38bdf8', borderWidth: 2, fill: false, tension: 0 }, + { label: 'Write', data: [], borderColor: '#fb7185', borderWidth: 2, fill: false, tension: 0 } ] }, options: {