Add well classes to system info

This commit is contained in:
Annabel Dunstone Gray 2018-05-14 15:21:11 -07:00
parent 15cdc8bfc8
commit f107184be3
No known key found for this signature in database
GPG key ID: 7C8C78A372AD7A2D

View file

@ -5,7 +5,7 @@
.prepend-top-default
.row
.col-sm-4
.card.bg-light
.card.bg-light.light-well
%h4 CPU
.data
- if @cpus
@ -14,7 +14,7 @@
= icon('warning', class: 'text-warning')
Unable to collect CPU info
.col-sm-4
.card.bg-light
.card.bg-light.light-well
%h4 Memory Usage
.data
- if @memory
@ -23,7 +23,7 @@
= icon('warning', class: 'text-warning')
Unable to collect memory info
.col-sm-4
.card.bg-light
.card.bg-light.light-well
%h4 Disk Usage
.data
- @disks.each do |disk|
@ -31,7 +31,7 @@
%p= disk[:disk_name]
%p= disk[:mount_path]
.col-sm-4
.card.bg-light
.card.bg-light.light-well
%h4 Uptime
.data
%h1= distance_of_time_in_words_to_now(Rails.application.config.booted_at)