diff --git a/webapp/frontend/src/app/modules/admin/dashboard/dashboard.component.html b/webapp/frontend/src/app/modules/admin/dashboard/dashboard.component.html index 1b98369..3d8fb0f 100644 --- a/webapp/frontend/src/app/modules/admin/dashboard/dashboard.component.html +++ b/webapp/frontend/src/app/modules/admin/dashboard/dashboard.component.html @@ -1,146 +1,164 @@ -
+
+
-
- -
-
-

Dashboard

-
Drive health at a glance
-
- -
- - +
- -
-
-
+
-
-
-
- - -
-
-
- /dev/{{disk.device_name}} - {{disk.model_name}} -
- Last Updated on {{disk.smart_results[0]?.date | date:'MMMM dd, yyyy' }} -
+
+
+
+ +
-
- - - +
+
+ /dev/{{disk.device_name}} - {{disk.model_name}} +
+ Last Updated on {{disk.smart_results[0]?.date | date:'MMMM dd, yyyy' }} +
+
+
+ + + View Details - - -
-
-
-
-
S.M.A.R.T
-
{{ disk.smart_results[0]?.smart_status | titlecase}}
-
-
-
Temperature
-
{{ disk.smart_results[0]?.temp }}°C
-
-
-
Capacity
-
{{ disk.capacity | fileSize}}
+ + +
-
-
Powered On
-
{{ humanizeHours(disk.smart_results[0]?.power_on_hours) }}
+
+
+
S.M.A.R.T
+
{{ disk.smart_results[0]?.smart_status | titlecase}}
+
+
+
Temperature
+
{{ disk.smart_results[0]?.temp }}°C
+
+
+
Capacity
+
{{ disk.capacity | fileSize}}
+
+
+
Powered On
+
{{ humanizeHours(disk.smart_results[0]?.power_on_hours) }}
+
-
- -
-
-
-
-
-
Temperature
-
Temperature history for each device
-
-
- - - - - - - + +
+
+
+
+
+
Temperature
+
Temperature history for each device
+
+
+ + + + + + + +
-
-
-
- +
+
+ +
+
-
+ + +
+ + +

No Devices Detected!

+

Scrutiny includes a Collector agent that you must run on all of your systems. The Collector is responsible for detecting connected storage devices and collecting S.M.A.R.T data on a configurable schedule.

+ +


You can trigger the Collector manually by running the following command, then refreshing this page:

+ scrutiny-collector-metrics run + +
+ + +
diff --git a/webapp/frontend/src/app/modules/admin/dashboard/dashboard.component.scss b/webapp/frontend/src/app/modules/admin/dashboard/dashboard.component.scss index 2fa12a6..7579cb6 100644 --- a/webapp/frontend/src/app/modules/admin/dashboard/dashboard.component.scss +++ b/webapp/frontend/src/app/modules/admin/dashboard/dashboard.component.scss @@ -20,3 +20,13 @@ example { } } + +.dashboard-placeholder { + align-items: center; + justify-content: center; + padding: 32px; + + img { + max-width:500px; + } +} diff --git a/webapp/frontend/src/assets/images/dashboard-placeholder.png b/webapp/frontend/src/assets/images/dashboard-placeholder.png new file mode 100644 index 0000000..4126848 Binary files /dev/null and b/webapp/frontend/src/assets/images/dashboard-placeholder.png differ